|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
How do u make pages redirect like join.php?EF2
How can u make it goto different pages use ?Yourpage
So like If it does join.php?EF2 it acctually goes to page joinef2.php How would i do that.. |
|
#2
|
|||||
|
|||||
|
RE: How do u make pages redirect like join.php?EF2
well i presume you have a signup form, and they have a site or something they enter? you could do this:
php Code:
hope that made some sense chief |
|
#3
|
|||
|
|||
|
RE: RE: How do u make pages redirect like join.php?EF2
|
|
#4
|
|||
|
|||
|
RE: How do u make pages redirect like join.php?EF2
THX
|
|
#5
|
|||
|
|||
|
RE: How do u make pages redirect like join.php?EF2
You can also use PHP's header function:
Code:
header("Location: joinef2.php");
|
|
#6
|
|||
|
|||
|
RE: How do u make pages redirect like join.php?EF2
You can only use the header function if there is not yet any browseroutput, else you'll get this message:
headers already send... |
|
#7
|
|||
|
|||
|
RE: How do u make pages redirect like join.php?EF2
Extending the initial question. How does one automatically send a user to a page AFTER authentication has been achieved.
Example: Login Page Username and Password exist and are correct. I now want to send the user to pref.php instead of staying at login.php Ideas would be very handy at this time. Jazzy |
|
#8
|
|||
|
|||
|
RE: How do u make pages redirect like join.php?EF2
you could use meta tags, or if no header output
header("Location: http://www.name.com"); so basically something like this if($user == "username" || $password = "secret") { header(Location:>>) } else {wrong password} thats a 5 second way how to do it |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > How do u make pages redirect like join.php?EF2 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|