我正在开发一个使用html,javascript和php的软件。它应该使用网络摄像头保存图片,然后将它们保存到数据库中。
问题是,它拍摄图片没有问题,但我实际上不知道如何将图片保存到文件中,以及哪种格式将更有效地保存到MySql数据库中。
下面是我拍摄这些照片的方法:
jQuery(document).ready(function(){
//Este objeto guardará algunos datos sobre la cámara
window.datosVideo = {
'StreamVideo': null,
'u
我想上传1000张图片在一个点击通过网址。我有1000个图像网址存储在MYSQL数据库中。
所以请任何人给我的PHP代码上传通过mysql数据库通过URL的1000个图像。
目前我正在使用下面的代码:-它上传一张图片,每次点击通过张贴图片的网址…
但我想上传1000张图片在一次点击从数据库获得网址
$result = mysql_query("SELECT * FROM thumb") or die(mysql_error());
// keeps getting the next row until there are no more to get
while($row =
我想将图片存储在mysql数据库中。图像通过android发送的问题是,我真的不知道用哪种方法在msql数据库中存储图像。
1. Access image from file
2.Store image in filesystem and store the url in the database
3.Store the image in the database
在存储这些图像之后,我想把这些图像放到PHP文件中。
我想知道哪种方法是最好的,怎么做呢?