Posted by Allodoxaphobia on 07/30/05 06:10
On Sat, 30 Jul 2005 02:34:16 GMT, a wrote:
> I have index.php in the root directory and I want to redirect the request to
> a subdirectory /home/index.php.
>
> Here is the content of index.php:
>
><?php
> header("Location: home/");
> ?>
>
> and the message I am getting:
>
> Warning: Cannot modify header information - headers already sent by (output
> started at C:\dev\newhome\index.php:2) in C:\dev\newhome\index.php on line 3
Probably _THE MOST_ FAQ in php ng's.
http://www.jamuk.com/php_faq_2_6
Google! Learn to fish.
Navigation:
[Reply to this message]
|