How do I transfer control from within a certain php file to another file. For instance say I am executing code in A.php and I have done all the execution that I want and now want to goto B.php and pass is some variables.
I have been using code like:
header("Cache-Control: no-cache, must-revalidate");
header("Location:./freecards.php?errMsg=$errMsg");
But is there not a better ay of doing this ?
Thanks
Sam[/quote]

