i have a php application for a company, using MySql Database, what i want is there any way to restrict the users to access to their accounts from home? since we are not using a static IP's
There are several approaches:
Host the site on a company LAN so it isn't accessible over the Internet
Get a static IP address (you're a company, you should be able to get an Internet connection which comes with static IPs, my consumer ADSL package comes with one!).
Perform authentication with client side SSL certificates and install them on the browsers of the office computers