PDA

Click to See Complete Forum and Search --> : Copy uploaded files


sakeeb
Dec 25th, 2006, 01:29 AM
What is the difference between Move_uploaded_files and copy_uploaded_files
in PHP.

penagate
Dec 25th, 2006, 02:52 AM
Guess.

sciguyryan
Dec 25th, 2006, 02:56 AM
move_uploaded_file
copy_uploaded_file

Please don't say its that hard.

dclamp
Jan 4th, 2007, 06:28 PM
COPY_uploaded_file - copies the file to another location
MOVE_uploaded_file - moves it to another location.


dont hurt yourself k?

kows
Jan 5th, 2007, 01:50 AM
i don't think another sarcastic post was needed after the two original sarcastic posts were given.

visualAd
Jan 5th, 2007, 07:38 AM
i don't think another sarcastic post was needed after the two original sarcastic posts were given.
Is that a sarcastic comment too? :p

mendhak
Jan 5th, 2007, 08:53 AM
Is there even a copy_uploaded_file method in PHP?

kows
Jan 5th, 2007, 09:32 AM
Is there even a copy_uploaded_file method in PHP?
no, that function doesn't exist.

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.

Is that a sarcastic comment too?
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 :/

dclamp
Jan 5th, 2007, 01:33 PM
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.

kows
Jan 5th, 2007, 03:22 PM
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.

visualAd
Jan 5th, 2007, 03:47 PM
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:

http://www.vbforums.com/showthread.php?p=2740530#post2740530