jakestyler
Mitglied
Wo führ eich das Quer 2mal durch?
Sorry, ich blicke da echt nicht durch.
Sorry, ich blicke da echt nicht durch.
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
$con=mysqli_connect("localhost","user","pw","db"); if (mysqli_connect_errno()) echo mysqli_connect_error();
$query = "SELECT `Expire` FROM `Expit` WHERE `ID` = ".mysql_real_escape_string($qerystring);
$result = [COLOR="#FF0000"]mysqli_query($con,$query)[/COLOR] or die ("MySQL-Error: " . mysqli_error($con));
echo $result;
[COLOR="#FF0000"]mysqli_query($con,$query) [/COLOR]
or die ("MySQL-Error: " . mysqli_error($con));
mysqli_close($con);
MySQL-Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
$con=mysqli_connect("localhost","user","pw","db"); if (mysqli_connect_errno()) echo mysqli_connect_error(); $query = "SELECT `Expire` FROM `Expit` WHERE `ID` = ".mysql_real_escape_string($qerystring); $result = mysqli_query($con,$query) or die ("MySQL-Error: " . mysqli_error($con)); echo $result; mysqli_close($con);
<?php
$sendfrom = $_GET['file']; //Ergibt uploads/14c1bd105/3796-4sterne.gif
$downloadfile = substr($sendfrom, 18); //Ergibt 3796-4sterne.gif
$qerystring = substr ($downloadfile,0,4); //Ergibt 3796
$plek = substr($sendfrom, 23);
$con=mysqli_connect("localhost","user","pw","db"); if (mysqli_connect_errno()) echo mysqli_connect_error(); $query = "SELECT `Expire` FROM `Expit` WHERE `ID` = ".mysql_real_escape_string($qerystring); $result = mysqli_query($con,$query) or die ("MySQL-Error: " . mysqli_error($con)); echo $result; mysqli_close($con);
$expire_date = $query;$now = date("H-i-Y-m-d");if ($now>$expire_date) { unlink("$sendfrom"); header("Location: expired.php"); die();}else {}
?>
Keiner eine Lösung? :/
$expire_date = $query;
$con=mysqli_connect("localhost","user","pw","db"); if (mysqli_connect_errno())
echo mysqli_connect_error();
$query = "SELECT `Expire` FROM `Expit` WHERE `ID` = ".mysql_real_escape_string($qerystring);
$expire_date = mysqli_query($con,$query) or die ("MySQL-Error: " . mysqli_error($con));
mysqli_close($con);
MySQL-Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Ist der aktuelle Fehler.Catchable fatal error: Object of class mysqli_result could not be converted to string in /var/www/web132906/html/cloudside/download.php on line 13
$con=mysqli_connect("localhost","user","pw","db"); if (mysqli_connect_errno()) echo mysqli_connect_error(); $query = "SELECT `Expire` FROM `Expit` WHERE `ID` = ".$qerystring; $expire_date = mysqli_query($con,$query) or die ("MySQL-Error: " . mysqli_error($con)); echo $expire_date; mysqli_close($con);