Browsing articles in "PHP"
Mar
3
2011

Mod URL Rewrite

What is Mod URL Rewrite… A basic understanding? Mod URL Rewrite mean to a.) A fancy URL. b.) A URL that is Search Engine Friendly. C.) A URL that is user friendly too. So, Mod URL Rewrite means to create a fancy web URL that is User and Search Engine Friendly too. Example: Original URL www.yourwebsite.com/home.php Fancy URL www.yourwebsite.com/myhome Another Example: Original URL www.yourwebsite.com/post.php?year=2011&month=3 Fancy URL www.yourwebsite.com/post/2011/3 Modification from original URL to a Fancy URL is [...]

Feb
28
2011

Image Resize in PHP

Today i am working on a PHP project and i needed a PHP function which dynamically resize uploaded image. I searched in Google and other PHP forum for 2 – 3 hours but didn’t find any perfect solution for my need , some of the functions can resize only jpeg images while some of the functions may resize png and gif images also but the output result is jpeg. So i decided to wrote a [...]