Problem with virtual includes

Problem with virtual includes

Wondering if anyone could give me a few pointers on this please. My server skills are limited, at best, and i have come to a halt.

I am trying to include the content of one file on my server inside another file. I know it can be done as i have it working here http://digitalcatwalk.co.uk/test.shtml the code for that is <HTML>
<BODY>
Testing…
<!–#include virtual="/sec/accessories/stuffer.pl"–>
</BODY>
</HTML>

However, I cannot get it to work if I use the php version (I have to use the php to fully merge what I am trying to do)

The supplied code for that is <? virtual(‚/sec/accessories/stuffer.pl’) ?> however when I output this to a page I see nothing, please see http://digitalcatwalk.co.uk/test.php in the code of that page I see
<? virtual(‚/sec/accessories/stuffer.pl’) ?>

I am at a complete loss as to why this isn’t working. I have disabled open base and php safe mode, I have restarted apache etc but just will not work.

I wish to include the content on a php page so I need the php version to work.

Any advice offered would be greatly appreciated

thanks
Carl

Comments are closed.