> Hi,
> I am designing a php program running in Linux, i would like to know can i
> design a program by adding permeter after the file name?
> Just like the following, "adding.php" is the filename and "123" ,"456" is
> the data which i want to input for the program?
> [root@localhost bin]# php adding.php 123 456
> Could someone help me? and my e-mail address is [EMAIL PROTECTED]
> Best regards,
> Sidney

I believe you can use argv and argv, or open /dev/stdin and read 
parameters from it.

David Robley
Temporary Kiwi!

Quod subigo farinam

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to