Forum Moderators: coopster
/news/world/asia/thailand/index.php
In order to (relatively) call a file in the /ssi directory I have to use the following code:
<?php
include ("../../../../ssi/html-lang.htm");
?>
This is ridiculous. Everytime I make a new subfolder I don't want to have to add "../" to it. I heard about "virtual" includes but I'm not sure the syntax I'm using is correct (all I do is put 'virtual' after 'include'). Is there something I'm missing? Do I have to change the .htacess file? Help me please I'm going crazy. I don't want to resort to absolute referencing...
Have a look at this related thread ... sounds like the same question.
[webmasterworld.com...]