View Full Version : Need some help please
D-Orange
July 28th, 2001, 16:03
I've installed a script on my server and need to put a code on my html page. The problem is that I have a php page. Please look at the code and tell me what I have to change to make it work...
<!--#include virtual="cgi-bin/status.pl?top=10" -->
niv
July 28th, 2001, 16:43
make an .htaccess file in that directory and place:
AddHandler server-parsed .php
in there. it might just do it.
You cant have the same extension parsed both by php and ssi, though everything you can do in SSI is available in php. To include that file just use the php code <?php virtual("cgi-bin/status.pl?top=10"); ?>
D-Orange
July 29th, 2001, 04:14
Thank you jw. I knew there was code for SSI in PHP, but I didn't knew the code.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.