-
July 28th, 2001, 16:03
#1
Senior Member
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
#2
striking reality
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
#3
Pro Member
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
#4
Senior Member
Thank you jw. I knew there was code for SSI in PHP, but I didn't knew the code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Bookmarks