PHP web development – How PHP Benefits
Before building website you need to know which language you are going to use in a professional looking website. PHP is one of the best and easy to use programming language as it can be run to any operating system. PHP is free language so that is the huge advantage of this language. For handling [...]
42 Tips for optimizing your php code
1. If a method can be static, declare it static. Speed improvement is by a factor of 4. 2. echo is faster than print. 3. Use echo’s multiple parameters instead of string concatenation. 4. Set the maxvalue for your for-loops before and not in the loop. 5. Unset your variables to free memory, especially large [...]
Creating Custom Error Messages in Apache
Introduction The .htaccess file is a file found in Apache servers that allows you to manipulate the behaviour of the server. A very common use is to create custom error messages for server errors. Examples of such errors are “404 Not Found” (say when you click on a broken link), and the “500 Internal Server [...]
Develop PHP Application in VS.Php for Visual Studio
You must be ammazed at strange kind of title for this blog post but yeah, this is 101% true and the guys at jcxsoftware , who are committed to provide .NET develpers a platform to develop better web applications using the state of art PHP technology, yeah PHP is better called to be a tech [...]
How To Prevent Your Blog From Leaking PageRank
In simple terms, PageRank leakage/dilution is when outbound links siphon off PageRank which would normally be distributed to internal pages, therefore reducing your sites overall PageRank. How much of an effect it has on your site will depend on the strength of your internal linking and how many outbound links you have. There are two [...]
Forcing www (or no-www) in domain name
One of the first things I do when I begin implementing a site is to force the www (or no-www) in the domain name. Why would I want to do this? For search engine optimization of course. For example, naseerahmad.com redirects to www.naseerahmad.com. What this means for Google is that it gets crawled as one [...]
Unicode Data with PHP 5 and MySQL 4.1
Unicode background In the ever expanding world of e-commerce and information technology, one thing above all is coming to the forefront of internet design – globalization. For many large companies, web documents are translated into many different languages. However, the computer technologies we use for storing data weren’t originally designed to deal with information in [...]
How to – Using PHP To Backup MySQL Database
There are at least three ways to backup your MySQL Database : Execute a database backup query from PHP file. Run mysqldump using system() function. Use phpMyAdmin to do the backup. Execute a database backup query from PHP file Below is an example of using SELECT INTO OUTFILE query for creating table backup : <?php [...]





I'm listed in Technology



