Re: Problem: URL Encoded Parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
20030929035211.66136.qmail@pb1.pair.com">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
> 007d01c3863a$355fc5c0$6501a8c0@comcast.net">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:  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&param2=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

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux