Upload and resize images PHP

please, dose anyone know where to find a easy to program image upload, rename and re size script, either php, java, anything that will make the images work on my website.:shifty::goof:(:

oh no. this code is taking all day… no Imagick class. am sure my web hosting dose not have it installed too. 1&1

I assimilated a script yesterday, but keep getting

Warning: chmod() [function.chmod]: No such file or directory
Warning: getimagesize
Warning: imagecreatetruecolor

http://www.pkhouse.biz/pkh_online/management/updateProperty.php

If you do not have Imagick you may still be able to use Imagemagick; upload this and see if you get any output:


<?php
echo "<pre>";
system("type convert"); 
echo "</pre><br>";
echo "<pre>";
system('which convert',$path); print_r($path); 
echo "</pre>";
?> 

I have had a quick search and it looks like 1&1 make you install Imagemagick yourself which can be fraught with problems. I get my hosts to do it for me as I have probably had a 40% good install average!

Warning: chmod() [function.chmod]: No such file or directory
Warning: getimagesize
Warning: imagecreatetruecolor

I would guess you have a path or something wrong and the code is looking for a folder and is being given the image name instead.
You will have to upload your code.