Re: [PHP] Validation: Problems with header(Location) in PHP

2003-09-23 Thread Jason Wong
On Thursday 25 September 2003 08:46, Martin Raychev wrote: This is exasperating as well as a waste of time! > it's not the code snip that is important Of course it is important. It is *your* code which is causing something which *ought to work* to not work. > but the fact that I DO have to > h

Re: [PHP] Validation: Problems with header(Location) in PHP

2003-09-23 Thread Robert Cummings
pear later, i.e. not > first? > > Thank you, > > Martin. > > - Original Message - > From: "Jason Wong" <[EMAIL PROTECTED]> > Newsgroups: php.general > To: <[EMAIL PROTECTED]> > Sent: Tuesday, September 23, 2003 6:10 PM > Subject: Re: [PHP

Re: [PHP] Validation: Problems with header(Location) in PHP

2003-09-23 Thread Martin Raychev
later, i.e. not first? Thank you, Martin. - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> Newsgroups: php.general To: <[EMAIL PROTECTED]> Sent: Tuesday, September 23, 2003 6:10 PM Subject: Re: [PHP] Validation: Problems with header(Location) in PHP

Re: [PHP] Validation: Problems with header(Location) in PHP

2003-09-23 Thread Dan Anderson
HTTP 1.1 says the following: 1. Client (with web browser) sends GET request to server. 2. Server responds with something like: Content-type: text/html Content-size:...blah...blah...blah 3. Server sends the web page. The header is sent on #2. What is happening is that somewhere in the code

Re: [PHP] Validation: Problems with header(Location) in PHP

2003-09-23 Thread Jason Wong
On Thursday 25 September 2003 06:58, Martin Raychev wrote: > Thank you for answering me. I am sending the code that you requested. I've > shotened it for brevity. The idea is that I am going to make the validation > in the (2nd) "newaccount2.php" file which is the confirmation file. If > everythin

Re: [PHP] Validation: Problems with header(Location) in PHP

2003-09-23 Thread Martin Raychev
Hi Jason, Thank you for answering me. I am sending the code that you requested. I've shotened it for brevity. The idea is that I am going to make the validation in the (2nd) "newaccount2.php" file which is the confirmation file. If everything is OK I will just print the correct filled-in data. Oth

Re: [PHP] Validation: Problems with header(Location) in PHP

2003-09-23 Thread Jason Wong
On Thursday 25 September 2003 04:22, Martin Raychev wrote: > I am kind of newbie coming from ASP and I came upon some hindrances, which > could be because of not knowing enough of PHP > > The problem is: > I am trying to make a form with good and user-friendly validation. After > failure to valida

Re: [PHP] Validation: Problems with header(Location) in PHP

2003-09-23 Thread Robert Cummings
On Wed, 2003-09-24 at 16:22, Martin Raychev wrote: > Hi! > > I am kind of newbie coming from ASP and I came upon some hindrances, which > could be because of not knowing enough of PHP > > The problem is: > I am trying to make a form with good and user-friendly validation. After > failure to valid

RE: [PHP] Validation: Problems with header(Location) in PHP

2003-09-23 Thread Javier Muniz
Hi Martin, When they say at the top of the page before anything else, they mean before any other output. Just make sure that you don't have any HTML/text before the header("Location: ...") that's outside of your 's, and that you don't echo anything before your header call. -Javier -Origin