我正在创建一个数据库来存储图像并收到此错误: 在此服务器上找不到请求的URL /storeinfo.php 如何删除此错误?“
<?php
$conn = mysql_connect("localhost:8080","root","");
$db = mysql_select_db("imagestore",$conn);
if(!$db)
{
echo mysql_error();
}
$rollNo = $_POST['rollNo'];
$image = addslashes (file_get_contents($_FILES['image']['tmp_name']));
$image_s=getimagesize($_FILES['image']['tmp_name']);
$q = "INSERT INTO studentdata VALUES('','$rollNo','$image','$image_s['mime']')";
$r=mysql_query($q,$conn);
if($r)
{
echo "Information stored successfully";
}
else
{
echo mysql_error();
}
?>