uisneach Posted November 8, 2008 Author Share Posted November 8, 2008 tx for your patience i am going to try your tip p.s. do i have to insert this at the top of that page? session_start(); cheers Quote Link to comment Share on other sites More sharing options...
uisneach Posted November 8, 2008 Author Share Posted November 8, 2008 [ code] <?php $giorno = $_POST['giorno']; $mese = $_POST['mese']; $anno = $_POST['anno']; $orario = $_POST['orario']; $direzione = $_POST['direzione']; $annunciata = $_POST ['annunciata']; $var = $annunciata; if (md5($usercode)==$_SESSION['vercode']) { //code right } else { //code wrong echo "code wrong!!!"; exit(); } ?> [ /code] It seems correct but not still not works Quote Link to comment Share on other sites More sharing options...
Yesideez Posted November 8, 2008 Share Posted November 8, 2008 Yes, when using session variables you need that. Might need to make a topic about session variables and frames - I'm not sure how they behave. Quote Link to comment Share on other sites More sharing options...
Yesideez Posted November 8, 2008 Share Posted November 8, 2008 Try adding session_start() to the start of inserisci2.php as well. Quote Link to comment Share on other sites More sharing options...
uisneach Posted November 8, 2008 Author Share Posted November 8, 2008 Nothing changed. Thx as well, i will try later. No prob, you have been great to help me i appreciate I am really noob so it's more complicated!! ciao Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.