I m 试图用以下文字写成光盘:
imagejpeg($gdimage, dirname(__FILE__) . $path . $fileName);
- If I set
$path = /public/
the image is created. 如果一套<条码>第1美元 = /public/images/ ,我就得到这一警告,不产生形象:
警告:形象 Unable to open /Users/david/Documents/Developer/Netbeans Projects/aem.davidcasillas.es/public/images/498x282_v1_Golf-LaLlorea.jpg for written: /Users/david/Documents/Developer/Netbeans Project/aem.davidcasillas.es/ModuloGijon.php第943条
准许:
- public folder:
drwxr-xr-x 77 david admin 2618 24 abr 12:58 public
- images folder:
drwxr-xr-x 6 david admin 204 24 abr 10:38 images
So I see no reason why I canot create the image in the images folder. I have tried other subfolders in public and I always get the same error.