Hello everyone,
I try to use chmod 0777, but the JPG file in my localhost I cant view.
I must enter in the windows properties of the JPG file, add the user with
full permission, and them i can view it.
I use this:
move_uploaded_file($file_tmp,$desired_dir/.$file_name);
Emiliano,
This question is totally out of scope for this mailing list. It has
nothing to do with databases at all.
Also, you should _almost never_ use 0777 for permissions.
You probably want 0644. (Owner can read/write, all others can read.)
Regarding your question in general, it sounds like
Dear friends,
In quiz there is a dir called saved and chmod it to 0755
How do I chmod directory to 0755
Guidance, please.
so I would like to write to file on my local box.
I've looked but I don't see how to chmod.
using: windows xp and iis 5
-- gil
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Saturday 17 January 2004 03:17 pm, mayo wrote:
so I would like to write to file on my local box.
I've looked but I don't see how to chmod.
using: windows xp and iis 5
-- gil
1. This is the Database list, stuff like this should go in the General List.
2. chmod only applies to *nix
How exactly are you wanting to
chmod the file attributes?
(with a script or in general?)
-Original Message-
From: mayo [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 17, 2004 2:17 PM
To: php
Subject: [PHP-DB] chmod on win xp
so I would like to write to file on my local box.
I've
yikes,
sorry everyone for the mix-up in posting.
-- gil
-Original Message-
From: Thomas J. Rudd [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 17, 2004 3:34 PM
To: 'php'
Subject: RE: [PHP-DB] chmod on win xp
How exactly are you wanting to
chmod the file
mayo wrote:
so I would like to write to file on my local box.
I've looked but I don't see how to chmod.
using: windows xp and iis 5
No such thing as chmod on XP. You need to give the IUSR_computer-name
user permission to write in the directory in question. PHP runs as the
IIS user.
--