> From: "Dave Carrera" <[EMAIL PROTECTED]>
> I need to send some vars to a cgi script.
>
> The script url is like this
>
> http://www.example.com/cgi-bin/script.cgi?var1=my_first_php_var;var2=my_seco
> nd_php_var and so on.
>
> How do I send / call this script from inside my php script ?
$file =
fopen('http://www.example.com/cgi-bin/script.cgi?var1=my_first_php_var&var2=my_second_php_var&var3=...');
or
$file = fopen("http....script.cgi?var1=$phpvar1&var2=$phpvar2...");
although you'd want to urlencode() the PHP variables if you need something like
the second method.
---John Holmes...
UCCASS - PHP Survey System
http://www.bigredspark.com/survey.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php