|
Posted by Cam on 12/20/06 06:05
Hello group, I am new. I have a question that may be relatively easy
for someone to answer I hope.
I am running lighttpd on xp with php, perl etc. I am attempting to
teach myself PHP by going through the turoials on W3Schools.com. So
far it has been no problem and fun but I have recently hit a snag when
going through page. http://www.w3schools.com/php/php_file_upload.asp
The premise is it shows you how to select a file (restricted to jpg or
gif and file size of less than 20kb), and moves it to an /upload/
folder on the test server. If it is not a jpg or gif an larger than >
20kb it should give an error.
It works fine when uploading the small files, however when i am testing
it with a larger file image 100k or more the server seems to freak out.
The lighttpd error log shows this
(connections.c.1069) denying upload as opening to temp-file for upload
failed: /var/tmp/lighttpd-upload-2AGhiX No such file or directory
Firefox gives me 'The connection has been reset' message.
I am thinking there is maybe a setting in php.ini I should check? Not
sure, any ideas would be helpful. Thanks.
Navigation:
[Reply to this message]
|