• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 252
  • Last Modified:

php move_uploaded_file

If you use this function, does it literally move the file so that it is no longer in the "temp" location?

Can it be moved twice to two different places on the server?

Thanks
0
Richard Korts
Asked:
Richard Korts
1 Solution
 
GaryCommented:
Yes, if you don't execute a move immediately it would be destroyed once the script has finished.
Once moved you can just
copy(source/image.jpg,destination/image.jpg)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now