Re: [PHP-DEV] A cli/cgi-related question

2002-12-30 Thread Roland Tapken
Hi! Sorry for that mail... i missed the paragraph in the manual about the make install-cli stuff... > In my opinion it would be nice to have parameters like > --enable-cli=php --enable-cgi=phpcgi in the configure script. In this > way both versions can be build at once with two different names.

[PHP-DEV] A cli/cgi-related question

2002-12-30 Thread Roland Tapken
Hi! I went through the discussion about naming cgi and cli binary some weeks ago. But there is still a question in my mind that has not been answered yet (at least, as far as i remember). As an "End-User", which installation instruction should i use? As far as i understand the cli binary will get

Re: [PHP-DEV] feature request

2002-04-25 Thread Roland Tapken
Hi! Am Wed, 24 Apr 2002 22:15:19 +0200 schrieb Daniel Lorch <[EMAIL PROTECTED]>: > function line_count($string) { > return count(preg_split("/\r?\n/", $string)); > } Why not simply use a substr_count($string, "\n")? It works fine for me... cu, Roland

Re: [PHP-DEV] safe_mode and file upload

2002-01-12 Thread Roland Tapken
is at least a nice work-around until safe_mode_include_dir can handle more then one dir. It would be nice if somebody gives me some comments on my patches or even applies them to the cvs tree :-). I uploaded the diffs on http://www.engter.de/safe_mode_pid.diff. cu, Roland Tapken -

[PHP-DEV] safe_mode and file upload

2002-01-11 Thread Roland Tapken
== php_getuid() || duid == getuid()) { return 1; } else if (PG(safe_mode_gid) && dgid == php_getgid()) { return 1; A php.ini-Directive to change this bevavior would be nice. cu, Roland Tapken -- <==