Gustav Wiberg wrote:
Hi there!
When I upload a picture from a form, then I want to create a copy with a
smaller image.
For example: I upload a picture with dimensions 200x150 name 4.jpg. I
also want a copy of this image but with the dimensions 100x75 pixels.
I've tried this below, but I'm missing something I think... :-)
I'm using PHP 4.x (don't know exactly the vers.nr, but I can search for
it if it is of importance)
First of all *run* to this thread and add some security checks to your
image uploading:
http://marc.theaimsgroup.com/?l=php-general&m=114755779206436&w=2
Secondly, what does or doesn't happen with your code?
It looks fine at first glance but do you get an error? What do you
expect it to do and what does it actually do?
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php