You are here
Home > Posts tagged "Uploading File"

Uploading File using PHP

Hello Friends, Today I am gonna share PHP code to upload file. I've created a function named as upload by which you can upload files on server. The function signature is upload($file, $filesize, $directory, $overwrite). Here, $file: name of  input element whose type is file $filesize: maxium file size to be uploaded $directory: directory name where file to