Those are automatically assigned to $a1 and $a2.
-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 3:20 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Parse URL parameters
How can I parse parameters sent with the URL of an pgp site?
Example: I call the
a2 = '$a2'"?>
:)
> -Original Message-
> From: Andy [mailto:[EMAIL PROTECTED]]
> Sent: 5 iulie 2001 10:20
> To: [EMAIL PROTECTED]
> Subject: [PHP] Parse URL parameters
>
>
> How can I parse parameters sent with the URL of an pgp site?
$vars = array();
$url2 = explode("?", $url);
$url3 = explode("&", $url2[1]);
for($i=0;$i
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 5:19 PM
Subject: [PHP] Parse URL parameters
> How can I parse parameters sent with the URL of an pgp site?
>
&g
How can I parse parameters sent with the URL of an pgp site?
Example: I call the site with
http://www.server.xyz/sub/site.php?a1=123&a2=312
How can I get the values of a1 and a2?
Thanks, folks!
Andy.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL P
4 matches
Mail list logo