Question about passing parameter between files
| From: | Peter | Date: | Fri, 22 Sep 2000 04:48:03 +0000 |
| Subject: | Question about passing parameter between files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17283@lists.php.net to get a copy of this message | ||
Dear reader,
In php, we can pass parameter in command line simply by just typing
"xxx.php abc". Then in 'xxx.php', we only need to get $ARGV[0] and then
get "abc". However, when the php program is used as web page, it cannot
pass parameter by this. Also it can using cgi method like xxxx.cgi?abc
to pass parameter to the destination file.Can php do that?
Thanks for your attention.
Peter