zip ur stuff and PM me
Printable View
zip ur stuff and PM me
I don't know how to do that lol but the thing I downloaded originally is a zip so you could just check that out.. http://www.habbville.com/site/files/...s/zips/L22.zip
Thanks for helping, +rep btw and I'll owe you another ;).
Edit: need to spread so I'll owe you two :P.
I have PMed --ss-- btw given it is his layout and coding but he hasn't been online all day so I thought I'd see if anyone else could help.
Ohhh I've found something which I think is a step forward....
..only that this just makes it display:Code:<!-- Start Main Content -->
<?php
$page = $_GET['p'];
if(!isset($page))
{
include("main.php");
}
elseif
(file_exists("". $page . ".php"))
{
include("" . $page . ".php");
}
else
{
print("The
page <b>" . $page . ".php</b> does not exist.");
}
?>
<!-- End Content -->
I assume I'm supposed to edit this somewhere? I see it has the $_GET['p'] as you mentioned, but adding 'main.php' didn't make a difference...Code:" . $page . ".php does not exist."); } ?>
I always get stuck on something trivial whenever I attempt websites!
Install something like xampp (http://www.apachefriends.org/en/xampp.html), then you get apache, php etc, easy peasy. Then go to http://localhost/whereveryouwant/index.php
BOOSH.
And no, you should only get a couple of problems because I'm guessing the majority of index.php is HTML.
This made no difference btw. sigh.
Rofl, I assumed he was building it on his web server or at least had php installed.
You need to find the directory you have xampp in. If you installed it in C:/ go to C:/ and look for xampp. IF you can't remember then search for the folder called "xampp" and then find httdocs. Then delete everything inside httdocs and put ur files there. Then do what Trinity said and go to localhost/blah. Also, I often have problems when I install it, I have to go to xampp and manually start the mysql php etc.