請問老師: 我的圖片放置和captcha_img.php在同一層,但是上傳之後,一直出現(xiàn)錯誤訊息如下: <b>Warning</b>: file_get_contents(.\pic1.jpg) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory 我要如何才能取得pic0.jpg,而不是file_get_contents(.\pic1.jpg)

釋淨(jìng)靈_南無阿彌陀佛
2014-06-30
2 回答
舉報
0/150
提交
取消
2014-07-12
有兩個下劃線__FILE__
2014-06-30
補充: 我的 $filename=dirname(_FILE_).'\\pic'.$index.'.jpg'; 是按照老師的寫法寫的