Search found 2 matches

by sjslovechild
Wed Mar 26, 2008 11:19 am
Forum: PHP - Code
Topic: File permissions not assigned when uploading images
Replies: 4
Views: 414

Re: File permissions not assigned when uploading images

I have changed the below You need to add a call to chmod(), and possibly chown(), to the code inside of.. if ($success) {   $result = "$file uploaded successfully"; } to this         if ($success) {    chmod($result = "$file uploaded successfully", 0755); } But I'm having the sam...
by sjslovechild
Wed Mar 26, 2008 10:25 am
Forum: PHP - Code
Topic: File permissions not assigned when uploading images
Replies: 4
Views: 414

File permissions not assigned when uploading images

I'm using PHP Version 4.4.3 on a Windows NT WEBHOST 5.2 build 3790 I'm having a odd problem with uploading image gallery pics to the server. I can upload the files with my php script and see the files via a FTP program. But the upload files have no file permissions. The server admin tells me that it...