July 28th, 2001, 16:03
Need some help please
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" -->
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.
July 28th, 2001, 19:53
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"); ?>
July 29th, 2001, 04:14
Thank you jw. I knew there was code for SSI in PHP, but I didn't knew the code.