<snip> On Fri, Dec 31, 2004 at 05:17:27PM -0600, Bob Ramsey wrote: > > The only snage with the header function is that you must not print or > echo anything to the browser before you use it. In other words you > can't do this: > > <html> > <body> > <p>I moved you to another page.</p> > <?php header("Location: http://someotherpage.com"); ?> > </body> > </html>
If you have output buffering turned on in your php.ini you can do it IMHO. -- ---------------- -- Katoob Main Developer, Arabbix Maintainer. GNU/Linux registered user #224950 Proud Egyptian GNU/Linux User Group <www.eglug.org> Admin. Life powered by Debian, Homepage: www.foolab.org -- Don't send me any attachment in Micro$oft (.DOC, .PPT) format please Read http://www.fsf.org/philosophy/no-word-attachments.html Preferable attachments: .PDF, .HTML, .TXT Thanx for adding this text to Your signature
signature.asc
Description: Digital signature