Inspect $argc & $argv arrays (var_dump() them).

Andrey

----- Original Message -----
From: "Evan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 29, 2002 8:06 PM
Subject: [PHP] php.exe from command line


> I've made a simple php file that creates a file named 'agent_1.txt' where
> the number is taken from $_GET["num"].
>
> I've tried to run it in this way:
> http://localhost/agent.php?num=1
> And it works perfectly
>
> I thought that from from command line it would work so i tried this (WinXP
+
> PHP 4.1.2):
>
> c:\php\php.exe c:\Inetpub\webpub\PHP\agent.php?num=1
>
> BUT IT DOESN'T WORK!!!!! ?
>
> Can someone help, please?
> Thenks in advance,
> Evan
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


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

Reply via email to