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

/?id=home
Author: Message:
absorbation
Elite Member
*****

Avatar

Posts: 3636
Reputation: 81
– / Male / Flag
Joined: Feb 2005
RE: /?id=home
I use ?id=home on my websites for the homepage it is a script that allowed a series of includes on a page, thus you dont have to update each page when you alter a design. The page extension must be in php.

Here is what I use on my websites:

<?PHP
error_reporting (E_ALL ^ E_NOTICE);
if(!$id){ $id = $HTTP_GET_VARS['id']; }

if($id=="" or $id=="home"){
    include("home.php");
}elseif($id=="asmiles"){
    include("animatedsmiles/index.php");
}elseif($id=="backgrounds"){
    include("backgrounds/index.php");
}elseif($id=="downloads"){
    include("downloads/pafiledb.php");
}elseif($id=="dp"){
    include("dp/index.php");
}elseif($id=="names"){
    include("names/index.php");
}elseif($id=="smiles"){
    include("smiles/index.php");
}elseif($id=="web"){
    include("web.php");
}
?>

(that's part of msgstuff)


you add this where your page content begins and in the includes you add the other pages, but just the basic code and not all the html and head tags.
12-21-2005 02:12 PM
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