Ciao.
In uno script nella parte admin devo
implementare un sistema che applica
un watermark e salva l'immagine in due
formati (thumb e grande) ho pensato
ad una cosa tipo questa
Codice PHP:
public function move(){
if(!is_uploaded_file($this->tmp_name)){
throw new InvalidArgException('Possible file upload attack: filename '.$this->tmp_name);
}
//waterMark($width,$height,$fontSize,$path,$fileName);
$this->waterMark(200,200,20,'thumb',$this->tmp_name);
$this->waterMark(600,600,40,'img',$this->tmp_name);
}
E' valido come metodo ?
Altre idee ?