ked spustim tento script
Kód:
function Nahlad(&$path, $subor){ //kontrola a vytvorenie nahladu
if (!is_dir($path.'nahlady')) mkdir($path.'nahlady', 0777);
if (!is_file($path.'nahlady/'.$subor)){
$file = $path.$subor; // zdrojovy subor
$newwidth = '300'; // nova sirka
$newheight = '200'; // nova vyska
list($width, $height) = getimagesize($file);
$input = imagecreatefromjpeg($file);
imagecopyresized($output, $input, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
imagejpeg($output, 'nahlad.jpg');
}
}
tak sa mi spusti msVS debugger a pise
Citácia:
An unhsndled win32 exception occurred in httpd.exe
neviete co s tym?