• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
File upload

#1
Hi there,


I'm using
PHP Code:
$file->move(WRITEPATH.'uploads'$fileName); 
to upload a file.

It's working but how to overwrite/replace the uploaded file with the same name?


Thank you
Reply


Messages In This Thread
File upload - by nfaiz - 10-14-2020, 08:58 PM
RE: File upload - by InsiteFX - 10-14-2020, 11:26 PM
RE: File upload - by nfaiz - 10-15-2020, 06:02 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.