我正在尝试通过拖放界面上传图像,我得到了JavaScript代码,但服务器端代码是用PHP实现的,如下所示(我修改了它以将图像插入数据库):
<?php
//Connect to database
mysql_connect("localhost", "root", "something-strange") or die(mysql_error());
mysql_select_db("business_clax") or die(mysql_error());
// The posted data, for refer