RSS Forums RSS
Please support our PHP advertiser: Lunarpages PHP Web Hosting

URL Redirection in PHP

Join Date: Apr 2006
Location: -=paradise=-
Posts: 2
Reputation: sepedatua is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sepedatua sepedatua is offline Offline
Newbie Poster

Re: URL Redirection in PHP

  #4  
Apr 30th, 2006
Try:
<?
session_start();
header("Location: tussu.php"); //or (*)
echo "Logging out ".$_SESSION['userid'];
?>
(*)
header("Refresh: 5; URL:http://www.domain.com/path/to/tussu.php");
5 <= this will show your "Logging out ".$_SESSION['userid']" for 5 seconds.
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:50 pm.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC