On 3/8/07, Phill Sparks <[EMAIL PROTECTED]> wrote:
> Hi Gorden,
>
> You might want to have a look at the php.net documentation for zip;
> depending upon the version of PHP you're using and whether the
> extension is present in your install of PHP will dictate how to move
> on.
>
> http://www.php.net/manual/en/ref.zip.php details information about the
> PHP zip functions.
> http://pecl.php.net/package/zip Is the PECL package that the PHP
> developers suggest you use if your version of PHP is 4.
Thanks - Will do a bit of research (& check what version of PHP I have
(I know a simple phpinfo() will work)...
BUT :-
$zip->addFromString('test.txt', 'file content goes here');
I could 'create' my new updated jabascript file - & store it as a
value - & add it like this :-
$zip->addFromString('custom.js', '$custom');
with $custom holding all the HTML / Javascript code from the updated js file...
Seems easy :)
(Is that how it works)....
--
G
NZ community groups - [EMAIL PROTECTED]
Freecycle Auckland :-
http://groups.yahoo.com/group/AucklandFreecycle/