Thank you to Allan Tan for the following.

echo $_GET["parem"];
echo $_GET["parem2"];

This worked.

"The Hub" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> That isn't it, the problem is I end up with "\n\n" instead of
> "true\nhello\n"
>
> "Warren Vail" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > 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
> > [EMAIL PROTECTED]
> >
> >
> > -----Original Message-----
> > From: The Hub [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, September 28, 2003 8:15 PM
> > To: [EMAIL PROTECTED]
> > 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&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

Reply via email to