Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - PHP and gzencode() question. | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Luigi

Red Koopa
Level: 19

Posts: 124/126
EXP: 34570
For next: 1207

Since: 03-15-04
From: Friday the 13th

Since last post: 521 days
Last activity: 96 days
Posted on 05-23-04 02:19 PM Link | Quote
I want to encode a directory into a Gzip archive (well, public_html... making a quick way to back up my site). However, I'm not sure how to encode a directory and its contents. Readdir(), etc. seem to just give file names and info about them, but not the contents.


(edited by Luigi on 05-23-04 05:19 AM)
Darth Coby

Vire
Dacht je nou echt dat het over was?
Dacht je nou echt dat ik gebroken was? Nee toch?
Nou kijk eens goed op uit je ogen gast.
zonder clic heb je geen kloten tjap... bitch
Level: 55

Posts: 545/1371
EXP: 1240774
For next: 73415

Since: 03-15-04
From: Belgium

Since last post: 2 days
Last activity: 9 hours
Posted on 05-27-04 02:58 AM Link | Quote
http://be.php.net/manual/en/function.gzencode.php
There ya go, everything you need to know about GZ.
Modereb

Paragoomba
Level: 15

Posts: 4/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-04-04 10:12 PM Link | Quote
I think it's pretty obvious. With readdir() you get the filenames, and because with that, the actual filenames are given, you can use other functions (using the filename) to grab whatever information you need about the given files.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Programming - PHP and gzencode() question. | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.004 seconds.