Uploading Images with PHP Build the next Flickr! (DICr???)
Posted 21 March 2011 - 04:02 AM
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.
Posted 29 March 2011 - 10:12 PM
Posted 27 September 2011 - 02:07 AM
$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?
Posted 06 September 2012 - 02:21 AM
I have 2 questions though:
1.) When my users upload images, they come on the bottom of the website. What do I need to do for new images to come on top of the previously published images?
2.) I know this is probably foolish question (new to websites'n'codes) but how can I put a restrict on uploaded images, lets say that their width must be less than 600 and height less than 500 for them to be uploaded? Can you write the code for this? I would be most grateful.
Posted 02 November 2012 - 05:48 AM
How to create with thumbnail image in this scrip
large images in path /images
thumbnail images in path /image_th
image width 100px and height 150px
please i don't PHP