ADMIN-Q&A
<
Back to the Overview...
 |
Are
the scripts compatible to PHP? |
Schlabo's
Scripts are coded in Perl (CGI), but they can also be used from a PHP-based
site. Everything's the same except that you have to use different SSI-commands.
To include a Perl-script to a PHP-page (for example the POTD Thumbnail-script)
use this:
virtual("./cgi-bin/schlabo/potd_thumbnail.pl");
As this is an Apache-specific
command, it might not work on your server. In case it doesn't, try this
method (thanks to Shawn):
readfile("http://yoursite.com/cgi-bin/schlabo/potd_thumbnail.pl");