UnlimitedMB.comUnlimitedMB.com
Home    |    About Us    |    Forums    |    Signup    |    Login    |    Support
UnlimitedMB.com


 
UnlimitedMB.com




Go Back   UnlimitedMB.com Forums > General Forums > Scripting

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 1 Week Ago
nometers nometers is offline
Junior Member
 
Join Date: Nov 2006
Posts: 4
Default

The only way to do this in PHP would be to use a location header like this:

Code:

                                                            
header( "Location: http://www.yoursite.com/new_page.html" ) ;

                                                          

The only downfall with this method is that the line above should appear before anything is output to the browser (meaning that you cannot display a message before the user is redirected).

If you want to display a message and then redirect the user after some time, you have to use a JavaScript solution.
Reply With Quote
 

« Previous Thread | Next Thread »

Thread Tools Search this Thread
Show Printable Version Show Printable Version
Email this Page Email this Page
Search this Thread:

Advanced Search
Display Modes
Linear Mode Switch to Linear Mode
Hybrid Mode Switch to Hybrid Mode
Threaded Mode Threaded Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT. The time now is 07:32 AM.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2006, Jelsoft Enterprises Ltd.









 



UnlimitedMB.com © 2006
Terms of Use | Report Abuse