note 39819 added to function.system

From: Date: Wed, 11 Feb 2004 18:41:36 +0000
Subject: note 39819 added to function.system
Groups: php.notes 
Request: Send a blank email to php-notes+get-65022@lists.php.net to get a copy of this message
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); ******************************************** ---- Manual Page -- http://www.php.net/manual/en/function.system.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39819 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39819&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39819&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#65022) next »