In file1.php
I am sending data through this code:
header("Location: file2.php? age=20");
In file2.php
I am hoping to get this data through POST…
$age = $_POST['age'];
…But I not getting it. I would like to get data via POST at page2.php
.
Any help would be appreciated.