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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is empty function c++?

891


Which cryptographic functions in php returns the longest hash value?

943


Tell me how would you declare a function that receives one parameter name hello?

923


What are the methods of array in java?

905


Is php easy language to learn?

1004


What is php constructor?

970


What is csrf cookie?

855


How can we calculate the similarity between two strings?

948


What is echo in html?

833


What is restful api?

887


How can you send http header to the client in php?

946


Explain me soundex() and metaphone()?

941


Explain the difference between session and cookies in php?

919


What is session and why do we use it?

996


Explain me is it possible to destroy a cookie?

902