class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
hello so first I want to say ty so much for this amazing class second well as I say in the title the class doesn't want to process a jpg file with the resize on i put the code bellow
$imagen = new Upload($rutaimg);// creamos una nueva instancia de la clase upload para la gestion de la imagen
$imagen->image_resize = false;// ponemos a true que queremos hacer un rezise de la imagen
//$imagen->image_x = 500; ponemos el valor x width de la imagen a 350px
//$imagen->image_y = 500; ponemos el valor y hight de la imagen a 300px
$imagen->Process('../imguploads');// procesamos la imagen y la guardamos en la carpeta que deseemos indicandolo '../imguploads/'
it gives to me a weird output and I don't understand why
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\PaginaWebPirotecniaGrupo\classes\class.upload.php on line 3608 Call Stack # Time Memory Function Location 1 0.0011 402320 {main}( ) ...\informulas.php:0 2 0.0024 436856 insertinfo::upLoadFormulas( ) ...\informulas.php:21 3 0.0198 1143312 upload->process( ) ...\insertinfo.php:22
it gives to me a weird output and I don't understand why
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\PaginaWebPirotecniaGrupo\classes\class.upload.php on line 3608
Call Stack
# Time Memory Function Location
1 0.0011 402320 {main}( ) ...\informulas.php:0
2 0.0024 436856 insertinfo::upLoadFormulas( ) ...\informulas.php:21
3 0.0198 1143312 upload->process( ) ...\insertinfo.php:22
this is the code between the lines 3596 to 3617
ty so much for the answer to any one