code

Create unique URL Slug for codeigniter

We all used to create unique IDS using auto incremented values in MySql for user IDs or identity values which uniquely identifies a record. While creating a web app usually we use this same ids to refer to that particular record. Consider the example of user id. Suppose a user has got an ID value of 2000 generally we used to refer that in our URLS like this http://myapp.com/user/2000 But it is actually a good habit to keep ids open

(continue →)
mge

How to show unlimited number of products in Magento latest collection page

A major confusion while working with Magento was representing more than 5 latest products in latest collection page. And in my case client need only latest collection page. In fact he wants to show all his products in latest collection page. Latest collection page compares Product new From date and to date values and shows the products. By default the page will show only 5 products. So how to overcome this problem!! Hope you know how to setup a latest

(continue →)
jqmag

How to load custom javascript in magento

Rounded edges or curvy corners are always a trendy style in web designing.  Early stages we used images to make the edges rounded, later it replace with css or javascript alternatives. Among all the easiest method is curvycorners.js. Just include this javascript file and some 4-5 lines of code, your job is done. You can find examples and usage guide in curvycorners.net. I am not going to explain much about curvy corners here, you just go to the above mentioned website and

(continue →)
phphp

Object oriented PHP programming: An introduction

Object oriented php programming. By the reign of PHP 5 oops concept worked well in a server scripting language. OOPS or Object oriented programming is a very easy method of coding. If you are still not aware of OOPS concepts, just google it and collect some knowledge. I assume you have good knowledge of OOPS concepts and you want to implement those concepts to your PHP code to make perfect output. I shall give you a small introduction to practical

(continue →)

Face detection using PHP.

Hai, Wht do u feel …nice title…its possible guys thanks to Par Maurice Svay le vendredi for a successful script. I tested it many times with many jpgs of various sizes …and gave me amazing result. Script uses GD so gd library should be loaded on your PHP server. Wht…stop sentence and give me the code????…ya coming …just go straight to Svay through this link and grab it. http://svay.com/blog/index/post/2009/06/19/Face-detection-in-pure-PHP-(without-OpenCV) Enjoy

(continue →)