Re: [PHP-WIN] Print inside a variable

2005-05-10 Thread Maxwell Brodie
snippet you gave */ > if (isset($rss_channel["ITEMS"])) { > if (count($rss_channel["ITEMS"]) > 0) { > .. > print ("There are no articles in this feed."); > } > } > > $message = ob_get_contents(); > ?> > > Regards, > Yon

[PHP-WIN] Re: Print inside a variable

2005-05-10 Thread Maxwell Brodie
te) > > $myarray = array('fred','bob','jane'); > $msg = ''; > for ($i=0;$i$msg .= 'item '.(string)$i.' = '.$myarray[$i].''; > echo $msg; > > -- > Louis Solomon > www.SteelBytes.com > > "Maxwe

[PHP-WIN] Print inside a variable

2005-05-02 Thread Maxwell Brodie
Hello, I believe my problem is that I have to use the print funtion inside a variable, and I have no clue how to do that. For example, I need to get this: if (isset($rss_channel["ITEMS"])) { if (count($rss_channel["ITEMS"]) > 0) { for($i = 0;$i < count($rss_channel["ITEMS"]);$i++) { if (i

[PHP-WIN] Combinig 2 Variables into 1

2005-04-28 Thread Maxwell Brodie
Hello, Could someone help me out here, I am tryimg to make two variables into one for example: $to = 'server'; $subject = test; $message = $variable1, $variable2; $headers = 'From: webmaster@' . $_SERVER['SERVER_NAME'] . "\r\n" . 'Reply-To: webmaster@' . $_SERVER['SERVER_NAME'] . "\r

[PHP-WIN] Re: Get an RSS reader to E-Mail content

2005-04-26 Thread Maxwell Brodie
Hello, I am already using a desktop solution, but I like this script because I can call upon my feeds from anywhere in the world, but my next step would just be to add e-mail functionality. "Jason Barnett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > M

[PHP-WIN] Get an RSS reader to E-Mail content

2005-04-25 Thread Maxwell Brodie
Hello, I am using the following script to keep me up to date from any computer in the world that has web access, but I would like to get it to automatically E-mail the content to my E-mail adress, here is what I have so far. http://news.php.net/group.php?group=php.doc.tr&format=rss";; $rss_cha

Re: [PHP-WIN] Custom 404 Error Messages in PHP

2005-04-24 Thread Maxwell Brodie
It still doesn't work, I have made every error message there can possible be go to my error file, and it still comes up with "no input file specified" "Mike" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> This is my first post to ANY newsgroup ever, so forgive me if >> I do anyth

[PHP-WIN] Re: How do I get php to repeat and action every day?

2005-04-23 Thread Maxwell Brodie
to execute with task schedular, however, is there any way to do this in a contrab? Thanks! "Maxwell Brodie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I wish to have a php file repeat every day at a certain time, is there any > way to do t

[PHP-WIN] How do I get php to repeat and action every day?

2005-04-21 Thread Maxwell Brodie
Hello, I wish to have a php file repeat every day at a certain time, is there any way to do this? Thank you! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Custom 404 Error Messages in PHP

2005-04-07 Thread Maxwell Brodie
Hello, This is my first post to ANY newsgroup ever, so forgive me if I do anything wrong. I have a delemia, I would like to use a custom 404 error on my website to make it look more user friendly than "No input file specified" when the file on the server is not found or a link is broken. I am f

[PHP-WIN] This is a test to see if this is working -Newbie-

2005-04-07 Thread Maxwell Brodie
This is a test -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php