Page 1 of 1

PHP Question - Trying to get PHP-Nuke install as main index

Posted: July 25th, 2005, 13:20
by Nickface
<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:

Code: Select all

<?php

include('http://www.nickface.org/main/index.php');

?> 
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>

Posted: July 25th, 2005, 13:46
by Nickface
Nevermind, I think I got it.

Posted: July 25th, 2005, 13:49
by Stuk
If you're still stuck and have a Apache server you may find the .htaccess file usefull.

Posted: July 25th, 2005, 17:21
by Woo Elephant Yeah
Oooooh new look, and new forums.

Shame you had to lose all your old forum data.
I'm pretty sure it's possible to import the old forum database into the php nuke one, but don't ask me how, as Stoat is the code monkey

Posted: July 25th, 2005, 17:58
by Nickface
Woo Elephant Yeah wrote:I'm pretty sure it's possible to import the old forum database into the php nuke one, but don't ask me how, as Stoat is the code monkey
Oh you definately can. But since I'm me, I clearly backed up the wrong database and lost the 2+ years of data. :roll: