"; } set_error_handler(errfunc); error_reporting(E_ALL); include('/home/tpkizlej/connectdb.php'); if(!$db) { ?>

Jokin on vialla, kantaa ei löydy.

0) { if(strlen($_GET['kiitos'])<7) { ?>

Noh noh.

real_escape_string($id)."' and ". "hash='".$db->real_escape_string($hash)."'"; //print $q; $r=$db->query($q); if(!$r) { ?>

Virheellinen kiitospyyntö.

fetch_row(); if(!$a) { ?>

Virheellinen kiitospyyntö.

real_escape_string($_POST['payer_name'])."',". "'".$db->real_escape_string($_POST['payer_addr1'])."',". "'".$db->real_escape_string($_POST['payer_addr2'])."',". "'".$db->real_escape_string($_POST['payer_zipcode'])."',". "'".$db->real_escape_string($_POST['payer_city'])."',". "'".$db->real_escape_string($_POST['payer_country'])."',". "'".$db->real_escape_string($_POST['payer_email'])."',". "'".$db->real_escape_string($_POST['recvr_name'])."',". "'".$db->real_escape_string($_POST['recvr_addr1'])."',". "'".$db->real_escape_string($_POST['recvr_addr2'])."',". "'".$db->real_escape_string($_POST['recvr_zipcode'])."',". "'".$db->real_escape_string($_POST['recvr_city'])."',". "'".$db->real_escape_string($_POST['recvr_country'])."',". "'".$db->real_escape_string($_POST['recvr_email'])."',". "'".$db->real_escape_string($_POST['pdfonly'])."',". "'".time()."',". "'".$db->real_escape_string($_SERVER['REMOTE_ADDR'])."',". "'".$db->real_escape_string($_POST['referer'])."',". "'$hash')"; //print "DOING: $q"; $res=$db->query($q); if($res) { //print "query was ok methinks!\n"; $id = $db->insert_id; $url="http://www.skrolli.fi/2015/?kiitos=$id$hash"; ?>