I used the solution accepted for this question for encrypting by id for example in /index.php?id=3 . The problem is I cannot send the encrypted value as an
There is no use in encrypting parameters. Send it as is:
/index.php?id=3
nothing wrong with it.