Skorch's PHP Script Library

My PHP/MySql Scripts!

PHP stands for hypertext pre-processor. This is a powerful server-side scripting language that is very flexible. When you add a MySql database interface to your php scripts you have effectively given your web pages memory and increased functionality. Then you will have increased your ability to deliver quality content, every webmaster's ultimate goal.



EZ Templater

This is a class based template system. It started out as a URL rewriter with MySql support. The way I rewrote the URL allowed me to echo unlimited database rows using only one file. I included all style hooks and layout info in this one file. The unique content of each page is stored in a MySql Database row. The makeup of the linking URL determines which MySql row is selected to be echo by the template file. As long as a simple set of rules are followed you will have a "reverse directory". This means that any URL meeting a certain rule is rewritten into another specified URL. As long as the specified URL exists, and has the requested file in it. You will now have a MySql controlled CMS system.

Download EZ Templater

It's a very search engine friendly tactic too, since robots will view your internal hyperlinks as valid URLs, rather than dynamic ones. Dynamic URLs are links which have unallowed charactors that result in errors or uncompliance. They are also very unattractive to visitors.



EZ Log-in

This is a simple session-based log-in script. Version 1.1 will have an administration panel and increased security. I turned off PHPSESSID, with my .htaccess file, and used unique Session Vars to control access. The script will still work with it on but it will make your URL dynamic, and therefore less search engine friendly. The log-in form and the processing logic are separate files to increase loading speed. You basically create a member by storing thier name and password in a MySql database. The verify file will search the database for the user's password and then check to see if the usernames match, the $_post[name] vs database[query], If a problem occurs the user is redirected to the error page you specify. If the username/password is found in your MySql database they are redirected to your private page. You must lock all private pages.



Try EZ Log-in here

Random Images with Text Caption

A W3 HTML 4.01 img tag is generated. (X)HTML Compliant also!. Those days of renaming your jpgs pic1.jpg and pic2.jpg are over. Do you hate not being able to have two or three or even five hundred image sizes for a Random Set of Images. Do you want to have gifs and jpgs in the same Random Image Set? Then this script is your answer!

Download Skorch's Random Image Script

November 13, 2005.Version 2.0 is now available.
This is a object-orientated script that solves many of the problems with V 1.3 The main feature is the ability to format your own data and group information into sets. It's designed to randomize Pictures, logos and Affiliate ads. Since I separated the formating data from the script you will be able to randomize any part of your web site, layout or design. I'm also renaming it to Skorch's Random Information Displayer Version 2.0 I designed it with a stripped down version of EZ Query. I am offering two versions(independant and inter-dependant). If you use or plan to use EZ Query, or any of Skorch's Scripts, you would get better performance from the inter-dependant version.


OOP PHP scripts


You like to develop your own custom web applications? Then check out the PHP classes published by the Scriptmaster, Skorch. Theses classes make programming easier, quicker and more legible.

Learn more about PHP Classes.

I plan on adding a support forum and a few other things. So come back soon and check for the newest php scripts.

Back to HotScripts

Webmasters | About | Contact