Help of listing files from directory

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
sanju
Forum Commoner
Posts: 65
Joined: Sat Jun 21, 2008 2:15 am
Location: Kochi, India

Help of listing files from directory

Post by sanju »

Hi

I need help for creating two php snippets, the work is

1) A PHP snippet that reads

all files and directories form the current folder and read "File Name" and "File Size" in

to a table 2) Another snippet that reads from a text file "Delivery Note*.txt" and writes

the content to a table element. The script should allow to read from different sections

of the text file. The sections are likely "Customer Name", "Delivery Notes", "Delivery

Date", "Packing List".


Any one pls help

regards
Sanju
User avatar
paqman
Forum Contributor
Posts: 125
Joined: Sun Nov 14, 2004 7:41 pm
Location: Burnaby, BC, Canada

Re: Help of listing files from directory

Post by paqman »

http://www.spoono.com/php/tutorials/tutorial.php?id=10

As for the second question, do you have access to a mysql database? It's really simple to set one up and php works great with mysql.
Post Reply