This website is very old, if you are interested in my web development services, check out my new website

Free PHP ODP Script

Free PHP ODP Script

Install and customize

Learn how to install, manage and customize the script.

Installation

  • Decompress the zip file.
  • Modify the /config.php file to set up your desired configuration.
  • Upload the files to your server's root directory or subdirectory.
  • (Only if using cache) Chmod /cache directory (or the indicated in the /config.php file) to 777.

Customization

The script is totally template-based. All code returned is editable through the template files: /template_index.php for index and categories and /template_search.php for search results.

Each template block is saved in a PHP variable, for instance:

$TEMPLATE["HEADING"] = <<<EOF Here the editable text! EOF;

Within these variables you can use any HTML code, also "labels" that will allow you to use dynamic content generated by the script. This labels are presented within brackets, for instance [CATEGORY_NAME].

Read the template files and look the returned code for better understanding.

To set up a home category different from the index category of ODP, edit the home_path variable of the /config.php file.

To enable the cacheability of the directory categories/searches, change the use_cache variable of the /config.php file to TRUE, and choose a cache expiration (default to 30 days) by editing the cache_expiration variable.

Hire me

Now I'm available for hiring, detail me your project and I'll send you an estimate.

I work part time to develop a Wordpress Theme for loan related websites such as payday loans and financial blogs.

Become a sponsor

Increase your link popularity and improve your search engine rankings by placing your link in the literally thousands of websites using any of my scripts or themes.

Contact me asking for details.

Any question or comment?

Leave a comment on the weblog or contact me if it's a private matter.

Get the updates

Visit the updates blog or subscribe to any of these feeds: