function check_message($message,$lang,$name) {
if (!file_exists($message)) {
echo "003 for bad path to the message";
System("curl http://46.101.131.21/dialer/code.php -G -d\"customergeneralid=$_GET[customergeneralid]&idoftheactualcall=$_GET[idoftheactualcall]&returncode=003\"");
exit();
}
if (!file_exists($lang)) {
echo "004 the target langauge doesnt exists";
System("curl http://46.101.131.21/dialer/code.php -G -d\"customergeneralid=$_GET[customergeneralid]&idoftheactualcall=$_GET[idoftheactualcall]&returncode=004\"");
exit();
}
if (!file_exists($name)) {
echo "001 the target name doesnt exists";
System("curl http://46.101.131.21/dialer/code.php -G -d\"customergeneralid=$_GET[customergeneralid]&idoftheactualcall=$_GET[idoftheactualcall]&returncode=001\"");
exit();
}
}
?>
No hay comentarios:
Publicar un comentario