釋淨靈_南無阿彌陀佛
2014-06-30 14:04
請問老師: 我的圖片放置和captcha_img.php在同一層,但是上傳之後,一直出現錯誤訊息如下: <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)
有两个下划线__FILE__
補充: 我的 $filename=dirname(_FILE_).'\\pic'.$index.'.jpg'; 是按照老師的寫法寫的
PHP实现验证码制作
37932 学习 · 338 问题
相似问题