You are here: Re: [PHP] Location .... « PHP « IT news, forums, messages
Re: [PHP] Location ....

Posted by Robert Cummings on 12/30/05 22:16

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. |
`------------------------------------------------------------'

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация