PHP E-Mail List wrote:
Ok, I figured I'd tackle this since I've been coding php for about 6
months now. And wouldn't ya know, I'm having problems with, what I
thought would be the easiest thing to code ever. Yeah well I get the
file to upload, and heck I can even take the file and display what text
was uploaded.
However when I go and try tio view the file in that directory. It says:
Forbidden
As jason has said this is a permission issue and probably related to
your umask setting. It's unusual for a file not to have the +r settings
but can happen. You can most often call the chmod() function to rectify
this issue on your upload handler.
--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php