<?php
include("../class/db.class.php");
$adsoyad=strip_tags(trim($_POST['adsoyad']));
$zdmail=strip_tags(trim($_POST['email']));
$zdmesaj=strip_tags(trim($_POST['mesaj']));
$mesajtarih=date("d.m.Y H:i:s");
$mesajip=$_SERVER['REMOTE_ADDR'];
$ipsql="SELECT ip FROM zdefter where ip='$mesajip'";
$ipkontrol=$db->baglanti->query($ipsql)->rowCount();
if($ipkontrol>0){echo"ipvar";}else{
if($adsoyad=="" or $zdmail=="" or $zdmesaj==""){echo"formbos";}else{
$sql="insert into zdefter(adsoyad,email,mesaj,ip,tarih)values('$adsoyad','$zdmail','$zdmesaj','$mesajip','$mesajtarih')";
$db->baglanti->exec($sql);
echo"eklendi";
}
}
?>
Warning: include(): open_basedir restriction in effect. File(../class/db.class.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/jhXQb on line 3
Warning: include(../class/db.class.php): Failed to open stream: Operation not permitted in /in/jhXQb on line 3
Warning: include(): Failed opening '../class/db.class.php' for inclusion (include_path='.:') in /in/jhXQb on line 3
Warning: Undefined array key "adsoyad" in /in/jhXQb on line 5
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /in/jhXQb on line 5
Warning: Undefined array key "email" in /in/jhXQb on line 6
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /in/jhXQb on line 6
Warning: Undefined array key "mesaj" in /in/jhXQb on line 7
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /in/jhXQb on line 7
Warning: Undefined array key "REMOTE_ADDR" in /in/jhXQb on line 9
Warning: Undefined variable $db in /in/jhXQb on line 11
Warning: Attempt to read property "baglanti" on null in /in/jhXQb on line 11
Fatal error: Uncaught Error: Call to a member function query() on null in /in/jhXQb:11
Stack trace:
#0 {main}
thrown in /in/jhXQb on line 11
Process exited with code 255.
Output for 8.0.0 - 8.0.12, 8.0.14 - 8.0.30
Warning: include(): open_basedir restriction in effect. File(../class/db.class.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/jhXQb on line 3
Warning: include(../class/db.class.php): Failed to open stream: Operation not permitted in /in/jhXQb on line 3
Warning: include(): Failed opening '../class/db.class.php' for inclusion (include_path='.:') in /in/jhXQb on line 3
Warning: Undefined array key "adsoyad" in /in/jhXQb on line 5
Warning: Undefined array key "email" in /in/jhXQb on line 6
Warning: Undefined array key "mesaj" in /in/jhXQb on line 7
Warning: Undefined array key "REMOTE_ADDR" in /in/jhXQb on line 9
Warning: Undefined variable $db in /in/jhXQb on line 11
Warning: Attempt to read property "baglanti" on null in /in/jhXQb on line 11
Fatal error: Uncaught Error: Call to a member function query() on null in /in/jhXQb:11
Stack trace:
#0 {main}
thrown in /in/jhXQb on line 11
Process exited with code 255.
Output for 8.0.13
Warning: include(../class/db.class.php): Failed to open stream: No such file or directory in /in/jhXQb on line 3
Warning: include(): Failed opening '../class/db.class.php' for inclusion (include_path='.:') in /in/jhXQb on line 3
Warning: Undefined array key "adsoyad" in /in/jhXQb on line 5
Warning: Undefined array key "email" in /in/jhXQb on line 6
Warning: Undefined array key "mesaj" in /in/jhXQb on line 7
Warning: Undefined array key "REMOTE_ADDR" in /in/jhXQb on line 9
Warning: Undefined variable $db in /in/jhXQb on line 11
Warning: Attempt to read property "baglanti" on null in /in/jhXQb on line 11
Fatal error: Uncaught Error: Call to a member function query() on null in /in/jhXQb:11
Stack trace:
#0 {main}
thrown in /in/jhXQb on line 11
Process exited with code 255.
Output for 7.4.33
Warning: include(../class/db.class.php): failed to open stream: No such file or directory in /in/jhXQb on line 3
Warning: include(): Failed opening '../class/db.class.php' for inclusion (include_path='.:') in /in/jhXQb on line 3
Notice: Undefined index: adsoyad in /in/jhXQb on line 5
Notice: Undefined index: email in /in/jhXQb on line 6
Notice: Undefined index: mesaj in /in/jhXQb on line 7
Notice: Undefined index: REMOTE_ADDR in /in/jhXQb on line 9
Notice: Undefined variable: db in /in/jhXQb on line 11
Notice: Trying to get property 'baglanti' of non-object in /in/jhXQb on line 11
Fatal error: Uncaught Error: Call to a member function query() on null in /in/jhXQb:11
Stack trace:
#0 {main}
thrown in /in/jhXQb on line 11
Process exited with code 255.
Warning: include(): open_basedir restriction in effect. File(../class/db.class.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/jhXQb on line 3
Warning: include(../class/db.class.php): failed to open stream: Operation not permitted in /in/jhXQb on line 3
Warning: include(): Failed opening '../class/db.class.php' for inclusion (include_path='.:') in /in/jhXQb on line 3
Notice: Undefined index: adsoyad in /in/jhXQb on line 5
Notice: Undefined index: email in /in/jhXQb on line 6
Notice: Undefined index: mesaj in /in/jhXQb on line 7
Notice: Undefined index: REMOTE_ADDR in /in/jhXQb on line 9
Notice: Undefined variable: db in /in/jhXQb on line 11
Notice: Trying to get property 'baglanti' of non-object in /in/jhXQb on line 11
Fatal error: Uncaught Error: Call to a member function query() on null in /in/jhXQb:11
Stack trace:
#0 {main}
thrown in /in/jhXQb on line 11
Process exited with code 255.
Output for 7.3.32 - 7.3.33
Warning: include(../class/db.class.php): failed to open stream: No such file or directory in /in/jhXQb on line 3
Warning: include(): Failed opening '../class/db.class.php' for inclusion (include_path='.:') in /in/jhXQb on line 3
Fatal error: Uncaught Error: Call to a member function query() on null in /in/jhXQb:11
Stack trace:
#0 {main}
thrown in /in/jhXQb on line 11
Process exited with code 255.
Output for 7.1.25
Warning: include(): open_basedir restriction in effect. File(../class/db.class.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/jhXQb on line 3
Warning: include(../class/db.class.php): failed to open stream: Operation not permitted in /in/jhXQb on line 3
Warning: include(): Failed opening '../class/db.class.php' for inclusion (include_path='.:') in /in/jhXQb on line 3
Notice: Undefined index: adsoyad in /in/jhXQb on line 5
Notice: Undefined index: email in /in/jhXQb on line 6
Notice: Undefined index: mesaj in /in/jhXQb on line 7
Notice: Undefined index: REMOTE_ADDR in /in/jhXQb on line 9
Notice: Undefined variable: db in /in/jhXQb on line 11
Notice: Trying to get property of non-object in /in/jhXQb on line 11
Fatal error: Uncaught Error: Call to a member function query() on null in /in/jhXQb:11
Stack trace:
#0 {main}
thrown in /in/jhXQb on line 11
Process exited with code 255.
Output for 7.1.20
Warning: include(): open_basedir restriction in effect. File(../class/db.class.php) is not within the allowed path(s): (/tmp:/in) in /in/jhXQb on line 3
Warning: include(../class/db.class.php): failed to open stream: Operation not permitted in /in/jhXQb on line 3
Warning: include(): Failed opening '../class/db.class.php' for inclusion (include_path='.:') in /in/jhXQb on line 3
Notice: Undefined index: adsoyad in /in/jhXQb on line 5
Notice: Undefined index: email in /in/jhXQb on line 6
Notice: Undefined index: mesaj in /in/jhXQb on line 7
Notice: Undefined index: REMOTE_ADDR in /in/jhXQb on line 9
Notice: Undefined variable: db in /in/jhXQb on line 11
Notice: Trying to get property of non-object in /in/jhXQb on line 11
Fatal error: Uncaught Error: Call to a member function query() on null in /in/jhXQb:11
Stack trace:
#0 {main}
thrown in /in/jhXQb on line 11
Process exited with code 255.
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
Warning: include(../class/db.class.php): failed to open stream: No such file or directory in /in/jhXQb on line 3
Warning: include(): Failed opening '../class/db.class.php' for inclusion (include_path='.:') in /in/jhXQb on line 3
Notice: Undefined index: adsoyad in /in/jhXQb on line 5
Notice: Undefined index: email in /in/jhXQb on line 6
Notice: Undefined index: mesaj in /in/jhXQb on line 7
Notice: Undefined index: REMOTE_ADDR in /in/jhXQb on line 9
Notice: Undefined variable: db in /in/jhXQb on line 11
Notice: Trying to get property of non-object in /in/jhXQb on line 11
Fatal error: Uncaught Error: Call to a member function query() on null in /in/jhXQb:11
Stack trace:
#0 {main}
thrown in /in/jhXQb on line 11
Process exited with code 255.
Output for 5.6.0 - 5.6.23
Warning: include(../class/db.class.php): failed to open stream: No such file or directory in /in/jhXQb on line 3
Warning: include(): Failed opening '../class/db.class.php' for inclusion (include_path='.:') in /in/jhXQb on line 3
Notice: Undefined index: adsoyad in /in/jhXQb on line 5
Notice: Undefined index: email in /in/jhXQb on line 6
Notice: Undefined index: mesaj in /in/jhXQb on line 7
Notice: Undefined index: REMOTE_ADDR in /in/jhXQb on line 9
Notice: Undefined variable: db in /in/jhXQb on line 11
Notice: Trying to get property of non-object in /in/jhXQb on line 11
Fatal error: Call to a member function query() on null in /in/jhXQb on line 11
Process exited with code 255.
Warning: include(../class/db.class.php): failed to open stream: No such file or directory in /in/jhXQb on line 3
Warning: include(): Failed opening '../class/db.class.php' for inclusion (include_path='.:') in /in/jhXQb on line 3
Notice: Undefined index: adsoyad in /in/jhXQb on line 5
Notice: Undefined index: email in /in/jhXQb on line 6
Notice: Undefined index: mesaj in /in/jhXQb on line 7
Notice: Undefined index: REMOTE_ADDR in /in/jhXQb on line 9
Notice: Undefined variable: db in /in/jhXQb on line 11
Notice: Trying to get property of non-object in /in/jhXQb on line 11
Fatal error: Call to a member function query() on a non-object in /in/jhXQb on line 11
Process exited with code 255.
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
Warning: include(../class/db.class.php): failed to open stream: No such file or directory in /in/jhXQb on line 3
Warning: include(): Failed opening '../class/db.class.php' for inclusion (include_path='.:') in /in/jhXQb on line 3
Notice: Undefined index: adsoyad in /in/jhXQb on line 5
Notice: Undefined index: email in /in/jhXQb on line 6
Notice: Undefined index: mesaj in /in/jhXQb on line 7
Notice: Undefined index: REMOTE_ADDR in /in/jhXQb on line 9
Notice: Undefined variable: db in /in/jhXQb on line 11
Notice: Trying to get property of non-object in /in/jhXQb on line 11
Fatal error: Call to a member function query() on a non-object in /in/jhXQb on line 11
Process exited with code 255.
Output for 5.0.4 - 5.0.5
Warning: main(../class/db.class.php): failed to open stream: No such file or directory in /in/jhXQb on line 3
Warning: main(): Failed opening '../class/db.class.php' for inclusion (include_path='.:') in /in/jhXQb on line 3
Notice: Undefined index: adsoyad in /in/jhXQb on line 5
Notice: Undefined index: email in /in/jhXQb on line 6
Notice: Undefined index: mesaj in /in/jhXQb on line 7
Notice: Undefined index: REMOTE_ADDR in /in/jhXQb on line 9
Notice: Undefined variable: db in /in/jhXQb on line 11
Notice: Trying to get property of non-object in /in/jhXQb on line 11
Fatal error: Call to a member function query() on a non-object in /in/jhXQb on line 11
Process exited with code 255.
Output for 5.0.0 - 5.0.3
Warning: main(../class/db.class.php): failed to open stream: No such file or directory in /in/jhXQb on line 3
Warning: main(): Failed opening '../class/db.class.php' for inclusion (include_path='.:') in /in/jhXQb on line 3
Notice: Undefined index: adsoyad in /in/jhXQb on line 5
Notice: Undefined index: email in /in/jhXQb on line 6
Notice: Undefined index: mesaj in /in/jhXQb on line 7
Notice: Undefined index: REMOTE_ADDR in /in/jhXQb on line 9
Notice: Undefined variable: db in /in/jhXQb on line 11
Notice: Trying to get property of non-object in /in/jhXQb on line 11
Fatal error: Call to a member function query() on a non-object in /in/jhXQb on line 11
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/jhXQb on line 11
Process exited with code 255.