Top

Code Snippets Tagged with file by Hawkee

  (2)  
Sort by 
This will extract a zip file via PHP. Just be sure to set the $file and $path variables. $file represents the zip file name which may or may not contain a path. $path represents the directory to extract
Tags: file  gunzip  unzip 
6 comment(s)   |   Score: 9.0   |   Language: PHP   |   Posted by Hawkee on Jun 21, 2007
I've found this to be quite useful in handing uploaded files through HTTP. You can use this to move the file from your /tmp folder to a folder on your site that isn't mode 777. The concept is simple.
Tags: copy  file  ftp  http  secure 
3 comment(s)   |   Score: 7.3   |   Language: PHP   |   Posted by Hawkee on Mar 13, 2005
Bottom