Error in PHP file uploader -
now, getting problem.... trying upload file code :-
<form action="up.php" method="post"> <input type="hidden" name="max_file_size" value="200000" /> choose file upload: <input name="uploadedfile" type="file" /><br /> <input type="submit" name="submit" value="upload!"/> </form>
here up.php:-
if(!isset($_files["uploadedfile"])) die("hacking attempt");
in above code, says hacking attempt... why isnt having file??
for start mysql_ functions deprecated - use mysqli_ or pdo try following identify error:
$q = mysql_query($query,$c); if (!$q) die(mysql_error());`
Comments
Post a Comment