Re: Problem: URL Encoded Parameters
| From: | The Hub | Date: | Mon, 29 Sep 2003 04:40:59 +0000 |
| Subject: | Re: Problem: URL Encoded Parameters | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21585@lists.php.net to get a copy of this message | ||
Thank you to Allan Tan for the following.
echo $_GET["parem"];
echo $_GET["parem2"];
This worked.
"The Hub" <thehub@e-access.com.au> wrote in message
news:20030929035211.66136.qmail@pb1.pair.com...
> That isn't it, the problem is I end up with "\n\n" instead of
> "true\nhello\n"
>
> "Warren Vail" <warren@vailtech.net> wrote in message
> news:007d01c3863a$355fc5c0$6501a8c0@comcast.net...
> > probably one of the more annoying differences between windows and
> Unix/Linux
> > is that Unix recognizes the "\n" as end of line, windows requires
"\r\n".
> >
> > Warren Vail
> > warren@vailtech.net
> >
> >
> > -----Original Message-----
> > From: The Hub [mailto:thehub@e-access.com.au]
> > Sent: Sunday, September 28, 2003 8:15 PM
> > To: php-windows@lists.php.net
> > Subject: [PHP-WIN] Problem: URL Encoded Parameters
> >
> >
> > I've found it very useful to put PHP parameters after the ? in URLs, and
> > then access it with it's name in the next page.
> > e.g.
> > file.php?param=true¶m2=hello
> >
> > Then in file.php:
> > echo $param . "\n";
> > echo $param2 . "\n";
> >
> > Here's my problem:
> > this seems to only work on Linux systems, because whenever I try it on a
> > Windows machine I get nothing. It's as if the URL just said file.php
> >
> > How do I fix this?
> >
> >
> > - Patrick
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php