encoding and decoding algorithms in php

fiakebeatio

New Member
Is is a bad practice to show database values in get method for security point of view? for example:- 'http://example.com/user/id/10' where 10 takes value from database.Please can anyone suggest me a standard encoding and decoding algorithms that takes two parameter (both for encoding and decoding) so that one can be stored as a variable in php file(or in database) and the other parameter being a string to be encoded or decoded.Thank you in advance
 
Back
Top