Re: How to redirect a user to main page once I capture his info in a form?

From: Date: Wed, 18 Apr 2001 22:52:58 +0000
Subject: Re: How to redirect a user to main page once I capture his info in a form?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-8679@lists.php.net to get a copy of this message
Hi, you have output in line 42. any html stuff. You have to send haeder information before any output. If you capture the info via a form you can make a seperate capturing script (not $PHP_SELF) to enter the info into a DB and at the end of this -after successfully inserting the data- redirect the user to the page of needs. Johannes ""Hector M Banda"" <hector@need-info.com> schrieb im Newsbeitrag news:004801c0c84a$fee799a0$030a010a@drapers.com... Hi all, I have a simple form where I capture the information from users. Once the information is captured, I'd like to send the users the the main page. I already tried the header command but I get an error like this: Warning: Cannot add header information - headers already sent by (output started at page.php:42) in page.php on line 45 Any ideas?

« previous php.db (#8679) next »