Tag Archive: PHP

May 24

Install WordPress & configure it

WordPress is perhaps the best free, open-source blogging script, provided with the ultimate flexibility of using your own server and domain name, without the compulsion to display any credits/links.WordPress is the most widely used blogging software, powering more than 70 million blogs, including The Technofreak. All right Sparky, let’s install WordPress

Mar 27

Hook System with PHP

I was recently coding a web-application base in PHP and it occurred to me that including a hooking system won’t be a bad idea. I like the way hooks are used in wordpress for almost every task. Implementing a hook system makes the application more flexible and modular, all with a small bit of code.

Mar 14

How to get localhost online – apache

Almost every website developer has Apache installed on his machine to test the code. Specifically if you are a professional web developer, and want to show a preview/current status of work to your clients, getting your http://localhost online can be of great help.

Mar 05

WordPress Plugin: true Google 404

true Google 404 is a free wordpress plugin that adds functionality of displaying a list of related links on your website when a reader encounters a 404 error. It transforms your standard “We can’t find that” to “Maybe one of these is what you are looking for” and displays a list of related links with some …

Continue reading »

Jan 20

PHP Template Engine Comparison

Today I will discuss a project on PHP template engines with you. I’ll do a little performance and resource usage test on different PHP templating platforms. This is not a test of overall performance. This is just a test for the properties of my personal interest. Template engines have many features, but usually only a small subset is used by most of the programmers. In this bench marking process, I’ll test …

Continue reading »

Jan 20

Checking PHP Exceptions’ speed

icon_smile

We sometimes use exceptions to manage the flow of our scripts. I guess the use of exceptions should cause a lack in performance. To verify this, I will do a small benchmark test to measure the performance difference in execution of a simple script configured to throw exceptions and once without them.So let’s begin First a not so useful script to find odd numbers …

Continue reading »

Aug 21

Export Mysql data to CSV with PHP

Want to export your Mysql data to a CSV(comma seperated value) file? In this tutorial learn how to export your data from Mysql into a CSV file. Fist off we start by creating the connection to the Mysql database: $host: this is the location for the Mysql server it can be a hostname or an …

Continue reading »

Aug 10

Create a Captcha with PHP

captch_generation_and_matching_STEPS

We’re going to learn how how CAPTCHA (CompletelyAutomated Public Turing test to tell Computers and Humans Apart) works and how it minimizes automatic sign-up of forms. We will also be creating a simple CAPTCHA script in PHP to illustrate this. Basically CAPTCHA works in the following manner: Create Random Value: Some random string is generated, random values are often hard to guess …

Continue reading »

Older posts «