How do I Compress a Whole Folder Linux?

How can I compress a whole directory under a Linux command prompt? You will be using tar command to compress a folder in linux: Where, -z : Compress archive using gzip program -c: Create archive -v: Verbose i.e display progress while creating archive -f: Archive File name For example, you have a direcotrey called mysite.com in […]

Continue

Basic Database Connection using PDO in PHP

In this tutorial we are going to learn  connecting to MySQL with PHP using PDO. “PDO – PHP Data Objects – is a database access layer providing a uniform method of access to multiple databases.” You don’t need to worry about different syntax for different database types, PDO will do this painless.

Did you […]

Continue

How to add RSS url Auto discovery to your site

Every website needs get traffic in order to visible in people’s searches.  When discussing about traffic, RSS aggregation websites are very good source of traffic. They will have automated crawlers to list your site in their websites and you will gain a back link. In some websites they have RSS feeds but failed to discovered […]

Continue

Post Data to an iframe

Posting a data to an iframe is very easy process.  Just set the forms target to load in iframe.

The main advantage of this your form will not reload when you submit the form. It feel like ajax operation but is not really ajax and it loads on the background.

Continue

Find Alexa Rank Of a Website Using PHP

Alexa rank is a online analytics service that continuously analyzing a website and gives your statistics. In this tutorial we are showing how to find Alexa rank of a given URL in PHP. This will help you to create a widget in your website to find the Alexa rank of a particular website. First of […]

Continue
1 2 3 22