Ver Mensaje Individual
  #7 (permalink)  
Antiguo 08/04/2007, 17:31
elperroncho
 
Fecha de Ingreso: septiembre-2006
Mensajes: 52
Antigüedad: 20 años, 1 mes
Puntos: 1
Re: video share error...

tienes razon de verdad disculpen aqui les coloco desde la linea 308 hasta la 332

Código PHP:
{
                
$src_img = imagecreatefrompng($oldimg);
                
$dst_img = imageCreateTrueColor($dest_width, $dest_height);
                
ImageCopyResampled($dst_img, $src_img, 0, 0, 0, 0, $dest_width, $dest_height, $imagewidth, $imageheight);
                
imagepng($dst_img, $newimg, 100);
                
imagedestroy($src_img);
                
imagedestroy($dst_img);
        }
        else
        {
                
$src_img = imagecreatefromgif($oldimg);
                
$dst_img = imageCreateTrueColor($dest_width, $dest_height);
                
ImageCopyResampled($dst_img, $src_img, 0, 0, 0, 0, $dest_width, $dest_height, $imagewidth, $imageheight);
   
linea 321 imagejpeg($dst_img, $newimg, 100);
                
imagedestroy($src_img);
                
imagedestroy($dst_img);
        }
}

//CHECK IF EMAIL ADDRESS IS VALID OR NOT
function check_email($email)
{
       
$email_regexp = "^([-!#\$%&'*+./0-9=?A-Z^_`a-z{|}~])+@([-!#\$%&'*+/0-9=?A-Z^_`a-z{|}~]+\\.)+[a-zA-Z]{2,4}\$";
       return 
eregi($email_regexp, $email);
}