Im using a php3 script to place thumnailed pics on my news page and want to be able to upload the pics from the submission form (i ftp them right now.) Ive tried some scripts to upload the pics from the form, but there appears to be a permissions error. Even when i enable full global permissions, it still fails. Ive heard that unix sometimes has trouble with uploads as it requires that the user be "www" and i get logged in under my default user id. I would appreciate any suggestions or additional sample scripts to look at that might help me resolve my issues. Thank you! -JB
You can use the copy() function to copy files from a browser to your server. Apache must have write permissions in the directory you are trying to copy to. If you cannot change permissions, use the /tmp/ dir.
Love, peace and hair grease - David