Blog Archives

PHP Tutorial : Get Protocol

I saw this problem/question on a few forums and I finded it useful to post on my blog too due to low results on google that gives you what you need. So,  how to get the protocol of a URL

Click on title to read the entire article

Tagged with: , , , , ,
Posted in Useful PHP

PHP Tutorial : Ctype character type checking

Happy 1st June for those under 18 Yesterday I’ve found a nice function in php called ctype. And? What it does? Well, I see it as a replacement for regular expressions. PHP Ctype function checks for character type. Let’s hear

Click on title to read the entire article

Tagged with: , , , , , , , , , , , , , , ,
Posted in Useful PHP

PHP Tutorial : Get line number

As you might know, PHP Server comes with built-in / already defined constants. Today I’ve been discovering a nice one which gets the line number in a file for you. This may be very usefull in a lot of cases,

Click on title to read the entire article

Tagged with: , , , , ,
Posted in Useful PHP

PHP Tutorial : Extract function

A shame for me but I must tell you this function called extract() simply rocks : it will extract “keys” from an array and convert them into variables, so no more needed to manually declare variables for validation purposes from

Click on title to read the entire article

Tagged with: , ,
Posted in Useful PHP

PHP Tutorial : Create a RSS / XMLS Feed

Welcome, In this tutorial I will show you how to create a basic rss / xml feed with php. Basically, if you know how to create a feed in notepad, wordpad or whatever text editor, this will be easy. The

Click on title to read the entire article

Tagged with: , , , , , , , , , , , , ,
Posted in Useful PHP