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 Link to comment https://forums.phpfreaks.com/topic/131685-how-and-where-put-the-captcha/page/2/#findComment-685590 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 Link to comment https://forums.phpfreaks.com/topic/131685-how-and-where-put-the-captcha/page/2/#findComment-685593 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. Link to comment https://forums.phpfreaks.com/topic/131685-how-and-where-put-the-captcha/page/2/#findComment-685596 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. Link to comment https://forums.phpfreaks.com/topic/131685-how-and-where-put-the-captcha/page/2/#findComment-685597 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 Link to comment https://forums.phpfreaks.com/topic/131685-how-and-where-put-the-captcha/page/2/#findComment-685598 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.