Links SQL Help


Table of Contents

PHP Front End

With Links SQL 2.1.0, you can now run your Links SQL directory using either PHP or Perl! Included with Links SQL is a page.php script in the same directory as your perl scripts. This file lets you perform any user side function such as Add a Link, Modify a Link, Search Links, etc.

The admin area is still run in perl, and the two work together seamlessly. If you change a setting your admin area, the php front end will know about it.

If you use page.php, it will not use the regular Links SQL templates, but rather use real PHP templates. You can put in there any command that you would put into a normal PHP file. See the comments in each template for more information. page.php will use whatever template set you specify in Build Options, and add _php to it. So if you have 'default' as your template set you want to use, page.php will access it's templates from default_php directory. This is so you can use page.php and your regular cgi scripts interchangeably.

Please read the README.php for a list of differences between the PHP version and the Perl version. We are working to make the feature set identical.

Table of Contents