Log in

View Full Version : how to use hidden with header



ta158897
10-14-2009, 07:46 PM
Hi

I am trying to remove all the variables calls so that users can not play with the values. I want to use hidden as much as I can. But how I deal with following situation? This $data will change a lot according to what user does, so I am not leaning towards using session variable or cookies. What is the best practice?

$nfile="mdk_home.php?ch=$data";
header("Location: ".str_replace(" ","%20", $nfile));

Thanks