0 Schlabo's Scripts

Schlabo's
Scripts
- home -


Scripts
 Information
 Admin
 POTD
 DL
 SP
 COW

Download
 Download

Installation & Usage
 Overview
 Installation
 Q&A: Admin
 Q&A: POTD
 Q&A: DL
 Q&A: SP
 Q&A: COW

Support
 Troubleshooting

General
 Startpage
 What's New?
 Quotes
 Future
 Contact
 Privacy
 Terms of Use
 Copyright

 


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");