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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A process can run only in the background. State Whether True or False?

620


What is the use of the function htmlentities?

621


Why session is required?

514


How does php server work?

531


What is alias in php?

549






Which function(s) in PHP computes the difference of arrays?

573


Write a program in php to find the occurrence of a word in a string?

622


How to delete cookie files on your computer?

545


What is Mcrypt used for?

573


How do I stop php artisan serve in windows?

497


How can a cross-site scripting attack be prevented by php?

531


What is a composer?

526


How long do php sessions last?

558


Explain what does $_files means?

553


What are the steps for the payment gateway processing?

536