Re: redirect browser
| From: | Jason Wong | Date: | Sat, 20 Apr 2002 04:49:50 +0000 |
| Subject: | Re: redirect browser | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93790@lists.php.net to get a copy of this message | ||
On Saturday 20 April 2002 09:26, Joe wrote:
> =====================
>
> <?php
> ====================
> Warning: Cannot add header information - headers already sent
> by (output started at c:\html\html\check.php:4) in
> c:\html\html\check.php on line 42
> ====================
>
> I had no idea about this.
> Can anyone tell me what's wrong of my code?
You cannot have anything between the beginning of the file and your <?php
tag. Not even whitespace (spaces, tabs, newlines etc).
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
A real person has two reasons for doing anything ... a good reason and
the real reason.
*/