Tong-Pak-Fu
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Tong-Pak-Fu

A place to relax and discuss.
 
HomePortalSearchLatest imagesRegisterLog in

 

 PHP: Redirect

Go down 
AuthorMessage
BlUeAnGeL
New Otaku
New Otaku
BlUeAnGeL


Number of posts : 85
Registration date : 2007-04-21

PHP: Redirect Empty
PostSubject: PHP: Redirect   PHP: Redirect Icon_minitimeSat May 05, 2007 6:07 pm

Okay, so you want to redirect someone from your php code without getting that long HTML redirect code? Well its rather simple in php.. all you have to do is:

Add:

Code:
<?
header('Location: http://The URL to redirect to/');
?>

And thats it!
Back to top Go down
 
PHP: Redirect
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Tong-Pak-Fu :: Graphics And Web Discussion :: Photoshop/Webdesign :: Tutorial :: Web Design Tutorials-
Jump to: