okay could someone explain to me this....
im trying to copy a file to another directory on my hosts server, it has php 4,0 (which prolly is irrelevant) but i get permission denied, when trying to copy a uploaded file from its temporary location into the folder images/ which is a subfodler to the folder where the script is. now why is this, do i need to change the mode of the folder in some way? and if i do do i need to open it so much that its a security threat, since i need to be able to upload elsewhere to. if someone please could explain to me how the whole chmod system works, specially with php. im using copy(); to copy the file, someone told me to use move_uploaded_file(); but its php 4,0 so that isnt supported, later on il get the php updated. but even if i do this i wont be able to fwrite into the dir will i?
but isnt chmod for linux/unix enviroments only? how does this work when its on windows? since thats where the scripts gona end up when its finnished.....
my question in short is "how are my able to copy files between folders without getting a permission denied error" and how do i get this to work with IIS to?
I would be extremly happy if someone would help me with this!