Subject: Chapter 10 problem
Posted By: rstoos Post Date: 8/29/2006 6:43:29 PM
All,

I am attempting to get a fille upload to work at the job using PHP.  
My goal is to leverage in as much Linux as I can.

The "file_upload.php script in Chapter 10 does not upload the file selected.

I tried this at work on my Ubuntu box and here at home as well.  
My understanding of the script is that it should upload a file to the "./docs" directory,
and then display the file name, size, and type.  I get no error message, but I get no file nor information.

I checked the things I could think of like permissions to the "./docs" directory and group ownership name.

Is there an error in the code?  Do I need to adjust any Apache settings to allow file creation.

Any help would be appreciated.  Trying to get this up and running tommorrow.

Feel free to respond here and to my E-Mail gnulinuxgeek@rochester.rr.com

Regards,

Ralph

Reply By: incredi-man Reply Date: 9/16/2006 1:14:18 PM
Make sure you have enoug rights to create the file. CHMOD 777 (rwx)



Go to topic 49606

Return to index page 173
Return to index page 172
Return to index page 171
Return to index page 170
Return to index page 169
Return to index page 168
Return to index page 167
Return to index page 166
Return to index page 165
Return to index page 164