Results 1 to 11 of 11

Thread: Copy uploaded files

  1. #1

    Thread Starter
    Member
    Join Date
    May 2006
    Posts
    40

    Exclamation Copy uploaded files

    What is the difference between Move_uploaded_files and copy_uploaded_files
    in PHP.

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Copy uploaded files

    Guess.

  3. #3
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: Copy uploaded files

    move_uploaded_file
    copy_uploaded_file

    Please don't say its that hard.
    My Blog.

    Ryan Jones.

  4. #4
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Copy uploaded files

    COPY_uploaded_file - copies the file to another location
    MOVE_uploaded_file - moves it to another location.


    dont hurt yourself k?
    My usual boring signature: Something

  5. #5
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Copy uploaded files

    i don't think another sarcastic post was needed after the two original sarcastic posts were given.

  6. #6
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Copy uploaded files

    Quote Originally Posted by kows
    i don't think another sarcastic post was needed after the two original sarcastic posts were given.
    Is that a sarcastic comment too?
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Copy uploaded files

    Is there even a copy_uploaded_file method in PHP?

  8. #8
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Copy uploaded files

    Quote Originally Posted by mendhak
    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.

    Quote Originally Posted by visualAd
    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 :/

  9. #9
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Copy uploaded files

    It was because 1, i felt like i knew it and Because i wanted to see if you get Post counts In PHP forum.
    My usual boring signature: Something

  10. #10
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Copy uploaded files

    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.

  11. #11
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Copy uploaded files

    Quote Originally Posted by kows
    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.p...30#post2740530
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width