Blog Archives

PHP Tutorial : Upper Case Characters

Another week, another fresh post over here. I will write shortly about two ways on how to make characters/letters upper case (capitalize). One way its strtoupper (string to upper) which converts all string, and the second its for first character

Click on title to read the entire article

Tagged with: , , , , , , , ,
Posted in Short PHP Functions

PHP Tutorial : Exit and Die Functions

hi, I have two mins to write about those two very basic functions which will make your script to stop completely, the code will not be interpreted anymore before the line where says exit or die. have some tests (first

Click on title to read the entire article

Tagged with: , , , , ,
Posted in Short PHP Functions

PHP Tutorial : Get file extension

With the next three lines of php code you will be able to get a file extension.

Tagged with: , , , , ,
Posted in Short PHP Functions

PHP Tutorial : Valid email checking script

Hi, Do you have any newsletters, contact forms or other pages where you require an email address ? If so, did you ever thought that someone might type “asd”, “452” and other dummy words instead of a valid email address?

Click on title to read the entire article

Tagged with: , , , , , , , , , ,
Posted in Short PHP Functions

PHP Tutorial : Function To Refresh a Page

Well, This php function uses the html meta tag and its refresh attribute. I use it because I can easily estabilish how many seconds to wait before refreshing the page : nice, isn’t it? There is already a php function

Click on title to read the entire article

Tagged with: , ,
Posted in Short PHP Functions