Posted by Maerlyn on 04/11/05 22:03
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Nichel wrote:
> Ahmed Abdel-Aliem wrote: <snip>
>
>> $dest = $dest_dir . '/' .$this->File['name']; $r =
>> move_uploaded_file($this->File['tmp_name'], $dest);
>> $this->File_Name = $this->File['name'];
>> chmod("files/".$this->File_Name, 777);
>
>
> I haven't messed with PHP/Apache on Windows in a long time but two
> things stick out to me that _may_ be a part of your issue.
>
> a) Can you even chmod on Windows? b) Paths in the MS world are
> with the backslash (\) and not the forward slash (/)
>
a, chmod doesn't work in Windows, but if you have NTFS then you can
set privileges.
b, Windows NT and later versions unterstand both / and \
Maerlyn
- --
Maerlyn
maerlyn[AT]citromail[DOT]hu
http://putraware.ini.hu
GnuPG Public Key ID: 0x0CE0A57
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCWsodMkyacQzgalcRAvtqAKCJjy0rUVykpsmzJRyUA1cfkdHMxwCgwjkl
72boetSgh8V5gdK5QuPS9Gw=
=XQgB
-----END PGP SIGNATURE-----
[Back to original message]
|