hai..i try to but why the data not insert into my database??
Uploading Images with PHP Build the next Flickr! (DICr???)
#32
Posted 21 March 2011 - 04:02 AM
In a class I took on PHP, we were taught to create a blob record for the image in our database and then use that to create a thumbprint. I see that your method would significantly reduce database size and probably time to open a webpage.
But, I wonder if you could list pros and cons for the two ways to handle images. I am right now creating a webpage using images in a storefront and think I should change my method and use yours but am wondering why I was taught the other method and if there are downsides to your method.
But, I wonder if you could list pros and cons for the two ways to handle images. I am right now creating a webpage using images in a storefront and think I should change my method and use yours but am wondering why I was taught the other method and if there are downsides to your method.
#33
Posted 29 March 2011 - 10:12 PM
Hi all. This tutorial have been useful for newbies like me. Now it has been easy to upload and fetch the images from database while executing on localhost. But I am having the problem with uploading the image when I am executing program on server. can anybody help me with this?
#34
Posted 27 September 2011 - 02:07 AM
$image = $_FILES['image'];
$image['name'] = mysql_real_escape_string($image['name']);
problem is, it is clear we can pass data to image varibale but how do we passe $image['name'] to mysql_real_escape_string instead of $image variable.
can anybody explain this?
thx
$image['name'] = mysql_real_escape_string($image['name']);
problem is, it is clear we can pass data to image varibale but how do we passe $image['name'] to mysql_real_escape_string instead of $image variable.
can anybody explain this?
thx
#35
Posted 27 September 2011 - 02:55 AM
please show me tutorial to upload on server lol
#36
Posted 28 September 2011 - 06:53 PM
Really easy one for beginner like me, thank you!
#37
Posted 11 December 2011 - 10:49 AM
Lovely tutorial. I may use the concepts that you provide with Codeigniter
|
|







MultiQuote






|