OffTopic:
Dein Rechner hat guten Geschmack
mach mal echo $bild



$PicPathIn = $location;
$PicPathOut = "./thumbs/";
$bild = $PicPathIn.$datei;
// alternativ: $bild = $PicPathIn."/".$datei;
// falls ein slash fehlen sollte
$size = getimagesize($bild);

$url = [url]http://www.nefkom.net/mosburger/2002-10-05-0132.jpg;[/url]
$datei = strrchr([url]http://www.nefkom.net/mosburger/2002-10-05-0132.jpg,[/url]"/");
$datei = substr(/2002-10-05-0132.jpg,1);
$location = strlen([url]http://www.nefkom.net/mosburger/2002-10-05-0132.jpg[/url]);
$length = strlen(2002-10-05-0132.jpg);
$length = 51 - 19;
$location = substr([url]http://www.nefkom.net/mosburger/2002-10-05-0132.jpg,0,32[/url]);
$PicPathIn = [url]http://www.nefkom.net/mosburger/;[/url]
$PicPathOut = "./thumbs/";
$bild = 2002-10-05-0132.jpg;
$size = getimagesize("http://www.nefkom.net/mosburger/"."2002-10-05-0132.jpg");
$breite = 480;
$hoehe = 320;
$neueBreite = 150;
$neueHoehe = intval(320*150/480);
bild das geht:
$url = [url]http://www.nefkom.net/mosburger/molly.jpg;[/url]
$datei = strrchr([url]http://www.nefkom.net/mosburger/molly.jpg,[/url]"/");
$datei = substr(/molly.jpg,1);
$location = strlen([url]http://www.nefkom.net/mosburger/molly.jpg[/url]);
$length = strlen(molly.jpg);
$length = 41 - 9;
$location = substr([url]http://www.nefkom.net/mosburger/molly.jpg,0,32[/url]);
$PicPathIn = [url]http://www.nefkom.net/mosburger/;[/url]
$PicPathOut = "./thumbs/";
$bild = molly.jpg;
$size = getimagesize("http://www.nefkom.net/mosburger/"."molly.jpg");
$breite = 400;
$hoehe = 300;
$neueBreite = 150;
$neueHoehe = intval(300*150/400);

Comment