header("Location:post.php?id=120");
This is the method which i am using now to pass values between two pages.
This is not a secure way.
Instead of that i want to use “post” method of sending values while redirecting.
Is there any equivalent way to “post” in PHP ?
I am looking at alternate ways to do this (since not secure)
Theres nothing insecure about passing an id between pages. That actually quite common and is even done here on SO.
If you’re horribly worried about users seeing the id, why not save your id on a session variable? That way its a little more hidden.