RE: [PHP] Passing query parameter which has value "###"
| From: | Angelo Zanetti | Date: | Mon, 08 Sep 2003 12:26:38 +0000 |
| Subject: | RE: [PHP] Passing query parameter which has value "###" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161980@lists.php.net to get a copy of this message | ||
yes David is right!!
why dont you pass the password as a session variable? have you thought of
it? I dont know how appropriate/inappropriate it will be.
Angelo
-----Original Message-----
From: David Robley [mailto:robleyd@ozemail.com.au]
Sent: Monday, September 08, 2003 1:53 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Passing query parameter which has value "###"
In article <0d8c01c375fd$7cb52d90$2b0110ac@munco>, mukeshgct@hotpop.com
says...
> Not at all. I tried it.
> When I see the properties of that page it is showing me
>
> http://172.16.1.193/main.php?name=murugesh&id=#&id1=murugesh@domain.com
>
> but the actual value for id is ###
>
> -Murugesan
>
> ----- Original Message -----
> From: "Angelo Zanetti" <angelo@zlogic.co.za>
> To: "Php-General@Lists.Php.Net" <php-general@lists.php.net>;
> "murugesan"
> <mukeshgct@hotpop.com>
> Sent: Monday, September 08, 2003 5:06 PM
> Subject: RE: [PHP] Passing query parameter which has value "###"
>
>
> > try this
> >
> >
> > main.php?name=" . $name . "&id=" . $id . "&id1=" . $id1 .
> > "
> >
> >
> > HTH
> > -----Original Message-----
> > From: murugesan [mailto:mukeshgct@hotpop.com]
> > Sent: Monday, September 08, 2003 1:05 PM
> > To: php-general@lists.php.net
> > Subject: [PHP] Passing query parameter which has value "###"
> >
> >
> > I passed value
> > main.php?name=$name&id=$id&id1=$id1 to next page
> > where $id has value "###"
> > In the next page I was not able to get the $id and $id1 values
> > and I am able to get the two values $id1 and $name when I used
> > main.php?name=$name&id1=$id1
> > What might be the problem?
> >
You might want to use something like urlencode - the # is usually used as
the symbol for a jump to anchor point in the target page.
--
Quod subigo farinam
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php