PHP Question - Trying to get PHP-Nuke install as main index
Posted: July 25th, 2005, 13:20
<strike>Ok, first off, I know absolutely nothing about PHP. On my site I have a PHP-Nuke install in a subfolder. I would really like to use the index.php file in that install as the index for the site without setting up a forward (as a forward is annoying as all fuck). I made an index.php file and put it in the main area of the site with the following code:
It kinda works, but all of my images that make up the page are not being displayed. It's looking for them in folders off of the main site directory rather than the /main directory. Anyone know what I can do to fix this? My google-fu is weak today.
It's supposed to look like http://www.nickface.org/main</strike>
Code: Select all
<?php
include('http://www.nickface.org/main/index.php');
?> It's supposed to look like http://www.nickface.org/main</strike>