Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
In need of PHP code to display size of directory
Old 11-06-2007, 05:40 PM In need of PHP code to display size of directory
Novice Talker

Posts: 7
Trades: 0
Hi There, I'm in need of some help please, could someone post some code please (in PHP) to display the size (in Megabytes) of a directory including any subdirectories inside of the directory and the files. Many Thanks.
PHP-Devline is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-06-2007, 06:06 PM Re: In need of PHP code to display size of directory
scrobins's Avatar
Skilled Talker

Posts: 50
Name: Stuart Robinson
Location: Busselton
Trades: 0
Read this - http://lixlpixel.org/recursive_funct...e_recursively/
scrobins is offline
Reply With Quote
View Public Profile
 
Old 11-07-2007, 05:18 AM Re: In need of PHP code to display size of directory
Novice Talker

Posts: 7
Trades: 0
Quote:
Originally Posted by scrobins View Post

I have tried the source code but it doesnt work.
PHP-Devline is offline
Reply With Quote
View Public Profile
 
Old 11-07-2007, 06:49 AM Re: In need of PHP code to display size of directory
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
define "doesn't work"
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-08-2007, 04:55 AM Re: In need of PHP code to display size of directory
Novice Talker

Posts: 7
Trades: 0
Quote:
Originally Posted by chrishirst View Post
define "doesn't work"

All that I get is a white page (blank),.
PHP-Devline is offline
Reply With Quote
View Public Profile
 
Old 11-08-2007, 10:24 PM Re: In need of PHP code to display size of directory
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
Quote:
Originally Posted by PHP-Devline View Post
All that I get is a white page (blank),.
You are getting a fatal error (most likely) and you have error reporting turned off. You can add (after the open php tag) this line:

error_reporting(1);

or (if that doesn't work):

error_reporting(E_ALL);
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to In need of PHP code to display size of directory
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27500 seconds with 12 queries