All Questions
Tagged with image-upload mysql
23 questions
0
votes
1
answer
392
views
Image upload doesn't work and I also don't get an error
I am trying to upload an image file to my server using some code I found on the internet but it doesn't work and I can't find out why.
<form method="post" action="?p=edit-profil&id=<?php ...
1
vote
1
answer
875
views
blueimp jquery file upload - rename filename with data input like title
I would like to rename the filename with a hidden additional form field followed by a small unique random number while uploading the photo. The file name should look like this: hidden_form_field-...
1
vote
2
answers
3k
views
PHP+MYSQL: error move_uploaded_file() unable to move
I'm stucked in one place, I have a file upload php file but when I want to upload the image I have errors called:
"Warning: move_uploaded_file(): failed to open stream: No such file or directory.." ...
0
votes
1
answer
1k
views
Get filename as array after upload in codeigniter
I'm facing an issue when returning the filename after uploading the files.
When I press the submit button its uploading the image to folder but I'm not getting the filename.
This is the code:
...
3
votes
1
answer
5k
views
How to store and retrive image data in MySQL database in Golang
How can I insert an image data in MySQL Database and then retrieve it using Golang?
Basically I want that task for upload profile picture of user in web application.
According to the my knowledge,the ...
0
votes
0
answers
198
views
fatal error function must be a string
<?php
if(isset($_POST['submit'])){
mysql_connect('localhost','root','');
$con_db=mysql_select_db('test');
if(!$con_db)echo"Error Connecting";
$imageName = ...
1
vote
1
answer
93
views
Image uploaded but not stored
I am trying to store image name along with other data in the database but not being able to. nothing is inserted in the database. but the image is uploaded in the directory when i close the brace } ...
-2
votes
2
answers
84
views
Storing image name
I am currently storing an image into the database directly. I learnt that it is not a good idea to store an image to database, instead i should upload the image to a directory and insert the file name ...
0
votes
1
answer
134
views
Android: Error in Upload Image Using PHP MySQL and Display Images in ListView
I have developed an app based on this tutorial imageupload. I am able to run the app in my device but could not select images from gallery.The app crashes when i load image into the app. My logcat is ...
1
vote
1
answer
1k
views
Upload images with thumbnails to folder and add path to Mysql
I am willing to add or update images with auto thumbnails to folder and add path to MySQL database. I tried this code with this. I am able to upload images to folder and saving path to database but I ...
0
votes
1
answer
3k
views
upload multiple images and inserted into separate field in table using php and mysql
I am not very well in PHP. I want to upload two images separately and stored those in two different field in table. My HTML code is as below :
<form method="post" enctype="multipart/form-data" ...
0
votes
1
answer
2k
views
Upload Image to Server and Store in MySQL Database
I have read a lot of posts about uploading image to the server but i still have a problem. The image was succesfully stored in my folder path, but when i opened the table of my database in phpmyadmin ...
-2
votes
1
answer
684
views
upload and retrieve images using mysql and php?
Hello and thanks in advance i was working on file upload and I needed to create a profile page with image upload and resume upload. Resume upload was not a big deal but in case of image I want user ...
-1
votes
3
answers
225
views
Error uploading images in php
My code is echoing else statement when i upload jpg file. Am i missing something where am i going wrong?
Its on line 39 of the code btw
if(($type=="image/jpeg") || ($type=="image/JPG") || ($type=="...
1
vote
1
answer
2k
views
php image uplaod show default image when image has not been uploaded
In php I am doing a simple php image upload and showing that image in another page. For that I have my code is like this
For database I have my query like this
CREATE TABLE IF NOT EXISTS 'article` (
...