Posted by:
macro
(---.prod-infinitum.com.mx)
hi.
I install WAMP5 and everything works fine, but, when I start to programming in PHP, using images .JPG, but when I used imagecreatefromjpeg() cause a error
Fatal error: Call to undefined function imagecreatefromjpeg() in F:\server\beta4\admin\subir_foto.php on line 10
this is part of the code:
if($extension[$num]=="jpg" || $extension[$num]=="JPG"
{
if(copy($_FILES['archivo']['tmp_name'],$archivo_name)){
if ($src_img = imagecreatefromjpeg($archivo)) {
exit;
}
somebody can help me?