What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » /?id=home

/?id=home
Author: Message:
surfichris
Former Admin
*****

Avatar

Posts: 2365
Reputation: 81
Joined: Mar 2002
RE: /?id=home
quote:
Originally posted by CookieRevised
What happens if the creator hasn't access to a PHP enabled host?
Well, obviously if the user is creating it then he'd know he has PHP. You can't just say "bah, everyone without JS don't matter" :P You can't make predications on your visitors like that :P
quote:
Originally posted by CookieRevised
If it is only for redirecting, then yes (but isn't PHP doing this also in way?). But, just as in PHP, it can be used for far more things than only that.
In PHP, I wouldn't make it redirect, i'd make it seem totally transparent to the user and use an include() function.

So something like:
code:
<?php
$action = ($_GET['action'] ? $_GET['action']; : $_POST['action']); // Assign $action based on if we're getting or posting.

switch($_GET['action'])
{
    case "test":
        include "test.php";
        break;
    default:
        include "home.php";
        break;
}
?>

(However, you have to expand on it - it only supports pages you've added to the switch..)
12-21-2005 12:40 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
/?id=home - by stoshrocket on 12-20-2005 at 10:54 PM
RE: /?id=home - by ShawnZ on 12-20-2005 at 10:58 PM
RE: /?id=home - by CookieRevised on 12-20-2005 at 11:12 PM
RE: /?id=home - by ShawnZ on 12-20-2005 at 11:59 PM
RE: /?id=home - by CookieRevised on 12-21-2005 at 12:10 AM
RE: /?id=home - by ShawnZ on 12-21-2005 at 12:22 AM
RE: /?id=home - by surfichris on 12-21-2005 at 12:23 AM
RE: RE: /?id=home - by CookieRevised on 12-21-2005 at 12:35 AM
RE: /?id=home - by ShawnZ on 12-21-2005 at 12:36 AM
RE: /?id=home - by surfichris on 12-21-2005 at 12:40 AM
RE: /?id=home - by CookieRevised on 12-21-2005 at 12:55 AM
RE: /?id=home - by rav0 on 12-21-2005 at 08:35 AM
RE: /?id=home - by Stigmata on 12-21-2005 at 09:50 AM
RE: /?id=home - by absorbation on 12-21-2005 at 02:12 PM
RE: /?id=home - by hmaster on 12-21-2005 at 02:39 PM
RE: /?id=home - by stoshrocket on 12-21-2005 at 03:32 PM
RE: /?id=home - by absorbation on 12-21-2005 at 03:36 PM
RE: /?id=home - by stoshrocket on 12-21-2005 at 03:40 PM
RE: /?id=home - by -dt- on 12-21-2005 at 03:54 PM
RE: /?id=home - by stoshrocket on 12-21-2005 at 09:15 PM
RE: /?id=home - by absorbation on 12-21-2005 at 09:19 PM
RE: /?id=home - by stoshrocket on 12-21-2005 at 09:22 PM
RE: /?id=home - by absorbation on 12-21-2005 at 09:24 PM
RE: /?id=home - by stoshrocket on 12-21-2005 at 09:29 PM
RE: /?id=home - by absorbation on 12-21-2005 at 09:31 PM
RE: /?id=home - by stoshrocket on 12-21-2005 at 09:34 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On