FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » newbie question
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: newbie question [message #170970 is a reply to message #170957] Mon, 13 December 2010 08:15 Go to previous message
alvaro.NOSPAMTHANX is currently offline  alvaro.NOSPAMTHANX
Messages: 277
Registered: September 2010
Karma:
Senior Member
El 12/12/2010 3:06, justaguy escribió/wrote:
> header( 'Location: http://www.mysite.com/newlocation.html' ) ;
> ?>

Last but not least, I recommend you add an explicit exit when you do
HTTP redirections, it'll save you future headaches:

header( 'Location: http://www.mysite.com/newlocation.html' ) ;
exit;




--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Use of Includes
Next Topic: Stats comp.lang.php (last 7 days)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 03:57:19 GMT 2024

Total time taken to generate the page: 0.06438 seconds