note 102670 modified in function.imagecreatefromjpeg by danbrown

[email protected] Mon, 28 Feb 2011 06:40:58 -0800
Newsgroups php.notes
Message-ID <[email protected]>
utf-8 seems NOT to work as pic name - my solution:

<?php
$pic = '/path/to/picture.jpg';
imagecreatefromjpeg (utf8_decode($pic));
?>

--was--
utf-8 seems NOT to work as pic name - my solution:

imagecreatefromjpeg (utf8_decode([PIC]));

http://php.net/manual/en/function.imagecreatefromjpeg.php