PHP implements the method of uploading and downloading files using storage on SAE,
This article describes the PHP implementation of the SAE on the use of storage upload and download files method. Share to everyone for your reference. Specific as follows:
<?PHPIF ($_files["File" ["error"] > 0) {echo "Error:". $_files["File" ["Error"]. "
";} else{echo "Upload:". $_files["File" ["Name"]. "
"; echo "Type:". $_files["File" ["type"]. "
"; echo "Size:". ($_files["File" ["Size"]/1024). The Kb
"; echo "Stored in:". $_files["File" ["Tmp_name"];} $s =new saestorage (); $i = ' pdf/'. $_files[' file ' [' Name ']; FileName $domain= ' store '; Storage Name $s->upload ($domain, $i, $_files[' file '] [' tmp_name ']); Upload?>
I hope this article is helpful to everyone's PHP programming.
http://www.bkjia.com/PHPjc/1024130.html www.bkjia.com true http://www.bkjia.com/PHPjc/1024130.html techarticle PHP Implementation of the SAE on the use of storage upload and download files, this example describes the PHP implementation of the SAE on the use of storage upload and download files method. Share to everyone for your reference. Specific ...