PDA

View Full Version : move_uploaded_file fails with SSL folders


sametch
03-21-2005, 01:12 PM
I have produced a simple routine for our customers to upload files to our server.

The funtion uses $_FILES and the function move_uploaded_file.

When I use it in a normal folder on our non SSL site, it works fine.

If I use it in our https:// folder on the same server, the move fails.

Note: In both cases I am trying to move the file to the same folder which is not in a SSL area. I only want the form itself on a SSL server.

Anyone any ideas?

firepages
03-22-2005, 01:40 AM
move to a temp folder in SSL directory , then copy() to usual folder ?