[PHP] stristr query trouble

2010-05-13 Thread Ron Piggott
I am not understanding why 'true' isn't the result of this syntax because $subjects equals: $subjects = Delivery Status Notification(Failure); Here is my syntax: if ( stristr( $subjects, Delivery Status Notifcation(Failure) ) ) { $TIRSFlag = true; echo true; }

RE: [PHP] stristr query trouble

2010-05-13 Thread Lawrance Shepstone
-Original Message- From: Ron Piggott [mailto:ron@actsministries.org] Sent: 13 May 2010 06:02 AM To: PHP General Subject: [PHP] stristr query trouble I am not understanding why 'true' isn't the result of this syntax because $subjects equals: $subjects = Delivery Status Notification

Re: [PHP] stristr query trouble

2010-05-13 Thread Warren Windvogel
Ron Piggott wrote: $subjects = Delivery Status Notification(Failure); Here is my syntax: if ( stristr( $subjects, Delivery Status Notifcation(Failure) ) ) { Notification is misspelled. Next time copy and paste the comparison string or use regular expressions to be more safe. Kind regards

Re: [PHP] stristr query trouble

2010-05-13 Thread Peter Lind
On 13 May 2010 10:08, Lawrance Shepstone p...@digitalvoice.co.za wrote: -Original Message- From: Ron Piggott [mailto:ron@actsministries.org] Sent: 13 May 2010 06:02 AM To: PHP General Subject: [PHP] stristr query trouble I am not understanding why 'true' isn't the result

RE: [PHP] stristr query trouble

2010-05-13 Thread Lawrance Shepstone
On 13 May 2010 10:08, Lawrance Shepstone p...@digitalvoice.co.za wrote: -Original Message- From: Ron Piggott [mailto:ron@actsministries.org] Sent: 13 May 2010 06:02 AM To: PHP General Subject: [PHP] stristr query trouble I am not understanding why 'true' isn't the result

[PHP] stristr

2004-02-01 Thread Liam
I've been trying to make this error logger for hours now, I get my webserver to forward all errors to error.php?message=404 etc.. The source can be found here http://the-bronze.me.uk/ID/error.txt Now Im at my wits end, I want all errors that come internaly eg from the-bronze.me.uk to be put

Re: [PHP] stristr

2004-02-01 Thread Russell Shaw
Liam wrote: I've been trying to make this error logger for hours now, I get my webserver to forward all errors to error.php?message=404 etc.. The source can be found here http://the-bronze.me.uk/ID/error.txt Now Im at my wits end, I want all errors that come internaly eg from the-bronze.me.uk