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";
}
-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(F
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 rega
On 13 May 2010 10:08, Lawrance Shepstone 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 of this syntax because
>
On 13 May 2010 10:08, Lawrance Shepstone 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 of this syntax because
>
If $message_body contains:
$message_body="You are subscribed using u...@domain. To update";
How do I capture just the e-mail address?
Ron
Check this out. http://www.regular-expressions.info/email.html
---
“Talk is cheap. Show me the code” - Linus Torvalds
On Thu, May 13, 2010 at 7:34 AM, Ron Piggott wrote:
>
> If $message_body contains:
>
> $message_body="You are subscribed using u...@domain. To update";
>
> How do I capture jus
-Original Message-
From: Ron Piggott [mailto:ron.pigg...@actsministries.org]
Sent: 13 May 2010 06:34 AM
To: PHP General
Subject: [PHP] Parse question
If $message_body contains:
$message_body="You are subscribed using u...@domain. To update";
How do I capture just the e-mail address?
R
hi all,
I want to create an array from another array to create json file in my
format and pass it to a js libraryok.
I just know that I have to use recursive function... but how? it's hard for
me to create the new array..
main array:
Array
(
[0] => Array
(
[nid] => 1
On 13 May 2010 09:51, shahrzad khorrami wrote:
> hi all,
>
> I want to create an array from another array to create json file in my
> format and pass it to a js libraryok.
> I just know that I have to use recursive function... but how? it's hard for
> me to create the new array..
Assuming tha
On 13 May 2010 11:09, Richard Quadling wrote:
> On 13 May 2010 09:51, shahrzad khorrami wrote:
>> hi all,
>>
>> I want to create an array from another array to create json file in my
>> format and pass it to a js libraryok.
>> I just know that I have to use recursive function... but how? it's
Thanks Rechard :) I'm testing it... merccc
Dear Richard,
we have more than one parentID with value 0 in main array, your
code is so good but show me just the children of first parentID 0.
:)
Thanks,
Shahrzad
On 13 May 2010 11:42, shahrzad khorrami wrote:
>
> Dear Richard,
> we have more than one parentID with value 0 in main array, your
> code is so good but show me just the children of first parentID 0.
>
> :)
>
> Thanks,
> Shahrzad
>
print_r($Data[0]['children']);
maybe.
--
-
Richa
At 4:51 AM +0200 5/13/10, Michelle Konzack wrote:
Hello,
while reading RFC3490 (plus 3454/3491/3492) and before I am ongoing to
reinvent the wheel here the question:
Does someone HAVE or know a function/class which
does the IDN conversion "toASCII" and "toUNICODE"?
Note: The C Sour
At 6:40 PM -0500 5/12/10, Karl DeSaulniers wrote:
Hi Alex,
I have a php file I made just a few months ago.
It takes a gif, jpeg or png of any size and sizes it proportionately
to a specified size and then outputs a png.
If the image is a transparent png or transparent gif, it will still
hold th
Hello,
I want to open an external link in a new window, i know i can do this
with xhtml, but only with the transitional dtd, which i'm not using. I
was wondering if php could pull this off?
Thanks.
Dave.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
On Thu, 2010-05-13 at 17:13 -0400, David Mehler wrote:
> Hello,
> I want to open an external link in a new window, i know i can do this
> with xhtml, but only with the transitional dtd, which i'm not using. I
> was wondering if php could pull this off?
> Thanks.
> Dave.
>
No. PHP is on the serv
Hey tedd,
Sorry bout that.. here you go.
http://designdrumm.com/upload_images_test.zip
Karl
On May 13, 2010, at 9:06 AM, tedd wrote:
At 6:40 PM -0500 5/12/10, Karl DeSaulniers wrote:
Hi Alex,
I have a php file I made just a few months ago.
It takes a gif, jpeg or png of any size and sizes i
Hi Ash,
Thanks for your suggestion. I think this is where my confusion is. I
understand how to use imagecolorallocatealpha() to for example create a 50%
transparant colour, and apply it to a new rectangle for example.
I dont understand how to "apply" it to a new source image, for example
$src = i
Hi,
I am trying to create a news feed page that loads a number of different feeds
depending on what options the user selects. For some reason, I could not figure
out how to get the dom document to "append" the different xml documents that
get created.
Below is the code, and obviously now
On Thu, May 13, 2010 at 5:46 PM, Alice Wei wrote:
>
> Hi,
>
> I am trying to create a news feed page that loads a number of different
> feeds depending on what options the user selects. For some reason, I could
> not figure out how to get the dom document to "append" the different xml
> document
Date: Thu, 13 May 2010 18:49:35 -0600
Subject: Re: [PHP] Append Dom Document
From: quickshif...@gmail.com
To: aj...@alumni.iu.edu
CC: php-general@lists.php.net
On Thu, May 13, 2010 at 5:46 PM, Alice Wei wrote:
Hi,
I am trying to create a news feed page that loads a number of different
Hello All,
I am trying to figure out how to create files when a user submits a form ...
I have seen something about '*fopen*' , is that the direction I should
be going?
Here is what I am trying to accomplish:
I am creating a program to keep track of recipes for my wife. I have
have page set
On Thu, 2010-05-13 at 23:07 -0400, Kevin wrote:
> Hello All,
>
> I am trying to figure out how to create files when a user submits a form ...
> I have seen something about '*fopen*' , is that the direction I should
> be going?
>
> Here is what I am trying to accomplish:
>
> I am creating a pro
Ashley Sheridan wrote:
On Thu, 2010-05-13 at 23:07 -0400, Kevin wrote:
Hello All,
I am trying to figure out how to create files when a user submits a form ...
I have seen something about '*fopen*' , is that the direction I should
be going?
Here is what I am trying to accomplish:
I am creati
>
> I am not sure what you mean in your second point, but I can explain the
> first one. I am using PHP to parse RSS feeds, so that is why they all look
> the same.
>
wow thats hilarious, you can see how little ive worked w/ rss feeds, read
*none*
> Or, what do you mean here? I checked out your
On Thu, May 13, 2010 at 11:53:54PM -0400, Kevin wrote:
> /On a side note:
> I am having some issues with connecting to a SQLite database right now
> ... I'm getting the following error "Fatal Error: 'sqlite_open' is an
> unknown function"
> But I'm putting that on the side right now.
I think th
28 matches
Mail list logo