PSP-Heaven
New Member
- Messages
- 428
- Reaction score
- 0
- Points
- 0
Okay, the code for the PHP fetching seems to have gone weird. Here's the error:
And, here's the code:
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/teamxl/public_html/arcade/loadgame.php on line 31
Warning: include(http://www.teamxl.biz/arcade/rx/raidenx.html) [function.include]: failed to open stream: no suitable wrapper could be found in /home/teamxl/public_html/arcade/loadgame.php on line 31
Warning: include() [function.include]: Failed opening 'http://www.teamxl.biz/arcade/rx/raidenx.html' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/teamxl/public_html/arcade/loadgame.php on line 31
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/teamxl/public_html/arcade/loadgame.php on line 59
Warning: include(http://staff.x10hosting.com/adCode.php?ad=advanced) [function.include]: failed to open stream: no suitable wrapper could be found in /home/teamxl/public_html/arcade/loadgame.php on line 59
Warning: include() [function.include]: Failed opening
And, here's the code:
<html>
<head><title>Arcade</title></head>
<body>
<?php
// Get the game passed from the Javascript link
if(isset($_GET['gamename']))
$game = $_GET['gamename'];
else
$game = "";
// Display the game we want depending on the name passed.
if($game == "realinvaders") {
include("http://www.teamxl.biz/arcade/ri/ri.html");
}
else if($game == "jbreakout") {
include("http://www.teamxl.biz/arcade/jbreakout/JBreakout.html");
}
else if($game == "xraye") {
include("http://www.teamxl.biz/arcade/xr/xr.html");
}
else if($game == "spaceescape") {
include("http://www.teamxl.biz/arcade/se/spaceescape.html");
}
else if($game == "gyroball") {
include("http://www.teamxl.biz/arcade/gb/gyroball.html");
}
else if($game == "crimsonviper") {
include("http://www.teamxl.biz/arcade/cv/crimsonviper.html");
}
else if($game == "raidenx") {
include("http://www.teamxl.biz/arcade/rx/raidenx.html");
}
else if($game == "flashtrek2") {
include("http://www.teamxl.biz/arcade/ft2/flashtrek2.html");
}
else if($game == "commando3") {
include("http://www.teamxl.biz/arcade/c3/commando3.html");
}
else if($game == "territorywar") {
include("http://www.teamxl.biz/arcade/tw/territorywar.html");
}
// To prevent direct linking
else if($game == "") {
print "You a damn loser.";
}
else if($game == " ") {
print "You a damn loser.";
}
// Finish the rest of the games in your arcade using the same format
else {
echo "Sorry, that game wasn't found.";
}
?>
<br>
<center>
<?php
// Display the ad code.
include("http://staff.x10hosting.com/adCode.php?ad=advanced");
?>
</center>
</body>
</html>