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

Posted by Sameer N Ingole on 12/29/05 11:04

Christian Ista wrote:

>>From: Jay Blanchard [mailto:jay.blanchard@THERMON.com]
>>Header is a good solution, and is the only one available in PHP for
>>redirects. It requires that you do not send anything else out to the
>>browsers before sending the redirect, which is what is causing your error.
>>You can always use the output buffer functions to assist with that.
>>
>>
>
>Ok but there is something more strange.
>
>I use "header location" in a switch/case. An header location by case. I
>don't understand at the end of the case, the header location don't work and
>I go through the others cases.
>
>
I would do a simple thing, use "exit()" after "header". Though this
should not happen..

Regards,

--
Sameer N. Ingole
/*****************************************************/
Better to light one candle than to curse the darkness.
/*****************************************************/

 

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

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