I have a few questions about correctly implementing safe_mode, open_basedir
and allow_url checks within an extension.
Probably an easy question, but I have seen it implemented in various ways in
different extensions and want to make sure i implement this correctly.
allow_url checks:
is there
I think using stream functions may be overkill for what I need to do.
While fixing an issue with using relative paths in domxml and decided to add
filesecurity features in at the same time.
The file path comes in as a string and is sent directly to libxml as such.
also, going through the
: Markus Fischer [EMAIL PROTECTED]
To: Rob Richards [EMAIL PROTECTED]
Cc: Php-Dev List [EMAIL PROTECTED]
Sent: Saturday, June 08, 2002 10:16 AM
Subject: Re: [PHP-DEV] filesystem security questions
Are you talking about your own extension or ext/domxml ? I
think (but could be wrong
The more I think about it, I dont know if streams should be done in the
domxml extension currently.
This is a big change from its current implementation and if it was to be
undertaken, then why not just start fresh with the unified implementation?
You are talking about implementing everything as
can someone apply this patch to cvs for me.
it fixes a problem in domxml_dump_mem_file with xmlKeepBlanksDefault not
being reset when the formatting parameter is true.
same problem that was in domxml_dump_mem, but missed this function
yesterday.
thanks
rob
Index: php_domxml.c
can someone apply this patch to cvs for me. it fixes the problem reported in
bug # 17560
i think i have solved the attachment problems, let me know if people still
cant get my attachments.
xmlKeepBlanksDefault default is 1 if not set. once set it remains at the new
value until changed.
the patch
attached is a diff of php_domxml.c i have been working on.
it is meant to allow the extension to synch up when sub trees which are
freed by libxml (basically it was started to attempt to fix the set_content
routine).
thanks to Lukas Schroeder and Christian Stocker for answering my questions
and
for those who had problems with the attachment you can grab it here:
http://www.digarc.com/php_domxml.c.diff
thanks
rob
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
I have been going through the latest domxml extension and have a few
questions about it.
Looking at the docs, it is indicated that set_content and get_content are
depreciated.
The new functions from the docs, however, do not really make sense.
set_content - Create a new node with e.g.
, 2002 at 10:05:32AM -0400, Rob Richards wrote:
I have been going through the latest domxml extension and have a few
questions about it. Looking at the docs, it is indicated that
set_content and get_content are depreciated.
set_content - Create a new node with e.g
I am trying to install 4.2.1 on FreeBSD 4.4 STABLE.
It continues to fail during make in domxml with the following:
Making all in domxml
/bin/sh
/usr/ports/www/mod_php4/work/php-4.2.1/libtool --silent --mode=compile
c -I. -I/usr/ports/www/mod_php4/work/php-4.2.1/ext/domxml -I/usr/ports/www/
Thanks,
That was it. I was running 2.4.3 on the BSD machine.
Just upgraded to 2.4.21 and it compiles fine.
Appreciate the help
Rob
- Original Message -
From: Markus Fischer [EMAIL PROTECTED]
To: Rob Richards [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, May 17, 2002 6:17 PM
in this problem section so that it would ignore reading the newly set
data and use the information we had previously set.
Thanks for the help.
Rob
- Original Message -
From: Joseph Tate [EMAIL PROTECTED]
To: Rob Richards [EMAIL PROTECTED]; Php-Dev List
[EMAIL PROTECTED]
Sent: Wednesday, February 13
13 matches
Mail list logo