note 16950 added to function.system

From: Date: Tue, 20 Nov 2001 02:23:04 +0000
Subject: note 16950 added to function.system
Groups: php.notes 
Request: Send a blank email to php-notes+get-21037@lists.php.net to get a copy of this message
For the attempt above to implement a cgi into php: For me it worked very well to use simply the "include" function for that. So you simply include your cgi and add the values that your cgi needs. Just like this: <? include ("http://www.url.com/cgi-bin/yourpath/script.pl?var1=value1&var2=value2"); ?> You even then can parse vars into your include-call, such as: <? $abc = "47" $xyz = "11"; include ("http://www.url.com/cgi-bin/yourpath/script.pl?var1=$abc&var2=$xyz"); ?> This is quite cool... ;) -- http://www.php.net/manual/en/function.system.php http://master.php.net/manage/user-notes.php?action=edit+16950 http://master.php.net/manage/user-notes.php?action=delete+16950 http://master.php.net/manage/user-notes.php?action=reject+16950

« previous php.notes (#21037) next »