Log in

View Full Version : dynamically changing contents of a file in a zip?


N!ck
11-04-2002, 12:37 AM
How would I dynamically change one file in a ZIP to substitute the person's username and md5()'d password in place of another string when they download? Like the vBulletin download puts in your license number...

Any insight is appreciated.

Logician
11-06-2002, 09:04 AM
You dont change a zip file's content to achieve this. You just form it on the fly instead.

There is a class that does in in PHPMyAdmin's libraries directory. It's "zip.lib.php". You can check it and modify according to your needs to create zip files..

Logician
11-06-2002, 09:04 AM
btw. also check here:
http://codewalkers.com/seecode/65.html

N!ck
11-06-2002, 11:53 AM
thanks