php-general Digest 15 Dec 2009 13:44:52 - Issue 6489
Topics (messages 300506 through 300519):
Re: Class not functioning
300506 by: Nirmalya Lahiri
Re: PHP + ODBC
300507 by: James McLean
Re: MySQL Appeal from Monty
300508 by: Joseph Masoud
300509 by: Lester
Which one is more active than others? I mean which project extends
faster and better, in future?
On Tue, Dec 15, 2009 at 1:37 AM, Philip Thompson philthath...@gmail.com wrote:
On Dec 14, 2009, at 4:27 AM, Ali Asghar Toraby Parizy wrote:
Hi
I think the best choice is jquery until now.
But, is
On 15 Dec 2009, at 08:50, Ali Asghar Toraby Parizy aliasghar.tor...@gmail.com
wrote:
Which one is more active than others? I mean which project extends
faster and better, in future?
On Tue, Dec 15, 2009 at 1:37 AM, Philip Thompson philthath...@gmail.com
wrote:
On Dec 14, 2009, at 4:27 AM,
-- Forwarded message --
From: Randall Girard randallgir...@hotmail.com
Date: 2009/12/14
Subject: RE: [PHP] Re: ErrorException and set_exception_handler()
To: rquadl...@googlemail.com
I understood exactly what was going on in the code! (I'm no fool when
it comes to this) I just
This seems like a pretty basic question, but it has me stumped.
Here's my scenario: I'm using Douglas Crockford's JSON2.js to parse an
object in JavaScript, which I then pass to a PHP script to store in a
file. I use JSON.stringify() on the object, which logs to the console
as this:
Hi Guys Gals,
I've been playing around with PHP 5.3 for a while now on development servers
and servers solely used for start-ups and lower-profile apps. But now I'm
about to upgrade the servers for a high profile/high traffic website and
with this upgrade I'd also like to make the switch from
On Tue, 2009-12-15 at 02:53 +, Joseph Masoud wrote:
On 14 Dec 2009, at 22:01, Ashley Sheridan a...@ashleysheridan.co.uk
wrote:
On Mon, 2009-12-14 at 15:59 -0600, Philip Thompson wrote:
On Dec 14, 2009, at 12:51 AM, Lester Caine wrote:
Lenin wrote:
You might also like this:
On Tue, 2009-12-15 at 06:52 -0500, Andrew Burgess wrote:
This seems like a pretty basic question, but it has me stumped.
Here's my scenario: I'm using Douglas Crockford's JSON2.js to parse an
object in JavaScript, which I then pass to a PHP script to store in a
file. I use JSON.stringify()
-Original Message-
From: Ghodmode [mailto:ghodm...@ghodmode.com]
Sent: 15 December 2009 09:41 AM
To: php-general@lists.php.net
Subject: Re: [PHP] PHP live chat
I've played around with CraftySyntax LiveHelp, but I haven't deployed it
in a production environment. It definitely looks
http://www.livezilla.net/
-Mensagem original-
De: Angelo Zanetti [mailto:ang...@zlogic.co.za]
Enviada em: terça-feira, 15 de dezembro de 2009 09:59
Para: 'Ghodmode'; php-general@lists.php.net
Assunto: RE: [PHP] PHP live chat
-Original Message-
From: Ghodmode
On Mon, Dec 14, 2009 at 6:43 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
I'm looking for a way to strip HTML tags out of some text content
(sourced from a web page) to leave just the text which I'll be running
some basic analysis on. The thing is, I want to preserve text that is in
Ashley Sheridan wrote:
On Tue, 2009-12-15 at 06:52 -0500, Andrew Burgess wrote:
This seems like a pretty basic question, but it has me stumped.
Here's my scenario: I'm using Douglas Crockford's JSON2.js to parse an
object in JavaScript, which I then pass to a PHP script to store in a
file.
I've had quite some luck using the html2text class by Jon Abernathy
http://www.chuggnutt.com/html2text.php
It's targetted to php 4, and rather old code - but it does the job for me.
Where the 'job for me' is converting html to text for when I'm sending out
emails in HTML format and want to
If you don't have access to do this, look at stripslashes()
And if you absolutely want to be on the safe side - check* if the
magic_quotes option is enabled - if so; do stripslashes. If not - then
obviously don't.
* http://www.php.net/manual/en/function.get-magic-quotes-gpc.php
--
2009/10/16 Dotan Cohen dotanco...@gmail.com:
It's called vacation away from the 'net but there is an emergency. I'm
certain that a fair portion of the list is familiar with that!
I haven't the slightest idea what you are talking about. Vacation? Away
from the net? We must be from different
On Dec 14, 2009, at 8:47 PM, James McLean wrote:
On Tue, Dec 15, 2009 at 10:03 AM, Philip Thompson
philthath...@gmail.com wrote:
My head hurts from hitting it on my desk all day, so I thought I'd turn to a
fresher set of eyes. The issue I'm having is getting PHP to connect ODBC. I
can get
2009/10/16 Dotan Cohen dotanco...@gmail.com:
How would you read this out loud if you were to read it to someone
over the phone?
($item-getServiceId() ? $item-getServiceId() : $item-getId(;
Thanks!
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
--
PHP General
On Dec 15, 2009, at 3:12 AM, Joseph Masoud wrote:
On 15 Dec 2009, at 08:50, Ali Asghar Toraby Parizy
aliasghar.tor...@gmail.com wrote:
Which one is more active than others? I mean which project extends
faster and better, in future?
On Tue, Dec 15, 2009 at 1:37 AM, Philip Thompson
2009/12/14 Catherine Madsen cmad...@berkeley.edu:
Hi Again,
Following the suggestions I received from a earlier post, I've closed the
statement
while ($stmt-fetch(PDO::FETCH_BOUND))
before $stmt = NULL;
I don't get an error anymore, but still retrieve only one record.
To check that the
2009/12/15 Philip Thompson philthath...@gmail.com:
On Dec 14, 2009, at 8:47 PM, James McLean wrote:
On Tue, Dec 15, 2009 at 10:03 AM, Philip Thompson
philthath...@gmail.com wrote:
My head hurts from hitting it on my desk all day, so I thought I'd turn to
a fresher set of eyes. The issue I'm
On Tue, Dec 15, 2009 at 12:03:23PM +, Ashley Sheridan wrote:
snip
I've always been led to believe that you go with MySQL if you want
speed, Oracle if you want data integrity. I know they both handle each
one admirably, but Oracle is known more for guarding the data against
mishaps and
2009/12/14 Ashley Sheridan a...@ashleysheridan.co.uk
On Mon, 2009-12-14 at 17:03 +0200, Cafer Şimşek wrote:
René Fournier m...@renefournier.com writes:
On 2009-12-14, at 10:44 PM, Cafer Şimşek wrote:
René Fournier m...@renefournier.com writes:
4.as per php.ini,
Thanks guys; I've got it working now!
On Tue, Dec 15, 2009 at 9:54 AM, Wouter van Vliet / Interpotential
pub...@interpotential.com wrote:
If you don't have access to do this, look at stripslashes()
And if you absolutely want to be on the safe side - check* if the
magic_quotes option is
Ashley Sheridan wrote:
I'm looking for a way to strip HTML tags out of some text content
(sourced from a web page) to leave just the text which I'll be running
some basic analysis on. The thing is, I want to preserve text that is in
alt and title attributes. I can't use any DOM functions, as I
On Tue, Dec 15, 2009 at 6:44 AM, Wouter van Vliet / Interpotential
pub...@interpotential.com wrote:
And if that doesn't suit your needs - you might want to take a look at this:
http://sourceforge.net/projects/simplehtmldom/
+1
I've never used the html2text library, but simplehtmldom is very
Hey all (and Nirmalya, thanks for the help!),
I have a question that I just can't seem to find via Google.
I want to be able to add messages to a qeue whenever my classes complete (or
fail to complete) specific functions. I think have a call within my html to
my Notifier class to print all
Thank you so much for sending me in the right direction. I've
re-written the first part of the script using PDO statements and it
works great.
Catherine
Richard Quadling wrote:
2009/12/14 Catherine Madsen cmad...@berkeley.edu:
Hi Again,
Following the suggestions I received from a
Allen McCabe wrote:
Hey all (and Nirmalya, thanks for the help!),
I have a question that I just can't seem to find via Google.
I want to be able to add messages to a qeue whenever my classes complete (or
fail to complete) specific functions. I think have a call within my html to
my
Allen,
The short answer (but don't follow this):
?php
class Meetgreet {
public function deleteSingle($id, $number) {
// do something
global $Notify;
$Notify-addToQ( .. );
}
}
?
The long(er) answer:
I assume your Notifier object functions as singleton? Ie; accross your
Wouter,
Implementing your static idea was pretty easy, I was already referencing
Notifier with the :: operator in my other methods, however I am running into
trouble assigning new values to the static array.
I am getting a syntax error, unexpected '[' on this line of my Notifier
class:
Sorry, and then I didn't keep it on list :-(
Shawn McKenzie wrote:
Please reply to the list. Just google for php registry pattern. Here is a
very basic example. There are better OOP people here than I.
class Registry {
protected $_objects = array();
function set($name,
On 2009-12-15, at 11:55 PM, Richard Quadling wrote:
Do you have a default stream context defined for the http stream?
Nope.
A _LONG_ time ago, when I was using a firewall with NTLM
authentication (which PHP doesn't deal with), I had to route all my
calls through a local proxy.
This was
On 2009-12-15, at 11:55 PM, Richard Quadling wrote:
Do you have a default stream context defined for the http stream?
Nope.
A _LONG_ time ago, when I was using a firewall with NTLM
authentication (which PHP doesn't deal with), I had to route all my
calls through a local proxy.
This was
I'm not sure if you can use CSS alone to highlight, but if you can, just
give the area a class as you output it with PHP
That's the problem, area itself isn't visible, so giving a CSS class won't
highlight it.
--
View this message in context:
34 matches
Mail list logo