lew14 Posted September 30, 2008 Share Posted September 30, 2008 I am getting the following error for my php that resend activation email and passwords. I do not understand so I cannot fix. Just need understanding on how to fix as I am learning php now. Errors are For Password: Fatal error: Call to undefined function checkRefer() in /home/traffic1/public_html/resend.php on line 13 For Resend: Fatal error: Call to undefined function checkRefer() in /home/traffic1/public_html/resend.php on line 46 Here is what the errors look like. I am not sure how to fix as I do not understand what I am doing. Becoming programmer but have not gotten to this yet. Password: <?php include("phpinc.incfile.php"); include($varsfile); include($funcsfile); mysql_connect($ssqldb_rhost, $ssqldb_ruser, $ssqldb_rpswd); mysql_select_db($ssqldb_exchname); $emailincs = mysql_result(mysql_query("SELECT content FROM templates WHERE type='emailincludes'"), 0); $emailheader = mysql_result(mysql_query("SELECT content FROM templates WHERE type='emailheader'"), 0); $emailfooter = mysql_result(mysql_query("SELECT content FROM templates WHERE type='emailfooter'"), 0); if ($_POST['form'] == 'sent') { $http_ref_page = $_SERVER['HTTP_REFERER']; if ($check_http_referrer == 1) { checkRefer($http_ref_page); Resend } if ($_POST['formc'] == 'resenda') { if ($check_http_referrer == 1) { $http_ref_page = $_SERVER['HTTP_REFERER']; checkRefer($http_ref_page); } 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.