PHP Tips

Results via Envato Market

For those of you who host multiple sites on your server but only have one ip, and no dns server. Maybe your hosting on your home dsl line and using a

This code prevents session hijacking. It compares the ip number of the creator with that of the user of the session. If they don’t match it gives an

Okay so you want to make a quick if in the middle of a string. You could to a quick function to return one value if a condition is true