Re: [PHP-DEV] making mail() funtion work without sendmail on UNIXsystems

2001-10-19 Thread Rasmus Lerdorf
Same here. I didn't change anything for Windows (except moving the file), since I haven't got a Windows dev system. The implementation could certainly be improved, that would be much easier for me to do by also using it for UNIX. While I do agree to some extent with Rasmus, the changes

Re: [PHP-DEV] making mail() funtion work without sendmail on UNIXsystems

2001-10-19 Thread Rasmus Lerdorf
sure many people do not have an smtpd listening on localhost:25 while most people have an MTA capable of spooling or delivering a message. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-19 Thread Rasmus Lerdorf
It is valid in the sense that the code would not be executed the second time, but it isn't valid for preventing multiple function definitions inside that block. ie. no conditional function definitions. -Rasmus On Fri, 19 Oct 2001, Edin Kadribasic wrote: Since you can no longer do

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-19 Thread Rasmus Lerdorf
Function test()\n; } } ? Doesn't work in my 4.1 here. I get redefined function errors. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-19 Thread Rasmus Lerdorf
file ee: ? if(!defined(_FOO_INC)): define('_FOO_INC',1); function foo() { echo Hello World\n; } endif; ? file ee1: ? include 'ee'; include 'ee'; foo(); ? 10:11am rasmus:~ php ee1 X-Powered-By: PHP/4.0.8-dev Content-type: text/html br

Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems

2001-10-19 Thread Rasmus Lerdorf
'; include 'ee'; foo(); ? 10:11am rasmus:~ php ee1 X-Powered-By: PHP/4.0.8-dev Content-type: text/html br / bFatal error/b: Cannot redeclare foo() (previously declared in /usr/local/home/rasmus/ee:5) in b/usr/local/home/rasmus/ee/b on line b4/bbr / /usr/local/home/rasmus/ee

Re: [PHP-DEV] making mail() funtion work without sendmail on UNIXsystems

2001-10-19 Thread Rasmus Lerdorf
Don't you think that on some systems (probably with high loads) it might be much more efficient to use SMTP than spanning mail via fork()/exec()? Only in the case of a local smtpd. But yes, in that scenario I agree. -Rasmus -- PHP Development Mailing List http://www.php.net

[PHP-DEV] array_init() opinions?

2001-10-22 Thread Rasmus Lerdorf
this? -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] command-line debugging broken?

2001-10-22 Thread Rasmus Lerdorf
, pNext = 0x827b4e0, pLast = 0x0, size = 20, persistent = 0, cached = 0} That mem_header looks a bit messed up. I could of course be stepping on memory elsewhere. Anybody else seeing this? -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP-DEV] command-line debugging broken?

2001-10-22 Thread Rasmus Lerdorf
An update to this. It only happens if an extension is dl()'ed. If it is loaded via an extension= in php.ini it works fine. -Rasmus On Mon, 22 Oct 2001, Rasmus Lerdorf wrote: The leak notices and other --enable-debug messages seem to be brokwn right now. ie. stick a stray char *s

Re: [PHP-DEV] Bug #13786 Updated: New GD version not support GIFimages.

2001-10-23 Thread Rasmus Lerdorf
compiler flag. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] startup sequencing issue with php_admin_value disable_functions?

2001-10-23 Thread Rasmus Lerdorf
php_admin_value disable_functions does not work. Works fine from php.ini. I am swamped with other stuff, but could someone familiar with that bit of code take a look? Are we processing httpd.conf stuff after whatever point disable_functions are applied? -Rasmus -- PHP Development

Re: [PHP-DEV] startup sequencing issue with php_admin_value disable_functions?

2001-10-24 Thread Rasmus Lerdorf
At 07:55 24-10-01, Rasmus Lerdorf wrote: php_admin_value disable_functions does not work. Works fine from php.ini. It's not supposed to work, it can only work from php.ini. Why? -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP-DEV] startup sequencing issue with php_admin_value disable_functions?

2001-10-24 Thread Rasmus Lerdorf
At 09:30 24-10-01, Rasmus Lerdorf wrote: At 07:55 24-10-01, Rasmus Lerdorf wrote: php_admin_value disable_functions does not work. Works fine from php.ini. It's not supposed to work, it can only work from php.ini. Why? Look at the code... It's really designed to be a one-time

Re: [PHP-DEV] Current CVS + Apache2 on Linux

2001-10-24 Thread Rasmus Lerdorf
PS: Can anyone explain why cvs does not update Zend, ZendEngine2 and TSRM, when invoked inside the php4/ directory? I have the afore- mentioned directories inside the php/ directory. This works fine on Windows, but not on Linux, as I learned today :-/ cvs upd -dP -Rasmus

Re: [PHP-DEV] ?php= ? sytanx again

2001-10-25 Thread Rasmus Lerdorf
XHTML without forcing people to use ?php ...? everywhere. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] ?php= ? sytanx again

2001-10-26 Thread Rasmus Lerdorf
have to write code like: if($a gt; $b) { $bgt;gt;1; } Just for the record, I am not against ?php=, but I am very much against removing the short tags. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP-DEV] mysql prepared statements

2001-10-26 Thread Rasmus Lerdorf
is already working on it. thanks! Prepared statements isn't something you implement in a scripting language. It is something that needs to be implemented in the SQL server itself. What exactly would you be preparing in PHP space? -Rasmus -- PHP Development Mailing List http://www.php.net

Re: [PHP-DEV] mysql prepared statements

2001-10-26 Thread Rasmus Lerdorf
]; } return $sql; } $sql = update user_list set first_name = ? where id = ?; echo execute($sql,'andrew',1); Try running that little 60-second hack job. Seems to do most of what you just described. Put another 10 minutes of work into it and you are there. -Rasmus for example

Re: [PHP-DEV] Re: PHP Session: cache limitter addition request

2001-11-01 Thread Rasmus Lerdorf
This look ok to me. Don't forget to update the docs though. -Rasmus On Thu, 1 Nov 2001, Rui Hirokawa wrote: I am also using Mozilla. I hope this patch is acceptable for CVS tree. Can I commit this patch ? Deleting 'Expires' header from 'private' mode is another option, but, it may

Re: [PHP-DEV] Bug #14012: a struct has problem for sysvshm

2001-11-10 Thread Rasmus Lerdorf
This doesn't look like the right fix to me. There is no such thing as a php_unserialize_data_t typedef as far as I can tell. -Rasmus On Sun, 11 Nov 2001, Markus Fischer wrote: Here's the fix. Someone with proper karma please apply it. - Markus -- PHP Development Mailing List http

Re: [PHP-DEV] Bug #14012: a struct has problem for sysvshm

2001-11-10 Thread Rasmus Lerdorf
Ah, didn't have an updated tree. On Sun, 11 Nov 2001, Markus Fischer wrote: On Sun, Nov 11, 2001 at 03:56:45AM +0100, Markus Fischer wrote : On Sat, Nov 10, 2001 at 06:44:36PM -0800, Rasmus Lerdorf wrote : This doesn't look like the right fix to me. There is no such thing

[PHP-DEV] is_executable test

2001-11-11 Thread Rasmus Lerdorf
check. Thus I don't see why the correct result here should be not executable. A simple command-line example: % chmod 0644 test.file % ls -la test.file -rw-r--r--1 rasmus rasmus 46 Nov 11 07:26 test.file % ./test.file ./test.file: Permission denied. % chmod 0654 test.file % ls -la

Re: [PHP-DEV] 4.1.0

2001-11-10 Thread Rasmus Lerdorf
about on Oct.24 related to bug #13806? You said it was only reproducable in the branch but fine in HEAD at the time. -Rasmus On Sat, 10 Nov 2001, Zeev Suraski wrote: Guys, We have a bit of a dilemma here. As you all know, the 4.0.7 branch, on which 4.1.0 is currently scheduled

Re: [PHP-DEV] Re: Bug #14036: Segfault when using multipart formdata

2001-11-12 Thread Rasmus Lerdorf
This code has changed significantly in current CVS. 4.0.6 and 4.1.0RC1 should not have the problem. -Rasmus On Tue, 13 Nov 2001, Yasuo Ohgaki wrote: [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: Linux 2.2.20 and 2.4.14 PHP version: 4.0CVS-2001

Re: [PHP-DEV] Re: Bug #14036: Segfault when using multipart formdata

2001-11-12 Thread Rasmus Lerdorf
Well, file uploads do work in general in PHP 4.0.6 or the whole world would be screaming. So there is something specific to your test case or your system that is causing this. -Rasmus On Tue, 13 Nov 2001, Hans Rakers wrote: As i reported in my bug report, i can reproduce this problem

Re: [PHP-DEV] Re: Bug #14036: Segfault when using multipart form

2001-11-12 Thread Rasmus Lerdorf
, file uploads do work in general in PHP 4.0.6 or the whole world would be screaming. So there is something specific to your test case or your system that is causing this. -Rasmus As i reported in my bug report, i can reproduce this problem with 4.0.6 and current cvs. Hans

Re: [PHP-DEV] Re: Bug #14036: Segfault when using multipart formdata

2001-11-12 Thread Rasmus Lerdorf
Well, do you have access to another machine? I bet the exact same script will work ok on another machine. _IO_new_* related crashes tend to be related to messed up glibc/ld issues and do not necessarily mean that there is anything wrong with PHP. -Rasmus On Tue, 13 Nov 2001, Hans Rakers

[PHP-DEV] pow() showing odd long/float boundary case characteristics

2001-11-13 Thread Rasmus Lerdorf
on the negative boundary. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] Some more warnings

2001-11-13 Thread Rasmus Lerdorf
These definitely do not hide any sort of bug. They are simply scaling an image and the result needs to be an int as you can't have fractional pixels. So this data-loss is intentional. -Rasmus On Tue, 13 Nov 2001, Sebastian Bergmann wrote: gd.c C:\home\php\php4\ext\gd\gd.c(3537

Re: [PHP-DEV] pow() showing odd long/float boundary case characteristics

2001-11-13 Thread Rasmus Lerdorf
Yes, I know the pow() test is still failing. Need to go sort out a visa issue this morning but will try to figure out if it is worth fixing in the code or if we should just munge the test. -Rasmus On Tue, 13 Nov 2001, Zak Greant wrote: On November 13, 2001 06:13 am, Rasmus Lerdorf wrote

Re: [PHP-DEV] PHP extension

2001-11-14 Thread Rasmus Lerdorf
A good place to start is README.EXT_SKEL in the PHP distribution. -Rasmus On 14 Nov 2001, Charles VIARD wrote: hello, I want to make a PHP module, but i didn't find any doc on how to do it! Especially PHP type, code return and structure of a module. can somebody help me? thanx

Re: [PHP-DEV] ?php= ? sytanx again

2001-11-16 Thread Rasmus Lerdorf
at all: ?php=$a? compare with: ?$php=$a? or: ?php $php=$a? ?=$a? is maginally better because at least there is nothing to the left of the = sign to visually confuse matters. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP-DEV] Additional ENV Vars with Apache 2.0.28 and PHP 4.1.0RC2

2001-11-17 Thread Rasmus Lerdorf
this just the other day in HEAD? -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] Where/what is gdImageStringFTEx() ?

2001-11-17 Thread Rasmus Lerdorf
I see a check for this function in ext/gd/config.m4, but I see no sign of it in any version of GD I can find. Someone clue me in please. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP-DEV] GD-2.0.1 fixes?

2001-11-20 Thread Rasmus Lerdorf
is in gdft.c to do this, but for some reason it isn't working. I think I am close to understanding what is happening, but I wonder if someone else has tracked this one down yet? -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [PHP-DEV] GDLIB Problem ...

2001-11-21 Thread Rasmus Lerdorf
rasmus required ? Most of the issues are fixed in GD-2.0.2. We just need Boutell to get off their butts and release a new version now. -Rasmus On Wed, 21 Nov 2001, Marco Kaiser wrote: Hi, i played a little with the stupid gd-2.xxx and 1.8.4 so maybe i find a way to fix one of rasmus

Re: [PHP-DEV] PHP can't compare...

2001-12-06 Thread Rasmus Lerdorf
with something as simple as money, do not use floating point at all. Just multiply everything by 100 and deal only with integers. That solves all your problems without any performance hit. There is nothing to fix here. -Rasmus -- PHP Development Mailing List http://www.php.net

RE: [PHP-DEV] RE: session extension

2001-12-06 Thread Rasmus Lerdorf
-Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] Bug #14381: xlst_error causes error with valid XSLTprocessor instance

2001-12-07 Thread Rasmus Lerdorf
to xslt_process() needs to be $xsl_handle in your case. The warning you are seeing is correct. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

Re: [PHP-DEV] Bug #14381: xlst_error causes error with valid XSLTprocessor instance

2001-12-07 Thread Rasmus Lerdorf
At 09:10 7-12-2001 -0800, Rasmus Lerdorf wrote: the following code causes Apache processes to segfault: $xsl_handle = xslt_create(); echo $xsl_handle; // returns a valid xslt processor handle // $xslData and $xmlData contain valid information

Re: [PHP-DEV] PHP can't compare...

2001-12-07 Thread Rasmus Lerdorf
, as a programmer, will have to add the appropriate fuzz factor when using functions such as floor(), ceil() and round(). -Rasmus On Fri, 7 Dec 2001, George Whiffen wrote: Pierre/Rasmus/Zeev, After a little more thought, it seems to me that, my problem, Bug 6220 and Matthew's original problem

Re: [PHP-DEV] Re: [PHP] PHP XML

2001-12-07 Thread Rasmus Lerdorf
Most people never mix XML and PHP in the same file. Let's not inconvenience the masses for the benefit of the few. -Rasmus On Sat, 8 Dec 2001, Jani Taskinen wrote: Yet another good reason to get rid of them. :) --Jani On Fri, 7 Dec 2001, Rasmus Lerdorf wrote: No, you need

Re: [PHP-DEV] Re: [PHP] PHP XML

2001-12-07 Thread Rasmus Lerdorf
Guys, relax. No, this does not work. The only reason your example works is because min() is a built-in PHP function already. -Rasmus On Fri, 7 Dec 2001, Joao Prado Maia wrote: On Fri, 7 Dec 2001, benjamin yates wrote: a way to create the same as a #define macro... man would

Re: [PHP-DEV] Re: [PHP] PHP XML

2001-12-07 Thread Rasmus Lerdorf
of macros in a language like C is that they are processed before compilation and a real function call is avoided. This does not apply to a non-compiled language like PHP so there is no reason not to simply create a PHP-level function if you want something like that. -Rasmus -- PHP

Re: [PHP-DEV] writing PHP extensions

2001-12-07 Thread Rasmus Lerdorf
http://conf.php.net/lwce2 start at slide 33 On Sat, 8 Dec 2001, Shane Wright wrote: Hi I've looked all over the place (php.net, zend.com, phpbuilder.com, archive for the lists, everywhere..) and I cant find anywhere a nice intro to building PHP extensions. I just need something to

[PHP-DEV] Re: [PHP] PHP XML

2001-12-07 Thread Rasmus Lerdorf
No, you need to disable short_tags and use ?php ... ? for all your PHP tags if you are going to mix PHP and XML tags in the same file. -Rasmus On Fri, 7 Dec 2001, Steve Haemelinck wrote: Hi Guys I am developing with PHP and XML. Now I experience some problem with the processing

Re: [PHP-DEV] Function names

2001-12-09 Thread Rasmus Lerdorf
Nope, there are no plans to change the names of the base functions in PHP. -Rasmus On Sun, 9 Dec 2001, Jonas Delfs wrote: Hi - I've read somewhere that PHP4.1.0 (or was it PHP5?) finally will provide some more logic functions names depending on librarys. Something like file_open

Re: [PHP-DEV] Bugs in ext/standard/array.c

2001-12-09 Thread Rasmus Lerdorf
return FALSE on error ... (like arsort() does!) Am I wrong? Hrm.. There is no way to return VOID from a PHP function. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP-DEV] Function names

2001-12-10 Thread Rasmus Lerdorf
. Especially since fopen() is not in a library at all. There is no file library. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] PHP can't compare...

2001-12-10 Thread Rasmus Lerdorf
/round for me? That's my question. Because that would impose rounding errors and remove the develpor's flexibility for controlling this exactly. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

RE: [PHP-DEV] PHP 4.0.1 released?! (RE: [PHP-CVS] cvs: php4(PHP_4_0_7)/ configure.in /main php_version.h )

2001-12-10 Thread Rasmus Lerdorf
compressed data--length error -Rasmus On Mon, 10 Dec 2001, [iso-8859-1] MÃ¥rten Gustafsson wrote: Ok, sorry :) Since it was available from www.php.net I thought was time. Btw, the tarball seems to be corrupt: snip nightlife@ns:~/src$ gunzip -c php-4.1.0.tar.gz | tar xf - tar: Skipping

[PHP-DEV] PHP 4.1 diffs

2001-12-10 Thread Rasmus Lerdorf
Some minor changes to get ming to work with PHP 4.1. The first one is not 4.1 specific. That library check needs to be compiled against -lm in order to work, at least on my Linux box. I don't think adding -lm will hurt anywhere else either. The second one is a PHP API change described in

Re: [PHP-DEV] Function names

2001-12-11 Thread Rasmus Lerdorf
as the first arg. -Rasmus On Tue, 11 Dec 2001, Jonas Delfs wrote: 10-12-2001 18:42 you wrote: Nope, there are no plans to change the names of the base functions in PHP. I'm a little new to this list so just say if you have discussed this in the latest past, but wouldn't

Re: [PHP-DEV] Bug #14531 Updated: Reference to bug #14496

2001-12-14 Thread Rasmus Lerdorf
Users can update bug reports just fine if they bother to remember the passwords they set On 15 Dec 2001 [EMAIL PROTECTED] wrote: ID: 14531 Updated by: yohgaki Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: Linux PHP Version: 4.1.0 New Comment:

RE: [PHP-DEV] Bug #14531 Updated: Reference to bug #14496

2001-12-17 Thread Rasmus Lerdorf
the mailing list to discuss the bug happens to be. -Rasmus On Mon, 17 Dec 2001, Jaime Bozza wrote: Unfortunately, the original bug (14496) wasn't written by the person submitting the additional information. It's kind of difficult to remember a password you never had. :) There's

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-19 Thread Rasmus Lerdorf
scripts and 2) encouraging people to avoid namespace clashes just by changing case. Someone said they wanted to use If() for example. Imaging debugging code like that? No thanks. -Rasmus On Thu, 20 Dec 2001, Jani Taskinen wrote: I have said this all the time..as well as many others. Try

Re: [PHP-DEV] Building standalone executable and apache module atthe same time

2002-01-09 Thread Rasmus Lerdorf
to create both using only one configure/compile? Not currently, no. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] SOAP and OpenGL stuff

2002-01-09 Thread Rasmus Lerdorf
that is part of PEAR). -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] Bogus/Bug #14952 ($_GET != $HTTP_GET_VARS)

2002-01-09 Thread Rasmus Lerdorf
Bad reasons to be separate: 1) takes twice as much memory That's not true due to the shallow copy/copy-on-write nature of things. If you change every element of one array, then yes, at this point you will be taking up twice the memory. -Rasmus -- PHP Development Mailing List http

Re: [PHP-DEV] Re: CVS Account Request: iliaa

2002-01-09 Thread Rasmus Lerdorf
Well, I don't see it in the DB. Please fill out the form again. -Rasmus On Wed, 9 Jan 2002, Ilia A. wrote: I've sent one on Jan. 2, 2002 it appeared on the php-dev list. Here is the copy of the message, just in case. [PHP-DEV] CVS Account Request: iliaa Date: Wed, 2 Jan 2002 19:15:46

Re[2]: [PHP-DEV] safe_mode and file upload

2002-01-13 Thread Rasmus Lerdorf
but we are still not quite there with it in terms of being a production-quality environment. -Rasmus On Sun, 13 Jan 2002, Daniel Lorch wrote: Hi, I'm administrating a server with many virtual hosts. To get rid of some security holes i enabled safe_mode. But after that php scripts weren't

Re: [PHP-DEV] superglobals and bc

2002-01-13 Thread Rasmus Lerdorf
ugly. -Rasmus On Sun, 13 Jan 2002, Philip Olson wrote: Many ask How do I use superglobals yet allow my scripts to work on older versions of PHP, is there an official documentable response to this? Regards, Philip Olson -- PHP Development Mailing List http://www.php.net/ To unsubscribe

Re[3]: [PHP-DEV] safe_mode and file upload

2002-01-13 Thread Rasmus Lerdorf
I have looked at mod_become before, but I really don't see any advantage to it over CGI as it kills off the httpd process after any request. If each httpd only handles one request, how is it an improvement on cgi? Or have I misunderstood how mod_become works? -Rasmus There is also mod_become

Re[3]: [PHP-DEV] safe_mode and file upload

2002-01-13 Thread Rasmus Lerdorf
At http://www.snert.com/Software/mod_become/index.shtml that it kills it off after each request. So I guess that was a local change. I still don't know about running my httpd as root though. That would worry me quite a bit. -Rasmus On Sun, 13 Jan 2002 [EMAIL PROTECTED] wrote: On Sun, 13

Re[4]: [PHP-DEV] safe_mode and file upload

2002-01-13 Thread Rasmus Lerdorf
, rasmus, but some of the developers) recommend using mod_php for virtual hosting. The only thing I'm talking about is: mod_php (+ safe_mode) != virtual hosting it should be php cgi (+ safe_mode) == virtual hosting and mod_php == own, private box. performance boost. But what I am saying

Re: [PHP-DEV] Bug #15023 Updated: Apache thread segfaults in optimizer using php-4.1.1 and Zend Optimizer

2002-01-13 Thread Rasmus Lerdorf
It took me about 3 clicks to find the right page on www.zend.com that tells you how to report bugs. http://www.zend.com/store/products/optimizer-troubleshooting.php I figured pointing you at the web site was enough and you could manage that. -Rasmus On Mon, 14 Jan 2002, Hans Rakers wrote

[PHP-DEV] Re: [PHP] Re: [PHP-DEV] Re: strtok bug

2002-01-13 Thread Rasmus Lerdorf
You call it broken, we call it finally making them POSIX-compliant. Whatever floats your boat. -Rasmus On Mon, 14 Jan 2002, Manuel Lemos wrote: Hello, Alain Samoun wrote: Manuel: What is broken with strtok() since php4.06? So far my code that use it seems to work ok with PHP4.10

[PHP-DEV] Re: [PHP] Re: [PHP-DEV] Re: strtok bug

2002-01-13 Thread Rasmus Lerdorf
to change this functionality. There is no conspiracy here. Nothing to see here, return to your homes... And please stop cross-posting to multiple PHP lists. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP-DEV] Re: [PHP-DOC] config options / php.ini settings

2002-01-15 Thread Rasmus Lerdorf
I think php.net/ini going to the right place would be good. So I guess ini would be my suggestion. -Rasmus On Tue, 15 Jan 2002, Gabor Hojtsy wrote: Hi! We just noticed a major problem in the docs, and so we would like to invent a new name for php.ini settings. Now look at http

Re: [PHP-DEV] if ()

2002-01-21 Thread Rasmus Lerdorf
Just like that On Mon, 21 Jan 2002, Eduardo Melo wrote: Please, How can i use a similar command of C language as such as if (a==b b==c) ? anyone can help ? thanks, eduardo melo computer programmer _ MSN Photos is the

[PHP-DEV] Re: Lost feature - variables_order/register_globals mess

2002-01-24 Thread Rasmus Lerdorf
. ($_ENV also?) How about make variable_order affects only for globals? Well, you still need to resolve precedence for $_REQUEST somehow. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP-DEV] Re: Lost feature - variables_order/register_globalsmess

2002-01-25 Thread Rasmus Lerdorf
Personally, I prefer register_globals=Off for session, but no objection here also. 'S' is Server not Session variables. Big difference. There is currently no real way to control session vars via variables_order. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe

Re: [PHP-DEV] gd

2002-01-31 Thread Rasmus Lerdorf
. For example, if you have installed the GD library in /opt/gd which means that /opt/gd/include has your GD header files and /opt/gd/lib contains your GD library files, you would use --with-gd=/opt/gd -Rasmus Can anyone let me know if this is expected behaviour? i've built gd

RE: [PHP-DEV] gd

2002-01-31 Thread Rasmus Lerdorf
type: locate gd.h You will see that you have more than one. Get rid of all the wrong ones and the other associated gd header files so you only have one version installed and start over. -Rasmus On Fri, 1 Feb 2002, James Cox wrote: Ok, so maybe i'm the idiot, but can you help me make some

Re: [PHP-DEV] [PROPOSAL] defense against session takeovers

2002-02-01 Thread Rasmus Lerdorf
issue. -Rasmus On Fri, 1 Feb 2002, Sander Roobol wrote: [PROBLEM] Sessions can easily be taken over by other, malicious users. All you need is the session-id and you're done. User who have read-access to the directory where PHP stores it's session-data, can read the ids directly from

Re: [PHP-DEV] [patch] safe_mode_include_dir

2002-02-01 Thread Rasmus Lerdorf
Looks ok to me. On Fri, 1 Feb 2002, James E. Flemer wrote: Hello ... It's been a while since I've actively been committing to PHP. So I thought I'd run this by everyone first. This is a patch to change the behavior of the PHP.INI directive safe_mode_include_dir (which I added about 6

Re: [PHP-DEV] [PROPOSAL] defense against session takeovers

2002-02-01 Thread Rasmus Lerdorf
flexible enough for advanced users. This fits that rule. Give the advanced users the tools to configure PHP to have per-virtualhost session handling, while sessions still work for the guy who just installed PHP on his own little server and really doesn't know what he is doing. -Rasmus On Fri, 1 Feb

Re: [PHP-DEV] [PROPOSAL] defense against session takeovers

2002-02-01 Thread Rasmus Lerdorf
should be clueful enough to configure things themselves or they probably shouldn't be in the business. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail

Re[2]: [PHP-DEV] [PROPOSAL] defense against session takeovers

2002-02-01 Thread Rasmus Lerdorf
to thousands of insecure PHP installations on production machines. Why would you switch on safe_mode if you have a dedicated server? That makes no sense. There is also nothing unsafe about the session code if you are on a dedicated server. -Rasmus -- PHP Development Mailing List http://www.php.net

Re: [PHP-DEV] PHP Safe Mode Filesystem Circumvention Problem (fwd)

2002-02-04 Thread Rasmus Lerdorf
someone woulod have had to do to learn of this vulnerability would have been to go to any of the PHP talks I have given in the past 3 years. We will not scan queries to catch these. Safe mode is a crappy fix to a problem that isn't ours. -Rasmus On Tue, 5 Feb 2002, Andi Gutmans wrote: We

Re: [PHP-DEV] PHP Safe Mode Filesystem Circumvention Problem (fwd)

2002-02-05 Thread Rasmus Lerdorf
At 08:15 AM 2/5/2002, Rasmus Lerdorf wrote: The fact that 3rd party libs can load arbitrary files is not a new concept. Every time I give a moderately detailed PHP talk I mention the fact that there is a way to load a file through the oci8 libs. Of course it can be done through the mysql

Re: [PHP-DEV] Lists

2002-02-05 Thread Rasmus Lerdorf
I completely agree with Dan on these points. If you don't want to see certain types of posts, or posts from certain people, you are a simple procmail rule away from getting rid of them. Making php-dev a closed list is a horrible idea. -Rasmus On Tue, 5 Feb 2002, Dan Kalowsky wrote

Re: [PHP-DEV] [patch] one script to handle them all

2002-02-14 Thread Rasmus Lerdorf
any problem putting this in. -Rasmus On Thu, 14 Feb 2002, Thies C. Arntzen wrote: On Wed, Feb 13, 2002 at 12:36:49PM +0100, Lukas Schroeder wrote: On Wed, Feb 13, 2002 at 08:13:42AM +0100, Markus Fischer wrote: Patches should always be against latest CVS. here it is. against latest

Re: [PHP-DEV] Tcl

2002-02-20 Thread Rasmus Lerdorf
Is there any support for tcl with php? Nope -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] Tcl

2002-02-20 Thread Rasmus Lerdorf
Are there plans to have tcl support for php? None whatsoever -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Your CVS account

2002-02-20 Thread Rasmus Lerdorf
. The {1,3} subscripting idea has been discussed at length. Go check the archives. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] CRC32

2002-02-20 Thread Rasmus Lerdorf
Done On Wed, 20 Feb 2002, l0t3k wrote: could someone with karma please move the CRC32 macro and crc table to a header so it can be generally accessible to modules ? id hate to duplicate it. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

Re: [PHP-DEV] Running test scripts

2002-02-22 Thread Rasmus Lerdorf
No, you pretty much need the command line version of PHP to run those tests the way the framework is written. I suppose it could be modified to run through the module, but you'd have to fiddle with it a little bit. -Rasmus On Thu, 21 Feb 2002, Venkat Raghavan wrote: Hi. We're involved

Re: [PHP-DEV] Building / using the LDAP extension

2002-02-22 Thread Rasmus Lerdorf
that. -Rasmus On Thu, 21 Feb 2002, Venkat Raghavan wrote: Again, it's we folks porting PHP onto NetWare. Is it necessary that the LDAP extension has to be a separate binary? Can we build it into PHPLIB itself? If so, how do we enable LDAP, considering we can't run the CONFIGURE script

Re: [PHP-DEV] FW: Response.redirect!!!

2002-02-22 Thread Rasmus Lerdorf
); } Then you can simply do: redirect(http://www.php.net;); -Rasmus On Fri, 22 Feb 2002, Rodent of Unusual Size wrote: Sent to the Apache contact address. I told him I was forwarding it, but that he might not get a reply if his message was considered too rude.. :-) - Forwarded

Re: [PHP-DEV] --with-sybase and --with-ibm-db2 conflict

2002-02-24 Thread Rasmus Lerdorf
Unlikely unless you figure out how to fix it and submit a patch. Very few developers have access to that combination to test things with. -Rasmus On Sun, 24 Feb 2002, Casey Allen Shobe wrote: On Friday 22 February 2002 19:15, Casey Allen Shobe wrote: Argh...I *really* need both

Re: [PHP-DEV] Apache2 and PHP CVS from today

2002-02-25 Thread Rasmus Lerdorf
I have set up dozens of production servers in the past couple of years and not a single one of them is running the static version. If there are issues with the DSO, then file a bug report on that so we can fix it. -Rasmus On Mon, 25 Feb 2002, August wrote: Jim wrote: the fact

Re: [PHP-DEV] Simple Apache 1.3 vs 2.0 benchmarks

2002-02-25 Thread Rasmus Lerdorf
of the added overhead of the bucket brigade implementation and other issues. -Rasmus On Mon, 25 Feb 2002, August wrote: #include as usual, all normal benchmark disclaimers. This is -dev, so let's assume folks have a grasp of the gap between performance benchmarking and the real world. Before

RE: [PHP-DEV] Simple Apache 1.3 vs 2.0 benchmarks

2002-02-25 Thread Rasmus Lerdorf
Which platform are you on? On Mon, 25 Feb 2002, August wrote: Hey Rasmus, Well, I'd done a similar set of benchmarks between DSO and static with apache 1.3.23, which showed the DSO variant getting around 1100 req/s. So it wasn't an automatic assumption, I just noticed that the Apache 2

Re: [PHP-DEV] Re: Counterpart to htmlentities function: unhtmlentities

2002-02-26 Thread Rasmus Lerdorf
be worthwhile to have built-in. -Brad Rasmus Lerdorf wrote: Reversing htmlentities is trivial. I don't think it needs a special function. Simply do: $trans = get_html_translation_table(HTML_ENTITIES); $trans = array_flip($trans); $data = strtr($data,$trans); -Rasmus

[PHP-DEV] Re: Bug #15756 Updated: bad Subtraction

2002-02-27 Thread Rasmus Lerdorf
such precision errrors. Anybody think we would have BC issues going from 14 to 10? -Rasmus On 27 Feb 2002 [EMAIL PROTECTED] wrote: ID: 15756 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / configure.in /mainphp_version.h

2002-02-27 Thread Rasmus Lerdorf
Rasmus Lerdorf wrote: By the way, when was this 4.2.0 branch created? I saw no php-dev/php-qa discussion on this. Derick is writing the mail in question right now. We're currently discussing the process on #php.bugs @ EFnet. Well, you have the process upside down. You need to send

[PHP-DEV] Re: [PHP-CVS] cvs: php4 / configure.in /main php_version.h

2002-02-27 Thread Rasmus Lerdorf
Hello, On Wed, 27 Feb 2002, Rasmus Lerdorf wrote: Decisions like this are not made by one person on irc. Including the decision on when to branch. This is done on php-dev. For all you know there are people working on stuff for 4.2 that haven't committed just yet. You're totally

Re: [PHP-DEV] Re: Bug #15772 Updated: PHP is developed and maintainedby morons

2002-03-01 Thread Rasmus Lerdorf
Guys, I fixed this memchr()+1 issue a couple of days ago. See http://cvs.php.net/diff.php/php4/main/rfc1867.c?r1=1.71.2.2r2=1.71.2.3ty=u It's a crash-bug, not an exploitable buffer problem. If we need a 4.1.3 for some reason, it will be in there. -Rasmus On Fri, 1 Mar 2002, Yasuo Ohgaki

<    1   2   3   4   5   6   7   8   9   10   >