php file upload query
Hi AllI am playing with php's file upload functions and all works fine except if I try to copy the file into the document root of the particular domain using php's copy(). I get a permission denied message.
I know this is because the web server (apache) does not have permission to write to the directory "../images/uploads/"
I could just change the permissions on the directory but that seems very dangerous to me... how can I give apache permission to write to the folder without compromising security? I use plesk so the group the directory belongs to is psacln how do I give apache permission to wrigth to this directory?
TIA
Greg