GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   PHP redirection code ? Anyone? (https://gfy.com/showthread.php?t=266297)

spamofon 04-08-2004 08:45 AM

PHP redirection code ? Anyone?
 
anyone can paste it?

StuartD 04-08-2004 08:46 AM

header(location: http://www.domain.com);

gotta use it before anything is outputed to the screen though, including html tags.

spamofon 04-08-2004 08:59 AM

thanks

swedguy 04-08-2004 09:04 AM

Don't forget to add an exit(); after the header() otherwise it will still exe<b></b>cute the rest of the script.

header("Location: domain.com");
exit;


EDIT: Pretty gay that "exec<b></b>ute" is a censored word.


All times are GMT -7. The time now is 07:56 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123