#!/usr/bin/perl use CGI::Carp qw(fatalsToBrowser); use CGI; $a=new CGI; $upload = $a->param("bild"); $Bildcode = time; # Breite für Bilder angeben $w1=600; #b big $w2=400; #m middle $w3=120; #s small $width=800; $height=600; $size=78; open UPFILE, ">/home/web9/html/berichte/bilder/org/$Bildcode.jpg"; binmode $upload; while (<$upload>){print UPFILE;} close UPFILE; print "Content-type: text/html\n\n"; print "Merken Sie sich den Bildcode : $Bildcode
"; # Bild bearbeiten ! use Image::Magick; $image = Image::Magick->new; ($width, $height, $size, $format) = $image->Ping("/home/web9/html/berichte/bilder/org/$Bildcode.jpg"); print "