Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between using copy() and move()
function in PHP file uploading?

Answers were Sorted based on User's Feedback



What is the difference between using copy() and move() function in PHP file uploading?..

Answer / hitha

Copy :Makes a copy of a file. Returns TRUE if the copy
succeeded, otherwise FALSE.syntax is
copy(source,destination)


Move : If the file is valid, it was uploaded via PHP's
HTTP POST upload mechanism, it will be moved to the
filename given by destination.Otherwise no action will
occur, and move_uploaded_file() will return FALSE.
syntax is same as copy().

Is This Answer Correct ?    30 Yes 12 No

What is the difference between using copy() and move() function in PHP file uploading?..

Answer / sarah crewe

copying a file means making a duplicate copy of the file,
moving a file means to drag a file from one place to another. it will have the same effect like cut and paste.

Is This Answer Correct ?    9 Yes 2 No

What is the difference between using copy() and move() function in PHP file uploading?..

Answer / vishwanath

copy the particular file source to target
for Example A directory have qw.txt copy to B directory
after the copy the A directory have qw.txt and B directory
have qw.txt
In move the A directoru does'n have qw.txt

Is This Answer Correct ?    19 Yes 22 No

What is the difference between using copy() and move() function in PHP file uploading?..

Answer / jgjhgj

ngjhgjg

Is This Answer Correct ?    1 Yes 5 No

What is the difference between using copy() and move() function in PHP file uploading?..

Answer / ashish zarkar intercom online

One Big difference between copy and move command that is we
can just use move command once but the copy can use more
then one thime

Is This Answer Correct ?    5 Yes 17 No

Post New Answer

More PHP Interview Questions

Why do we use in php?

0 Answers  


Explain what does $_server means?

0 Answers  


How can you declare a constant variable in php?

0 Answers  


How to get the IP address of the client/user in PHP?

0 Answers  


How to create a directory?

0 Answers  


Explain what is the static variable in function useful for?

0 Answers  


explain the changes in php version

3 Answers  


How to download a php script directly in your script page?

3 Answers   A1 Technology, Zmanda,


how to work lamp server

0 Answers  


how to use http headers inside php? Write the statement through which it can be added?

0 Answers  


What is the difference between for and foreach?

0 Answers  


Explain about PHP filter and why it should be used?

0 Answers  


Categories