That worked like a charm. Thanks Chris. I've added this to my snippet collection. :)

At 12:02 AM 7/24/2003, Chris Shiflett wrote:
--- CDitty <[EMAIL PROTECTED]> wrote:
> Thanks man.  That got rid of the error, however it is not using the
> variable in the script.

You have to read them in. I think you can just loop through $argv, so something
like this will show you what PHP is receiving:


<?
echo "A total of $argc parameters are available:\n\n";
foreach ($argv as $curr_parameter)
{
     echo "$curr_parameter\n";
}
?>

Hope that helps.

Chris

=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to