Archive for the ‘PHP scripts’ Category

Example usage of Zend Form Element as a Controller Action Variable

Wednesday, December 24th, 2008

See the code: zend_form_Quick_Form_of_Server_Vars.txt

Tutorial - How to quickly create a flat, local, rendered copy of your dynamic web site’s output files - its web imprint

Saturday, November 15th, 2008

This is a write-up of a recent problem that I have solved. There are many ways to …

Screen Scraping Tutorials and Info

Friday, November 16th, 2007

I’m about to improve / re-design some of my old code that scrapes my customer’s websites …

refactoring - the power of good variable, method and function names within code

Tuesday, October 30th, 2007

Deep in some rainforest, an explorer found a long-lost tribe of people who could only count up …

php - using fopen instead of upload to import external images to website over http

Thursday, October 25th, 2007

If you want to let your website users add their own images to your website you could …

Zend Framework Zend_Db - When to Quote and When Not to Quote User Input

Sunday, August 5th, 2007

If you search the source code of the Zend Framework (version 1.0.0) for the string “get_magic_quotes_gpc” you …

Merging ZEND framework with an existing site - mod_rewrite

Sunday, July 22nd, 2007

In a typical application of the Zend framework, a RewriteRule is created to route …

PHP Script that finds .htaccess within a specified directory

Thursday, May 3rd, 2007

The following script iterates through the directory structure of a website, builds, then displays an array …

PHPeclipse verses NuSphere PhpED - Which is best?

Wednesday, April 18th, 2007

I have just begun to learn how to use the powerful free IDE called Eclipse

What on Earth does a double underscore then parenthesis mean in PHP? __()

Friday, April 13th, 2007

php devilI was taking my first steps at really digging-below-the-surface of the code in WordPress, (trying to re-order the way my Page List was being shown on the sidebar), when I spotted a really strange piece of code in one of the examples: