Jump to content

[SOLVED] Redirect to another *.php page


oceans

Recommended Posts

Well then - welcome to PHP  :) You're going to love it here.

 

What are you trying to do with it? How would you have done it in ASP?

 

For example, if I wanted a page to redirect if name=Bob:

 

if($name=="Bob") { header("location: page.php");}

else { echo 'Did not redirect'; } 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.