Re: Location ....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-12-30 at 15:04, Richard Lynch wrote:
> On Wed, December 28, 2005 8:15 am, Christian Ista wrote:
> > PHP? I tried this code : header("Location: mypage.php");
>

*LOL* That was one of the best write-ups I've ever read concerning the
headers already sent error message.

> Similarly, watch out for BLANK LINES after the last ?> in your files.
> 
> They will trip you up for header()

Regarding that last ?> in scripts, the PHP engine intentionally supports
it's omission so that you don't have to think about whether there's an
invisible trailing space after it.

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux