I have a web page which works fine on the current web server. Now I'm trying to move it to another web server, I got an error msg:Fatal error: Call to unsupported or undefined function getqsv() in form.php on line 18
Here are some of the codes:
if($qsv==""){
$qsv=getqsv($HTTP_SERVER_VARS[HTTP_REFERER]);
if($qsv=="") $qsv=$HTTP_SERVER_VARS[QUERY_STRING];
}
function getqsv($s1){
$s1=strstr($s1,"?");
$s1=substr($s1,1);
return($s1);
}
I don't know what's wrong. Anybody can help?
Thanks.