note 39819 deleted from function.system by vincent
| From: | vincent@php.net | Date: | Wed, 11 Feb 2004 18:44:36 +0000 |
| Subject: | note 39819 deleted from function.system by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-65023@lists.php.net to get a copy of this message | ||
Note Submitter: Jenny at hotmail dot com
----
I am trying to use the system() while passing it a php script to execute:
********************************************
foreach () {
$result = system('php Get_RSS_feed.php url=$rss_url', $retval);
}
********************************************
i am trying to pass a variable called $rss_url to Get_RSS_feed.php where using $_GET i should be
able to retrieve it, and for some reason it doesnt work.
thats what i am doing in Get_RSS_feed.php:
********************************************
// set the time limit for this script to run:
set_time_limit(20);
print "here is the RSS: " . $_GET['url'] . "<br>";
exit(1);
********************************************