RE: [PHP] querystrings passed in header(Location: n) ?

2002-02-13 Thread Rick Emery
try: header(Location: domain.com/errorpage.php?errorcode=.urlencode($errorcode)); -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 8:51 AM To: PHP Subject: [PHP] querystrings passed in header(Location: n) ? Can you pass a querystring

Re: [PHP] querystrings passed in header(Location: n) ?

2002-02-13 Thread Erik Price
On Wednesday, February 13, 2002, at 09:53 AM, Rick Emery wrote: try: header(Location: domain.com/errorpage.php?errorcode=.urlencode($errorcode)); I tried that, and it didn't work. But it does raise a question, which I'll ask in a minute. I also tried doing $errorcode =

RE: [PHP] querystrings passed in header(Location: n) ?

2002-02-13 Thread Rick Emery
:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 9:34 AM To: Rick Emery Cc: PHP Subject: Re: [PHP] querystrings passed in header(Location: n) ? On Wednesday, February 13, 2002, at 09:53 AM, Rick Emery wrote: try: header(Location: domain.com/errorpage.php?errorcode=.urlencode($errorcode

Re: [PHP] querystrings passed in header(Location: n) ?

2002-02-13 Thread Erik Price
On Wednesday, February 13, 2002, at 10:37 AM, Rick Emery wrote: What error did you receive? What was displayed? Please show your code; I hope there was no line break as shown below. Unfortunately, my mail client breaks lines after about 40 cchars. Well, to post the actual code would

RE: [PHP] querystrings passed in header(Location: n) ?

2002-02-13 Thread Rick Emery
This is frustrating, because I have used header(location) with parameters and it has worked. -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 11:12 AM To: Rick Emery Cc: PHP Subject: Re: [PHP] querystrings passed in header(Location: n

Re: [PHP] querystrings passed in header(Location: n) ?

2002-02-13 Thread Lars Torben Wilson
On Wed, 2002-02-13 at 07:34, Erik Price wrote: On Wednesday, February 13, 2002, at 09:53 AM, Rick Emery wrote: try: header(Location: domain.com/errorpage.php?errorcode=.urlencode($errorcode)); First to the original question: yes, querys are allowed in Location headers, according to

Re: [PHP] querystrings passed in header(Location: n) ?

2002-02-13 Thread Erik Price
On Wednesday, February 13, 2002, at 03:57 PM, Lars Torben Wilson wrote: First to the original question: yes, querys are allowed in Location headers, according to RFC 2616 (HTTP 1.1) and RFC 2396 (URI Generic Syntax). And, they've always worked for me, so your problem must be elsewhere.