[PHP] Directory Listing

2009-08-25 Thread Tom Chubb
Hi gang, I'm trying to create a script to read the files in a folder (approx 2000) and get the filename, path and last modified date in a tabulated format to copy into excel. (We have been issued a CD and need to get all files documented and assigned to an owner.) I've tried loads of different scr

Re: [PHP] directory listing from text file

2005-05-18 Thread Richard Lynch
What I know about Windows mapped drives could fit in a matchbook with room for every Playmate's phone number... But the answer I always hear when people are trying to do what you are trying to do is "Samba" HTH On Wed, May 18, 2005 7:37 am, dreiph said: > Thank you Chris, > > but this is not I n

Re: [PHP] directory listing from text file

2005-05-18 Thread dreiph
Thank you Chris, but this is not I needed. Let me explain my situation. I have a big server with a lot of audio files, working within LAN, with Windows 2000 Pro on it. Let's call it as "FileServer". Also I have another server with Apache2 and PHP installed, windows 2000 PRO too, let's say it is

Re: [PHP] directory listing from text file

2005-05-18 Thread Chris Ramsay
Dreiph, If you're familiar with PEAR, take a look at this: http://pear.php.net/package/HTML_TreeMenu regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] directory listing from text file

2005-05-18 Thread dreiph
Hello, I have a plain text file with the following direcory listing: \first \second \third \third\first \third\first\first \third\first\second \third\second \third\second\first \third\second\second \fourth How can I get directory tree from this and using Javascript or DHTML display such view:

Re: [PHP] directory listing

2003-08-19 Thread Marek Kilimajer
Wrong place, look at directory functions ;) Matthias Wulkow wrote: Hi php-general, I'm reading through the filesystem function of php and I can't find any function which will list me all the files which are in a certain directory. Am I blind or do I have to "create" myself one? Thanks for help

[PHP] directory listing

2003-08-19 Thread Matthias Wulkow
Hi php-general, I'm reading through the filesystem function of php and I can't find any function which will list me all the files which are in a certain directory. Am I blind or do I have to "create" myself one? Thanks for help M. W. -- Who is the ennemy? -- PHP General Mailing List (http:/

Re: [PHP] directory listing

2003-01-09 Thread Jason Wong
On Thursday 09 January 2003 16:29, Aleš Lončar wrote: > Hi! > > I have one question. > How can I get sorted listing of a direcorty with readdir function? Is this > possible No, not with readdir() on its own. > or I have to write custom function using array function sort? Yes, that is what you w

[PHP] directory listing

2003-01-09 Thread Aleš Lončar
Hi! I have one question. How can I get sorted listing of a direcorty with readdir function? Is this possible or I have to write custom function using array function sort? TNX LP, AlesL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Directory Listing with php on unix boxes

2003-01-08 Thread Krzysztof Dziekiewicz
> Here is where I'm running into some problems. I need the file listing to be > sorted as if I were performing an 'ls -lt' listing on the server itself. I do not think opendir() or readdir() quarantees any sort. You where lucky rather you got dirs in the time order. You should use filemtime() or

[PHP] Directory Listing with php on unix boxes

2003-01-06 Thread Joe Jeffcoat
I have 3 SunOS boxes, all running the same version of OS, apache and php. I have a page on all three servers that will allow a user to select a directory from a drop down box and upon selecting the directory, be able to select a file to view from a drop down box. When the user selects the directo

[PHP] Directory Listing with php on unix boxes

2003-01-06 Thread Joe Jeffcoat
I have 3 SunOS boxes, all running the same version of OS, apache and php. I have a page on all three servers that will allow a user to select a directory from a drop down box and upon selecting the directory, be able to select a file to view from a drop down box. When the user selects the directo

[PHP] Directory Listing with php on unix boxes

2003-01-06 Thread Joe Jeffcoat
I have 3 SunOS boxes, all running the same version of OS, apache and php. I have a page on all three servers that will allow a user to select a directory from a drop down box and upon selecting the directory, be able to select a file to view from a drop down box. When the user selects the directo

[PHP] Directory Listing and File Reading errors

2001-09-04 Thread skater
I'm recursivley reading and editing every .htm and .html file in a 500 page website and upgrading it to contain linked CSS, Javascript includes and PHP includes. i can't use a pre_pend file as there's more than one website on the server, and the changes are embedded in the document rather than jus

Re: [PHP] Directory Listing in an Array

2001-08-20 Thread Dallas K.
-- Original Message - From: "Chris Aitken" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, August 20, 2001 8:05 PM Subject: [PHP] Directory Listing in an Array > Hey all, > > Just something I havent been able to sort out in t

Re: [PHP] Directory Listing in an Array

2001-08-20 Thread speedboy
> Just something I havent been able to sort out in the archives, but what im > wanting to do it this. Do a listing of all files in a directory, and load > up an array with each returned filename. $files_dir = "/tmp"; chdir($files_dir); $dir_handle = @opendir($files_dir) or die("Unable to open $

Re: [PHP] Directory Listing in an Array

2001-08-20 Thread David Robley
On Tue, 21 Aug 2001 12:35, Chris Aitken wrote: > Hey all, > > Just something I havent been able to sort out in the archives, but what > im wanting to do it this. Do a listing of all files in a directory, and > load up an array with each returned filename. > > Am I pissing into a windy pipe dream o

[PHP] Directory Listing in an Array

2001-08-20 Thread Chris Aitken
Hey all, Just something I havent been able to sort out in the archives, but what im wanting to do it this. Do a listing of all files in a directory, and load up an array with each returned filename. Am I pissing into a windy pipe dream or is there a simple solution for this ? Cheers Chris

Re: [PHP] directory listing and how to determine file size

2001-02-19 Thread Richard Lynch
> I am going to develop virtual file management. Thus I want to know > some things. > 1. how to determine file size _before_ file uploading or on loading > time and how to avoid error message if file size will be too large. You can't determine file size before uploading... *MAYBE* with so

[PHP] directory listing and how to determine file size

2001-02-18 Thread Andris Jancevskis
Hi, I am going to develop virtual file management. Thus I want to know some things. 1. how to determine file size _before_ file uploading or on loading time and how to avoid error message if file size will be too large. 2. how to read directory content with it's size, modes etc in win32

[PHP] Directory Listing with PHP

2001-02-01 Thread Chris Aitken
(Damn I hate it when I forget to change the subject) Does anyone have, or know of a script which simulates what Apache gives out when it shows the entire contents of a directory ? I find it very handy to use the directory listing of say graphics directories and the like, but I dont want oth

RE: [PHP] Directory Listing with PHP

2001-01-31 Thread Andrew Braund
You might like to try WebExplorer, may do what you want. http://suneworld.com/programs/ hth Regards Andrew Braund > -Original Message- > From: Chris Aitken [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 1 February 2001 15:35 > To: PHP User Group > Subject: [PHP] Directory L