[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

[PHP-DEV] Bug #14115 Updated: localtime() gives wrong year and month

2001-11-19 Thread rasmus
ID: 14115 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Date/time related Operating System: SuSE Linux 7.1 PHP Version: 4.0.6 New Comment: tm_year is defined to be the number of years since 1900, so 101 is correct, and tm_mon starts with January = 0

[PHP-DEV] Bug #14116 Updated: imageTTFtext doesnt work with ImageCreateTrueColor

2001-11-19 Thread rasmus
ID: 14116 Updated by: rasmus Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: *General Issues Operating System: Slackware 8 PHP Version: 4.0.6 New Comment: Luke, what do you mean by it doesn't work? There is a known problem with anti-aliasing of ttf fonts on truecolor images in gd

[PHP-DEV] Bug #13197 Updated: ImageTTFText broken on truecolor images

2001-11-19 Thread rasmus
ID: 13197 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: GD related Operating System: Linux PHP Version: 4.0.6 New Comment: Remove the - in front of $white there in your ImageTTFText() call and you should see something. There is a known issue

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

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] 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

[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] 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] 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

[PHP-DEV] Bug #12611 Updated: problems with ImageColorSet and ImageColorAt

2001-11-10 Thread rasmus
ID: 12611 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: GD related Operating System: Windows PHP Version: 4.0.6 New Comment: The ImageColorAt() issue has been fixed in CVS and will be in 4.1. ImageColorSet() does nothing for truecolor images

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

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: 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

[PHP-DEV] Bug #13885 Updated: gmdate(r); adds timezone instead of 'GMT'.

2001-10-31 Thread rasmus
ID: 13885 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Date/time related Operating System: Windows 2000 SP2 PHP Version: 4.0.6 New Comment: I must be missing something here. date('r') is intended to display an RFC822 date string. Section 5.1

[PHP-DEV] Bug #13885 Updated: gmdate(r); adds timezone instead of 'GMT'.

2001-10-31 Thread rasmus
ID: 13885 Updated by: rasmus Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Date/time related Operating System: Windows 2000 SP2 PHP Version: 4.0.6 New Comment: Ah, ok. Too early in the morning here. Looks like a Windows-specific issue as your test displays this on my Linux box: Wed

[PHP-DEV] Bug #13843 Updated: Command line arguments escaped magically and out of control

2001-10-29 Thread rasmus
ID: 13843 Updated by: rasmus Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Program Execution Operating System: Unix PHP Version: 4.0.6 New Comment: Well, not being able to use shell redirection and command line args in safe-mode makes a lot of sense. You could trivially circumvent

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

[PHP-DEV] Bug #13821 Updated: ucd-snmp include directory not found

2001-10-25 Thread rasmus
ID: 13821 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: SNMP related Operating System: Linux Cobalt PHP Version: 4.0.6 New Comment: Fixed in CVS (in July) Previous Comments

Re: [PHP-DEV] include and extra newline

2001-10-25 Thread rasmus
, are you sure? How did you create a.txt? Try: od -c a.txt -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-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] 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] 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

[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] making mail() funtion work without sendmail on UNIXsystems

2001-10-19 Thread Rasmus Lerdorf
wheel out there. -Rasmus On Fri, 19 Oct 2001, Hartmut Holzgraefe wrote: Stig Venaas wrote: Comments? well, the current SMTP implementation in win/sendmail.c is, lets say, at least suboptimal it misses a lot of requirements from the RFCs (821/822 or the newer 2821/2822), e.g. case

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

2001-10-19 Thread Rasmus Lerdorf
is redefined in the same file. -Rasmus On Fri, 19 Oct 2001, Stanislav Malyshev wrote: DB Essentially, to answer your question. include_once() is a very DB poor way to write modular code that will be used across DB different projects and across different developers. You are Why? DB

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

2001-10-19 Thread Rasmus Lerdorf
On Fri, 19 Oct 2001, Hartmut Holzgraefe wrote: Rasmus Lerdorf wrote: I am really not a big fan of putting smtp code into PHP on UNIX. The whole philosophy of UNIX is to have a collection of small specialized tools that work together instead of one mammoth tool. Which UNIX system

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] Bug #13727 Updated: Call to undefined function: floatval()

2001-10-18 Thread rasmus
ID: 13727 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: *Math Functions Operating System: Windows 2000 PHP Version: 4.0.6 New Comment: As the docs at php.net/floatval state right at the top. This function is only in CVS. Just use $fl = (float)$foo

[PHP-DEV] Bug #13728 Updated: --with-png-dir does not set the include dir

2001-10-18 Thread rasmus
ID: 13728 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: *Compile Issues Operating System: slackware 7.0 PHP Version: 4.0.6 New Comment: An rm config.cache; make clean and a full rebuild should take care of that. Let us know. Previous Comments

Re: [PHP-DEV] Re: Bug #13728 Updated: --with-png-dir does not setthe include dir

2001-10-18 Thread Rasmus Lerdorf
Get rid of the libpng 1.0.3 header files. Since they are on your include path PHP will pick them up first and use them. No real way around that. -Rasmus On Thu, 18 Oct 2001, Jean-Francois LE CAM wrote: No way, I still have the error... - Original Message - From: Bug Database

Re: [PHP-DEV] Forcing trans_sid on?

2001-10-18 Thread Rasmus Lerdorf
AFAICT, it behaved like this before your patches. At least lxr said so. :) Then lxr is wrong. If you look at session.c in 4.0.6 you will see that it doesn't do that. So we do not have a released version of PHP out there with that behaviour. -Rasmus -- PHP Development Mailing List http

[PHP-DEV] Bug #13550 Updated: intval() does not round off doubles correctly

2001-10-05 Thread rasmus
ID: 13550 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: *Programming Data Structures Operating System: Linux 2.2.18 PHP Version: 4.0.6 New Comment: Could you be a little less cryptic please? I would expect this to print: int 2 float 100 string

[PHP-DEV] ps_mm_initialize() always called

2001-10-05 Thread Rasmus Lerdorf
if the session handler is mm in MINIT and also stick that initialization in the onupdate ini handler. -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: [PHP-DEV] Sessions and register_globals

2001-10-05 Thread Rasmus Lerdorf
This is expected behaviour as far as I am concerned. When register_globals is off the $session[] array is completely separate from $HTTP_SESSION_VARS['session'] so doing a session_register('session') is replacing the existing registered variable with this completely new one. -Rasmus On Fri, 5

Re: [PHP-DEV] Re: ps_mm_initialize() always called

2001-10-05 Thread Rasmus Lerdorf
/bug.php?id=13095 -Rasmus On Fri, 5 Oct 2001, Sascha Schumann wrote: On Fri, 5 Oct 2001, Rasmus Lerdorf wrote: Sascha, do you think it would be possible to move that call out of the MINIT function in MINIT? It doesn't make a lot of sense to me to initialize mm if it is not being used

Re: [PHP-DEV] Re: ps_mm_initialize() always called

2001-10-05 Thread Rasmus Lerdorf
Probably a good idea as the default Debian php-cgi build has mm support. Not everyone builds their own PHP. -Rasmus On Fri, 5 Oct 2001, Sascha Schumann wrote: On Fri, 5 Oct 2001, Rasmus Lerdorf wrote: I have seen a number of people getting Unable to start session mm module in Unknown

Re: [PHP-DEV] Sessions and register_globals

2001-10-05 Thread Rasmus Lerdorf
Sebastian Bergmann wrote: Rasmus Lerdorf wrote: This is expected behaviour as far as I am concerned. Sascha just enlightened me on #php.de. Something I still don't understand: ?php session_register(count); $HTTP_SESSION_VARS[count]++; echo $HTTP_SESSION_VARS

[PHP-DEV] Bug #13089 Updated: Simple Char Swapping in String crashes Webserver

2001-10-05 Thread rasmus
ID: 13089 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Reproducible crash Operating System: Suse Linux 7.1 PHP Version: 4.0.4pl1 New Comment: Unable to reproduce this. Could you check to see if this is still a problem in recent versions

[PHP-DEV] Bug #13550 Updated: intval() does not round off doubles correctly

2001-10-05 Thread rasmus
ID: 13550 Updated by: rasmus Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: *Programming Data Structures Operating System: Linux 2.2.18 PHP Version: 4.0.6 New Comment: Ok, you could have stated this to begin with: intval($double)!=intval(round($double)) Where are you getting

[PHP-DEV] Re: Security e-mail address

2001-10-05 Thread Rasmus Lerdorf
have. Most of these are false alarms anyway. -Rasmus On Sat, 6 Oct 2001, Jani Taskinen wrote: What's wrong with php-dev? IIRC the [EMAIL PROTECTED] handles only administration of the site and stuff.. There can't be anything that fatal that all the people subscribed to php-dev shouldn't see

[PHP-DEV] Re: Security e-mail address

2001-10-05 Thread Rasmus Lerdorf
to address it in a timely manner, but I see nothing wrong with limiting the distribution list and certainly not immediately injecting an exploit into every search engine in the world. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP-DEV] Bug #13569 Updated: ibase_fetch_row doesn't null terminate all strings?

2001-10-05 Thread rasmus
ID: 13569 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: InterBase related Operating System: PHP Version: 4.0.4pl1 New Comment: Any chance you could test agains the current code? Grab the latest php4 snapshot tarball from http://snaps.php.net

Re: [PHP-DEV] Re: Security e-mail address

2001-10-05 Thread Rasmus Lerdorf
right in this. Yes, the majority of the attacks out there are really not very advanced. Just some kid who downloads an exploit from somewhere. If we can make a bit harder for these kids, we should. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL

Re: [PHP-DEV] quick addslashes bugfix

2001-10-03 Thread Rasmus Lerdorf
Hrm.. So Sybase does not need nulls escaped? Are you sure? Isn't the correct fix to make stripslashes() check for \0 ? -Rasmus On Wed, 3 Oct 2001, James L. Pine wrote: addslashes currently backslash escapes \0 regardless of the value of magic_quotes_sybase. if magic_quotes_sybase

[PHP-DEV] Bug #13532 Updated: bit_count()

2001-10-03 Thread rasmus
ID: 13532 Updated by: rasmus Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Feature/Change Request Operating System: All PHP Version: 4.0.6 New Comment: I think he may have meant the number of bits set in a bit field. Something like this should cover it: function bit_count($num

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RC3

2001-10-03 Thread Rasmus Lerdorf
? Is this true for nsldap as well? Seems logical though. -Rasmus On Thu, 4 Oct 2001, Stig Venaas wrote: On Thu, Oct 04, 2001 at 02:04:27AM +0200, Zeev Suraski wrote: Finally, it's out. www.php.net/~zeev/php-4.0.7RC3.tar.gz I see that my LDAP fix didn't make it. Can someone please explain how

[PHP-DEV] Bug #11844 Updated: It would be nice to have tags in PHP just like JSP tags.

2001-10-02 Thread rasmus
ID: 11844 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Feature/Change Request Operating System: Win 2000 PHP Version: 4.0.6 New Comment: So make yourself a function and call it. This isn't going to happen in PHP. Previous Comments

[PHP-DEV] Bug #11844 Updated: It would be nice to have tags in PHP just like JSP tags.

2001-10-02 Thread rasmus
ID: 11844 Updated by: rasmus Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Feature/Change Request Operating System: Win 2000 PHP Version: 4.0.6 New Comment: It is syntactical candy that would slow down the parser by a huge amount. You can do exactly the same thing with less typing

Re: [PHP-DEV] Possibility of moving bugs to another list?

2001-10-02 Thread Rasmus Lerdorf
i joined this group to read about php-development, not about bugs. The two are joined at the hip. -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

[PHP-DEV] Bug #13513 Updated: file doesn't recognize Zend encoded files as such.

2001-10-02 Thread rasmus
ID: 13513 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: *General Issues Operating System: PHP Version: 4.0.6 New Comment: This has nothing to do with PHP. Previous Comments

[PHP-DEV] Bug #13524 Updated: session_unset() with no registered vars causes segfault w/save_handler=user

2001-10-02 Thread rasmus
ID: 13524 Updated by: rasmus Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: linux 2.2.19 redhat PHP Version: 4.0.5 New Comment: Your write, destroy and gc functions need to return true on success. Shouldn't cause a segfault of course, but try fixing

Re: [PHP-DEV] PostgreSQL / PHP Overrun Error

2001-09-27 Thread Rasmus Lerdorf
would want to hide your configure line from your customers. They can figure it out by looking at the rest of phpinfo() anyway, or simply by checking which extensions are active. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP-DEV] [PATCH] fix gethostbyname() to return false whenhostname not resolved

2001-09-25 Thread Rasmus Lerdorf
here's a patch to fix bug #13423. think anyone is relying on the current (vastly lame, imho) behavior? Did you break the bug system somehow? I am having no luck looking up individual bugs, including this one. http://bugs.php.net/search.php?id=13423 doesn't work. -Rasmus -- PHP Development

Re: [PHP-DEV] [PATCH] fix gethostbyname() to return false whenhostname not resolved

2001-09-25 Thread Rasmus Lerdorf
Yes, but that's not where http://bugs.php.net/search.php sends you when you put a bug id number in the form. On Tue, 25 Sep 2001, Jim Winstead wrote: On Tue, Sep 25, 2001 at 02:00:56PM -0700, Rasmus Lerdorf wrote: here's a patch to fix bug #13423. think anyone is relying on the current

[PHP-DEV] Bug #13404 Updated: date('Z') seems to be wrong

2001-09-23 Thread rasmus
ID: 13404 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Closed Bug Type: Date/time related Operating System: FreeBSD 4.3-RELEASE PHP Version: 4.0CVS-2001-09-23 New Comment: That would be correct. You can prove this to yourself by typing: date +%z at your prompt

[PHP-DEV] Bug #13404 Updated: date('Z') seems to be wrong

2001-09-23 Thread rasmus
ID: 13404 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Bogus Bug Type: Date/time related Operating System: FreeBSD 4.3-RELEASE PHP Version: 4.0CVS-2001-09-23 New Comment: uh, woops, shouldn't have spent the 2 minutes to find a URL that explains this. Lots

Re: [PHP-DEV] SquirrelMail?

2001-09-23 Thread Rasmus Lerdorf
They should just be using include_once or require_once On Sun, 23 Sep 2001 [EMAIL PROTECTED] wrote: Has anyone else noticed that the current released version of squrrelmail does not work with the CVS version of PHP? It seems that they are re-including PHP files. This could means that either

[PHP-DEV] Bug #13407 Updated: array index 2147483647 not equivalent to 2147483647

2001-09-23 Thread rasmus
ID: 13407 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Open Bug Type: Unknown/Other Function Operating System: PHP Version: 4.0.4pl1 New Comment: Hrm.. Sure, that is the kneejerk response, but too near? 2147483647 is 2^31 - 1. I could understand

Re: [PHP-DEV] Zend CVS doesn't compile

2001-09-22 Thread Rasmus Lerdorf
One of the places it is defined is in the generated zend_language_scanner.c file though. And that one isn't and can't be protected with an ifdef/define, so it still won't build. On Sat, 22 Sep 2001 [EMAIL PROTECTED] wrote: Tried latest cvs update from zend and yy_state_type is typedef'ed in

Re: [PHP-DEV] enable truetype string function in gd

2001-09-21 Thread Rasmus Lerdorf
I try to get the above mentioned to work with the 4.0.6 release on Linux! But even though I provide the configure script with the --enable-gd-native-ttf switch, it reports that the feature is a no go There was a slight buglet in 4.0.6. Use --enable-gd-native-tt instead. -Rasmus

[PHP-DEV] Bug #13376 Updated: strings from ibase_fetch_row() have hidden garbage at end

2001-09-20 Thread rasmus
ID: 13376 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Unknown/Other Function Operating System: Linux 2.4.4-ac9 Debian viariant PHP Version: 4.0.5 New Comment: I think this may be fixed. Could you try a current snapshot from http://snaps.php.net

[PHP-DEV] Bug #13376 Updated: strings from ibase_fetch_row() have hidden garbage at end

2001-09-20 Thread rasmus
ID: 13376 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Unknown/Other Function Operating System: Linux 2.4.4-ac9 Debian viariant PHP Version: 4.0.5 New Comment: Sounds odd. Sorry to keep giving you more stuff to play with, but could you try PHP

[PHP-DEV] Bug #13351 Updated: wordwrap ignores split character when counting input characters

2001-09-17 Thread rasmus
ID: 13351 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Analyzed Bug Type: Strings related Operating System: Linux 2.2.19 PHP Version: 4.0.6 New Comment: Hrm.. Unable to reproduce. And the code does pre-scan the line to see if it contains a break char

[PHP-DEV] Bug #13352 Updated: trim/rtrim/ltrim do not work as advertised

2001-09-17 Thread rasmus
ID: 13352 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Unknown/Other Function Operating System: Linux PHP Version: 4.0.6 New Comment: The documentation states: Note: The second parameter was added in PHP 4.0.7 Previous Comments

[PHP-DEV] Bug #13353 Updated: function calling causes error with varable

2001-09-17 Thread rasmus
ID: 13353 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Variables related Operating System: win 98 box PHP Version: 4.0.4pl1 New Comment: Variable default values are not supported. A workaround would be to assign it a bogus value and check

Re: [PHP-DEV] Doc Karma Request

2001-09-14 Thread Rasmus Lerdorf
Everyone with global php-dev level karma has automatic karma for phpdoc. That includes you. -Rasmus On Fri, 14 Sep 2001, Jason Greene wrote: I hate to be a nag, but when someone gets a change could they add phpdoc to my access list? Thanks, -Jason -- PHP Development Mailing List

[PHP-DEV] Bug #13141 Updated: Undefined function errors appear everywhere

2001-09-09 Thread rasmus
ID: 13141 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Scripting Engine problem Operating System: Sun Solaris SunOS 5.8 PHP Version: 4.0.5 New Comment: Check your php.ini file and turn on register_globals Previous Comments

Re: [PHP-DEV] Woah

2001-09-08 Thread Rasmus Lerdorf
an application, it is a function that will be called dozens of times on every request. Adding the overhead of a user-space wrapper call is irritating. -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] Woah

2001-09-08 Thread Rasmus Lerdorf
At 09:36 08-09-01, Rasmus Lerdorf wrote: Using obscure single character operators is simply something that we don't do in PHP, it's totally inconsistent with the language. You know I hate magic more than most. I have lobbied against it forever. Well, you did in certain occasions

[PHP-DEV] Bug #12022 Updated: limitations of php://stdout

2001-09-08 Thread rasmus
ID: 12022 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Output Control Operating System: linux PHP Version: 4.0.2 New Comment: What exactly is the issue here? Why are you trying to open up stdout? You can write gzip data directly without doing

Re: [PHP-DEV] Bug #13201: pthread_create in extension function neverreturns

2001-09-07 Thread Rasmus Lerdorf
Have you tried explicitly linking Apache against libpthreads? On 7 Sep 2001 [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: linux 2.4 glibc 2.1 PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: pthread_create in extension

[PHP-DEV] Bug #13202 Updated: HEAD request problem when use ob_start and ob_end_flush

2001-09-07 Thread rasmus
ID: 13202 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Output Control Operating System: Redhat Linux 6.1 PHP Version: 4.0.4pl1 New Comment: This is fixed in later versions. Not quite sure which version fixed it though. Try 4.0.6. Definitely

[PHP-DEV] Bug #13206 Updated: MD5 option for 128 bytes long digest (standard)

2001-09-07 Thread rasmus
ID: 13206 Updated by: rasmus Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Feature/Change Request Operating System: Windows 98 PHP Version: 4.0.4pl1 New Comment: Read RFC1321 (http://www.ietf.org/rfc/rfc1321.txt) where this is clearly stated and a number of testcases are listed

[PHP-DEV] Bug #13207 Updated: open_basedir not restricting file access properly

2001-09-07 Thread rasmus
ID: 13207 Updated by: rasmus Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IIS related Operating System: NT 4.0 PHP Version: 4.0.6 New Comment: You don't have open_basedir enabled. The error message from an open_basedir restriction is not permission denied. Does your phpinfo() output

Re: [PHP-DEV] Woah

2001-09-07 Thread Rasmus Lerdorf
libintl.h #define _(String) gettext (String) -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] Woah

2001-09-07 Thread Rasmus Lerdorf
() thousands of times does get rather old very quickly. -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] Woah

2001-09-07 Thread Rasmus Lerdorf
++, Perl, Python and Tcl. -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] stristr() overwrites haystack

2001-09-06 Thread Rasmus Lerdorf
=1.229r2=1.230f=u And it didn't leak into the PHP_4_0_7 branch. -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] new configure error

2001-09-06 Thread Rasmus Lerdorf
: missing terminating character Some recent change is causing this. Was working before a recent cvs upd -dP ./buildconf rm config.cache ./config.nice Ring a bell with anybody before I dive in and investigate? -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail

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