Parfum Shop's Blog

You come when you need, away when you get

Archives for the ‘Web Programming’ Category

Cron 2 database on separate server, to get same content (Syncrhonize content multiple site)

By • Dec 17th, 2008 • Category: Programming, Web Programming

If you need to make 2 or more site with same content, but have different design and server and domain, you can use this script. If you want to run automatically every hour, day, week or month, you can use PHPJobSceduler To Run This Script. Or you can just put this script on your source [...]


How to Backup and Restore (Export and Import) MySQL Databases Tutorial Using Shell

By • Dec 16th, 2008 • Category: Web Programming

phpMyAdmin can be used to export or backup MySQL databases easily. However, if the database size is very big, it probably won


Get Visitor IP Address

By • Dec 1st, 2008 • Category: Web Programming

Does what it says on the tin. Multiple proxies may cause problems, and I’d like to know how to detect them. // Using if…else… if (getenv(HTTP_X_FORWARDED_FOR)) { $ip = getenv(HTTP_X_FORWARDED_FOR); } else { $ip = getenv(REMOTE_ADDR); } // Using the ternary operator $ip = (getenv(HTTP_X_FORWARDED_FOR)) ? getenv(HTTP_X_FORWARDED_FOR) : getenv(REMOTE_ADDR); I’m write just for remember it.


How to be number one on Google?

By • Apr 1st, 2008 • Category: General, Web Programming

My website number one in my targeted Keyword in google. It’s “Safety Shoes“. My website built on May 2007 and have been number one on September. It’s SEO or anything else? I also successfully with another Keyword, “Kacamata King’s“, “Parfum Import“, “parfum shop“, “Sepatu Safety King’s“, “King’s Safety Shoe“, “sepatu krushers“, etc. Don’t forget to [...]


Get Fax Services Over The Web on Axacore.com

By • Mar 13th, 2008 • Category: Internet, Software, Web Programming

Do you have problem with your business and your mobility? Specialy in the fax document and document management? Now, you can say no more. Get your fax anywhere, just put your PDA or your lap top or just your mobile phone, and well done. Fax Service from axacore.com answer and solve your problem. Axacore.com is [...]


10 Steps to a Spider Friendly Website

By • Oct 19th, 2007 • Category: Internet, Programming, Web Programming

The 10 steps below will ensure that GoogleBot and other search engine spiders are able to crawl your site with little effort when they visit you. The search engines job is to index as many pages as possible from the web and they do this by trying to find the most efficient pages to process [...]