Sending upload file with email notify

Oct 27, 2010 Author: LinuxAdmin
Sending email notify with stored content wants a good knowledge of email formats. On the first place in the basic stuff is "Content-type": needs to declare the content as "multipart/mixed".

Making a String Uppercase, Lowercase, or Capitalized

Aug 29, 2010 Author: Developer
One occasional problem with PHP is that MySQL supports case-insensitive character fields, but strings in PHP are case sensitive. In a query, MySQL makes no distinction between the words Ferrett, FERRETT,…

Creating a Screen Scraper

Dec 06, 2009 Author: vvaswani
A screen scraper program accesses a web page and picks through the HTML for interesting or useful data. Here's a very simple one that extracts all hyperlinks from a page and then categorizes them. This…

Extracting a Substring Using substr

Nov 29, 2009 Author: makedon
The substr() function returns a part of a string. You provide a string and the position of the first character to be extracted (keep in mind that the first character has the index 0). From this character…

To find the length of a string

Oct 01, 2009 Author: makedon
You may find that sometimes you need the length of a string.