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

Is php faster than javascript?

0 Answers  


How can we display the output directly to the browser?

0 Answers  


How would you declare a function that receives one parameter name hello?

0 Answers  


Write a query to find the 2nd highest salary of an employee from the employee table?

0 Answers  


How come the code works, but doesn’t for two-dimensional array of mine?

0 Answers  


Does php class need constructor?

0 Answers  


Do you know what is the difference between the include() and require() functions?

0 Answers  


What is meant by an associative array?

0 Answers  


What is the meaning of xdebug?

0 Answers  


What are the two most common ways to start and finish a php block of code?

0 Answers  


What is a composer in PHP?

0 Answers  


hello all, I need some sample placement papers in lion bridge.. can anyone help me?

0 Answers   Lionbridge,


Categories