Login enable using IP check
I have successfully created a login script for my webpage but now i need some help from you guys on security.
1) I want to enable MD5 for my password.
2) I want a script which allows a person to login from specific, If he is using out of raange from the specific he should be rejected.
so please help me getting this done.....also suggest me if cookie & sesstion ID generation is good thing???