[PHP-WIN] Problem: URL Encoded Parameters

2003-09-28 Thread The Hub
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

php-windows Digest 29 Sep 2003 03:23:02 -0000 Issue 1931

2003-09-28 Thread php-windows-digest-help
php-windows Digest 29 Sep 2003 03:23:02 - Issue 1931 Topics (messages 21580 through 21582): File Ext 21580 by: Dean Hayes 21581 by: H Marc Bower Problem: URL Encoded Parameters 21582 by: The Hub Administrivia: To subscribe to the digest, e-mail: [EMAIL PROT

RE: [PHP-WIN] Problem: URL Encoded Parameters

2003-09-28 Thread Warren Vail
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: [EM

Re: [PHP-WIN] Problem: URL Encoded Parameters

2003-09-28 Thread The Hub
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

Re: [PHP-WIN] Problem: URL Encoded Parameters

2003-09-28 Thread The Hub
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

RE: [PHP-WIN] Writing to a file

2003-09-28 Thread Fabian Cenedese
>this doesn't work. It will still write the new line after the line (I matched). >Everytime I read a line from a file, the $fd gets incremented, so when I say fwrite, >$fd is already pointing to the next line in the file? Any suggestions as to working >around this? I can't rewrite the entir