Hello,
How are you all? I am new to php and this group. I am trying to develop a page in html, and I am stuck with url parameter.
I passed my url as "http://localhost/test.php?fname=test&score=-32"
How can I get fname and score so that I can print out? I tried with $_GET, $HTTP_GET_VARS["parameter"] and nothing works.
Another thing is I tried to set session value instead of passing parameter. Here is my code:
session_save_path('c:\windows');
session_start();
$SESSION['fname'] = $POST["fname"];
$_SESSION['totalscore'] = $totalscore;
It only work if I called the page itself. If I want to call session from another page, session value is blank. How can I correct this problem? I run PHP on Windows XP Professional.
Thank you very much for your help.
Phwae