Re: Question about passing parameter between files
| From: | jeremy brand | Date: | Mon, 25 Sep 2000 22:57:26 +0000 |
| Subject: | Re: Question about passing parameter between files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17386@lists.php.net to get a copy of this message | ||
you can do ARGV on the URL like this:
something.php/Value1/value2/value3
-jeremy brand
_______________________________________________________________________
GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9
_ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more __
On Fri, 22 Sep 2000, Peter wrote:
> Date: Fri, 22 Sep 2000 12:48:03 +0800
> From: Peter <pwcip@itsd.gcn.gov.hk>
> To: php-general@lists.php.net
> Subject: [PHP] Question about passing parameter between files
>
> 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>