...

View Full Version : SSI call on PHP page?



pb&j
01-20-2003, 03:34 PM
Is there a way to have an SSI call work on a PHP page? I know I can change the htaccess a bit and have ALL php parse ssi stuff, but I only really need it on one page and don't want to bog the server down making all pages doable.

My page was shtml and does a call to a cgi file. I've switched to php extensions now and want to figure a way to keep this part usable. I've tried using the php include direct to the cgi file and I've tried to put the code on a separate shtml page, then including it onto my php page. No go.

>> Or do you think there really won't be any more delay/bog considering PHP itself is serverside already thus making it parsing SSI won't cause any further delays anyways?

Thanks.

mordred
01-20-2003, 09:14 PM
You could try the virtual() function.
http://www.php.net/manual/en/function.virtual.php

pb&j
01-21-2003, 07:16 AM
Perfect! Cheers :thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum