I'm transmitting values from a page to an other this way:
<a href="page_name.php?<?php echo base64_encode($value_new ?>=
<?php echo base64_encode($values_new); ?>">
How can I get these values on another page by using base64_encode ?
Here is the URL when I use base64_encode:
page_name.php?YW1vdW50=MTQ5OQ==YW1=MTQ5OQvdW50
Please give me any suggestion if any one has.
base64_encodeproduces string, containing equal signs among others. Hence it’s not possible to use the value it returns as is in query params. Your code even does not have matched parenthesis. You might want tourlencodethe value, and dobase64_decodeon the handler page, but at the moment this code is far from being usable.