Hi,
I am trying to require a php file from outside of the directory tree. It says the file type has to be php or php3 either works on the server, So far I have this
<?php
require('/home/name/php/stats.php3');
?>
<head>
***rest of the HTML
The absolute path is /home/name and I have added a Dir beside HTML call php and put the stats.php3 file in it.
This does work, all I get is an error and when I change it to the HTML and call it using 'stats.php3' it runs okay but the stats aren't updated. However if I type stats.php3 in the Address bar the stats are updated.
Can someone please help!
Cheers
Ghost