I have hired a guy to create some php for a site I'm developing. I've used ssi to keep the navigation elements on one easy-to-edit place. However, the includes don't show up in the documents once they are converted to .php. Does anyone know if there is something I need to enable or add to the .htaccess to make the includes show up in php documents?
Thanks, Clark
coopster
7:01 pm on Feb 1, 2006 (gmt 0)
Welcome to WebmasterWorld, clarkgray.
Have you read the earlier responses yet? The answers are all there regarding: Can I use SSI in a php document? [webmasterworld.com] ;)
skinter
1:02 am on Feb 2, 2006 (gmt 0)
You can also use:
<?php putenv ( "REQUEST_METHOD=GET" ); passthru ( "/path/to/file.pl" ); echo "\n"; // so the source looks normal ?>