imagecopymerge

kaits

Mitglied
hi again

I have some problems to put a transparent GIF picture into a pictuse that is being uploaded. I know that I must use the imagecopymerge() function and I tried but nothing :(

Could please someone smarter than me, make a little examples to put the transparent GIF picture into the right down corner of JPG or PNG picture which is being uploaded.

thanks

and feel free to answer me always in German ;)
 
now I have an another problem :( :( :(

PHP:
<?
$f=@fopen($_FILES['pic']['tmp_name'],'r');
$_SESSION['carpic_a']['picname']=$_FILES['pic']['name'];
$_SESSION['carpic_a']['piccont']=@fread($f,$_FILES['pic']['size']);
?>

how can I use the $_SESSION['carpic_a']['piccont'] session with the imagecopymerge() function and put a new pictuse into the session and then replace the $_SESSION['carpic_a']['piccont'] session with the new contents where IN the uploaded picture is other picture in the right bottom corner.

please answer, need help :)
 
Zurück