Free PHP scripts, tutorials, ebooks and downloads

del.icio.us del.icio.us  |  digg Digg  |  RSS Subscribe

Read my articles below and learn new things on PHP, regular expression, image handling and a lot more cool stuffs. Need a custom script? Send your mail to me [at] nashruddin.com and I'll post the code here, for free!

Regular Expression for File Extension

Nov 10, 2008 | Tags: Regex, PHP | 10 comments

Getting file's extension is not as easy as it looks. This is because there is no strict format for file extensions. To obtain the extension from file names, you have to use regular expression. See the following example. Read more

Remove Directories Recursively with PHP

Nov 9, 2008 | Tags: PHP | 6 comments

At many times we need to a directory. Unfortunately we cannot simply use rmdir(), since it only removes empty directories. In this article, I will explain how to write recursive function to solve the task. Read more

Building Dynamic SQL String from Associative Array

Nov 7, 2008 | Tags: PHP | 5 comments

It would be nice to have functions that convert associative arrays to SQL queries. Such a function will save our time from building queries. The functions take two main parameters, the name of the table and the data to be inserted in associative array. Read more

Starting Zend Framework

Nov 7, 2008 | Tags: PHP

After building lots of projects, I realize that I spend a lot of time just to writing repeating (and boring) code; select, insert, delete, and update rows. I have to find a way to increase my coding speed, and I choose Zend Framework. Read more

Displaying Random Quotes

Nov 7, 2008 | Tags: PHP

Displaying random quotes is the easiest thing to do with PHP. But in case you don't know how, here it is. Read more

Get Summary From a Long Paragraph

Nov 7, 2008 | Tags: PHP | 1 comment

If you have recent news you want to display in your homepage, you might want to display only the summaries--a short paragraph with only 20-25 words. Read more

How to Read Command Line Arguments from Your Script

Nov 7, 2008 | Tags: PHP

Writing scripts that run from command line is sometimes useful. It gives us more flexibility rather than scripts that called from web browsers. But passing parameters to these scripts is a little different. Learn how to read command line arguments from your script. Read more

Tags

Recent Posts

  1. OpenCV Utility: Reading Image Pixels Value
  2. OpenCV Circular ROI
  3. OpenCV 2.0 Installation on Windows XP and Visual Studio 2008
  4. Runtime ROI Selection using Mouse
  5. Real Time Eye Tracking and Blink Detection
View Archives

About the Author

avatar Cool PHP programmer writing cool PHP scripts. Feel free to contact
Tel. +62 31 8662872
+62 856 338 6017
ICQ 489571630
Skype dede_bl4ckheart
Yahoo dede_bl4ckheart
Google nashruddin.amin

Recommended Sites:

Hacker's HTTP Client
HTML and CSS Tutorials
Stop Dreaming Start Action
Online Quran and Translation