What is the difference between Move_uploaded_files and copy_uploaded_files
in PHP.
Printable View
What is the difference between Move_uploaded_files and copy_uploaded_files
in PHP.
Guess.
move_uploaded_file
copy_uploaded_file
Please don't say its that hard.
COPY_uploaded_file - copies the file to another location
MOVE_uploaded_file - moves it to another location.
dont hurt yourself k?
i don't think another sarcastic post was needed after the two original sarcastic posts were given.
Is that a sarcastic comment too? :pQuote:
Originally Posted by kows
Is there even a copy_uploaded_file method in PHP?
no, that function doesn't exist.Quote:
Originally Posted by mendhak
there are two functions, is_uploaded_file() and move_uploaded_file(). uploaded files are usually made in the temporary directory, so I'm not sure why you would want to copy a temporary file in the first place. kind of a waste of space.
actually, no, not really, or at least -- that's not what I intended. I just didn't see any reason for the two week old, obviously resolved post to be bumped to say something like that :/Quote:
Originally Posted by visualAd
It was because 1, i felt like i knew it :p and Because i wanted to see if you get Post counts In PHP forum.
of course you can. you get posts in every forum except for the public topic ones. why would you think you couldn't?
PS: don't answer that, just let the thread die.
I like this thread too much to let it die. Let us discuss it in a more appropriate place:Quote:
Originally Posted by kows
http://www.vbforums.com/showthread.p...30#post2740530