About base64_decode. There is also a problem of assignment. Page $ id = $ _ GET ['id']; $ _ GET ['id'] is encrypted using base64_decode. What should I do. To show $ id = the original ID value? For example, the original ID = 1 is encrypted by base64_decode to obtain the question about base64_decode of MQ. There is also a problem of assignment.
Page $ id = $ _ GET ['id']; $ _ GET ['id'] is encrypted using base64_decode.
What should I do. Can be displayed
$ Id = What is the original ID value?
For example, the original ID = 1 is encrypted by base64_decode to get MQ =
The function or method to use. How can I restore MQ = to 1?
------ Solution --------------------
PHP code
Base64_encode ('1') = 'mq = '; base64_decode ('mq =') = '1 ';
------ Solution --------------------
Base64_encode encoding
Base64_decode decoding
Please do not encrypt it later.
$ ID = base64_encode ($ ID );
Transfer to other pages
$ ID = base64_decode ($ _ GET ['id'])?
Decoding