What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Php Help

Php Help
Author: Message:
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
20 / Other / Flag
Joined: Jul 2003
O.P. RE: Php Help
blah, i dont want it to die, because it wont load the rest of my page :)

this is what i did
code:
<?php
$page = htmlentities($_GET['page']) ;
$language = htmlentities($_GET['lan']) ;
if (!isset($_GET['page'])) {
if(!isset($_GET['lan'])) {
include ("pages/code/home.txt");
}
else {
$filename2 = '/pages/code/$language.txt';
if (file_exists($filename2)) {
include("/pages/code/$language.txt");
} else {
   echo "Sorry, The Page Cannot Be Found";
}
}
}
else {
$filename = "pages/code/$language/$page.txt";
if (file_exists($filename)) {
   include("pages/code/$language/$page.txt");
} else {
   echo "Sorry, The Page Cannot Be Found";
}
}
?>


This post was edited on 01-22-2005 at 10:50 AM by Stigmata.
01-22-2005 10:37 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Php Help - by Stigmata on 01-22-2005 at 10:18 AM
RE: Php Help - by -dt- on 01-22-2005 at 10:25 AM
RE: Php Help - by Stigmata on 01-22-2005 at 10:31 AM
RE: Php Help - by -dt- on 01-22-2005 at 10:33 AM
RE: Php Help - by Stigmata on 01-22-2005 at 10:37 AM


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