Hi
I read and read many forums but still cannot fathom out why my program that worked fine on W98 with PHP 4.0.6 and MySql but I cannot even get a simple test to work with sessions.
Please can someone just convert the following into something that will work with register_globals=Off and using the new style of seesions.
this is my text.htm file code:-
<head>
<title>Test Client Input</title>
</head>
<body>
<FORM METHOD=GET ACTION="text.php">
Who is your favourite author?
<INPUT NAME="Author" TYPE="TEXT">
<BR>
<BR>
<INPUT TYPE=SUBMIT>
</FORM>
</BODY>
Which then goes to my text.php file:-
<head>
<title>Testing Text</title>
</head>
<body>
Your favourite author is:
<?php
echo $_SESSION['Author'];
?>
</body>
It only gives me the - Your favourite author is: (absolutely blank).
Thanks.