[Xerte] Propblem exporting zip file (learning object) out of Xerte
Patrick Lockley
Patrick.Lockley at nottingham.ac.uk
Fri Aug 27 14:56:45 BST 2010
http://uk3.php.net/manual/en/ini.core.php#ini.disable-functions
Looks like you can block almost anything. Boo.
And I'd guess any server admin person would lock this down. I know I
would.
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Swanson
Sent: 26 August 2010 17:03
To: Xerte discussion list
Subject: RE: [Xerte] Propblem exporting zip file (learning object) out
of Xerte
I didn't think you could block a specific function within PHP. It
doesn't actually change php.ini, just overrides it during script
execution. From the PHP Manual:
ini_set - Sets the value of a configuration option
Description
string ini_set ( string $varname , string $newvalue )
Sets the value of the given configuration option. The configuration
option will keep this new value during the script's execution, and will
be restored at the script's ending.
Seems like this is the perfect use for it.
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick
Lockley
Sent: Thursday, August 26, 2010 8:46 AM
To: Xerte discussion list
Subject: RE: [Xerte] Propblem exporting zip file (learning object) out
of Xerte
I'm never sure ini_set is allowed?
If I ran a server I'd block it?
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Swanson
Sent: 26 August 2010 16:34
To: Xerte discussion list
Subject: RE: [Xerte] Propblem exporting zip file (learning object) out
of Xerte
Pat, what about using ini_set() in archive.php (and any other scripts
that upload files) to override the setting on a script-by-script basis?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100827/871d9cd3/attachment.html
More information about the Xerte
mailing list