Thread: PHP guys?
View Single Post
Old 03-05-2006, 08:18 PM  
ddfGandalf
Confirmed User
 
Join Date: Feb 2005
Location: Budapest, Hungary
Posts: 534
well...

I might be wrong, or didnt understand your problem, btut:

index.php?mode=register

that assumes that you'll handle that GET variable inside the php.
So....

if($_GET['mode'] hahahaha "register") {
header("location: youraddress/register.php
}

or if($_GET['mode']) {

[from here you can go either by testing every condition by if, or case)

if($_GET['mode'] hahahaha "register") header() // see above

or
$whatever = $_GET['mode'];

switch($whatever) {

case "register":
header()../see above
break;
case "whatever"...


and so on...

hope that helped a bit
__________________
ddfGandalf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote