[Xerte] toolkits export

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Dec 12 09:26:22 GMT 2008


Thanks a lot.

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of David Goodwin
Sent: Friday, December 12, 2008 9:25 AM
To: Xerte discussion list
Subject: Re: [Xerte] toolkits export

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Patrick Lockley wrote:
> When I wrote the code, I had trouble harmonising the headers (i.e 
> making them work) on both IE and firefox. In the end I stripped most 
> of the headers out because it was the only way I could make it work.
> 
> The header code is part of open source zip class - You can find it in 
> website_code/php/scorm/archive.php. Look for the function
download_file.
> You'll see that I have commented out the lines. Maybe one of these 
> will make yours work. I suspect it is a server settings issue, and 
> would be grateful to know which settings work for you.
> 
> Alternatively, you could set the file to be created, then maybe do a 
> header redirect? That was my plan B. It might look nicer as you'd 
> could also do a progress bar - opinions?

Ah hah.

Well, the attached patch/diff file makes it work for Firefox and IE6 and
IE7.

Thanks
David.


- --
 David Goodwin                          Pale Purple Limited
 Office: 0845 0046746                   Mobile: 07792380669
 http://www.palepurple.co.uk            Company No: 5580814
 'Business Web Application Development and Training in PHP'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJQi3Q/ISo3RF5V6YRAr5cAKCs7yLlDvLbMeePFD5vBQlAsRmbvgCfZNX+
ITyYjcWdAdCpbWTaY8Uu5kc=
=P367
-----END PGP SIGNATURE-----


More information about the Xerte mailing list