PHP Tips

Results via Envato Market

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