Top

PHP Code Snippets Tagged with file

  (8)  
Sort by 
Ok, so this short php script is real usefull for if you have loads of subdirectories of completely different websites like i do. these can be webs for sale, or just random websites *shrugs* it's for your
Tags: .php  css  directory  file  files  handle  jonesy  jonesy44  list  php  style  while 
5 comment(s)   |   Score: 0.0   |   Language: PHP   |   Posted by jonesy44 on Apr 24, 2008
Script: iBrowser v1.0 Author: Gex Description: iBrowser is a script which browser the server it lies on for files and folders and show them to you with the capability of interactive browsing with
Tags: browser  file 
5 comment(s)   |   Score: 3.0   |   Language: PHP   |   Posted by Gex on Feb 08, 2008
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
This code allows u to call the function which is listfiles(); from anywhere from the script and list the files in the directory of the script and sort them in a table with their properties.
Tags: file 
3 comment(s)   |   Score: 3.0   |   Language: PHP   |   Posted by Gex on Apr 16, 2007
The instructions are in the code
Tags: avi  file  gif  jpg  upload 
7 comment(s)   |   Score: 7.5   |   Language: PHP   |   Posted by ZabuzaMomochi on Dec 31, 2006
This function will grab a list of files/images/etc from a directory and list them as links to that file. Can be very handy, especially with images/image hosts :)
Tags: file  images  php 
2 comment(s)   |   Score: 4.5   |   Language: PHP   |   Posted by Mystery on Feb 20, 2006
This function takes in a directory path and recursively searches through the directory structure and returns all files in those directories. The file list is returned in an array. <br> <br> This
Tags: file 
4 comment(s)   |   Score: 6.7   |   Language: PHP   |   Posted by dohdoh on Aug 31, 2005
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