Here we have a simple PHP search algorithm that queries a MySQL database and outputs the result. It is a simple alternative to using the FULLTEXT search feature of MySQL. The script autmatically takes into consideration how many search words are in the search string which is submitted from the HTML search form. It then …
Category Archives: PHP
greek letters using strtoupper and strtolower
Solution
HTML Parsing and Screen Scraping with the Simple HTML DOM Library
If you need to parse HTML, regular expressions aren’t the way to go. In this tutorial, you’ll learn how to use an open source, easily learned parser, to read, modify, and spit back out HTML from external sources. Using nettuts as an example, you’ll learn how to get a list of all the articles published …
Continue reading “HTML Parsing and Screen Scraping with the Simple HTML DOM Library”
PHP pagination
http://www.catchmyfame.com/2007/07/28/finally-the-simple-pagination-class/ http://mis-algoritmos.com/2007/05/27/digg-style-pagination-class/
PHP HTTP Headers
If you want to check your headers, you can use web based tools like: web-sniffer.net, web-browser extensions (e.g. LiveHTTPHeaders, ieHTTPHeaders) or another third-party software tool.
PHP APC Functions
APC Functions Table of Contents apc_add — Cache a variable in the data store apc_bin_dump — Get a binary dump of the given files and user variables