Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-17 Thread Sterling Hughes
Jani Taskinen wrote: > On Fri, 18 May 2001, Andi Gutmans wrote: > > of thinking about something which is pretty low-level and it reduces bloat. I don't really see a downside to this magic. >>>But, the issue here isn't one of which is faster. The issue here is one >>>of memory usa

Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-17 Thread Jani Taskinen
And then I find the magical 'if(!issock) {' line.. :) But still I'd rather nuke mmap..HOW fast is it anyway compared to reading/writing in chunks? --Jani On Fri, 18 May 2001, Jani Taskinen wrote: >On Fri, 18 May 2001, Andi Gutmans wrote: > >>> > of thinking about something which is pretty low

Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-17 Thread Jani Taskinen
On Fri, 18 May 2001, Andi Gutmans wrote: >> > of thinking about something which is pretty low-level and it reduces >> > bloat. I don't really see a downside to this magic. >> >>But, the issue here isn't one of which is faster. The issue here is one >>of memory usage. If you have a 600M iso ima

Re: [PHP-DEV] sockets extension

2001-05-17 Thread Sterling Hughes
Stig Venaas wrote: > On Thu, May 17, 2001 at 01:48:06AM -0400, Sterling Hughes wrote: > >>Well, it probably could be done anyway (abstract it another step). >>However, I don't see it really being that beneficial. The socket >>functions provide *low level* access to the system socket features.

Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-17 Thread Andi Gutmans
At 11:10 PM 5/17/2001 -0700, Rasmus Lerdorf wrote: > > >>Perhaps automatic detection could be option? if (filesize > X) > > >>blockread else mmap? It seems like the most intuitive way to implement > > >>it... > > >> > > > > > > Sounds a bit magical. Why not just a block_readfile() function? > >

Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-17 Thread Andi Gutmans
At 10:40 PM 5/17/2001 -0700, Rasmus Lerdorf wrote: > > > True. But I guess my main issue is still that the behaviour changes > > > radically based on a hidden configure check (ie. whether mmap is there > > > or not) and that ensuring a block-by-block read in user space is > > > inefficient for hu

Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-17 Thread Sterling Hughes
Rasmus Lerdorf wrote: Perhaps automatic detection could be option? if (filesize > X) blockread else mmap? It seems like the most intuitive way to implement it... >>>Sounds a bit magical. Why not just a block_readfile() function? >>> >> >>Mainly the bloat factor, we alread

Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-17 Thread Thies C. Arntzen
On Thu, May 17, 2001 at 11:10:57PM -0700, Rasmus Lerdorf wrote: > > >>Perhaps automatic detection could be option? if (filesize > X) > > >>blockread else mmap? It seems like the most intuitive way to implement > > >>it... > > >> > > > > > > Sounds a bit magical. Why not just a block_readfile()

Re: [PHP-DEV] sockets extension

2001-05-17 Thread Stig Venaas
On Thu, May 17, 2001 at 01:48:06AM -0400, Sterling Hughes wrote: > Well, it probably could be done anyway (abstract it another step). > However, I don't see it really being that beneficial. The socket > functions provide *low level* access to the system socket features. > There's no real point

Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-17 Thread Rasmus Lerdorf
> >>Perhaps automatic detection could be option? if (filesize > X) > >>blockread else mmap? It seems like the most intuitive way to implement > >>it... > >> > > > > Sounds a bit magical. Why not just a block_readfile() function? > > > Mainly the bloat factor, we already have a large core, imho,

[PHP-DEV] Bug #10945 Updated: Apache core dumps when PHP4.0.5 is activated via LoadModule

2001-05-17 Thread morgan
ID: 10945 User Update by: [EMAIL PROTECTED] Status: Analyzed Bug Type: Apache related Operating system: AIX 4.3.3 (MU8) PHP Version: 4.0.5 Description: Apache core dumps when PHP4.0.5 is activated via LoadModule Somehow, I'd guessed that AIX would finish low on the "supported list". One note, fo

Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-17 Thread Sterling Hughes
> >>Perhaps automatic detection could be option? if (filesize > X) >>blockread else mmap? It seems like the most intuitive way to implement >>it... >> > > Sounds a bit magical. Why not just a block_readfile() function? Mainly the bloat factor, we already have a large core, imho, functions

Re: [PHP-DEV] Zdnet Article

2001-05-17 Thread Michael Loftis
They were actually considering Windows as a viable platform for a server at all. *shudder* John Donagher wrote: > Responding to this article only prolongs its life. > > Treat PC Magazine/ZDNET's reviews as you would a 3rd grader's book report. > These are not technical publications; they are th

Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-17 Thread Rasmus Lerdorf
> > True. But I guess my main issue is still that the behaviour changes > > radically based on a hidden configure check (ie. whether mmap is there > > or not) and that ensuring a block-by-block read in user space is > > inefficient for huge files. > > > > > good point... hrrmmm > > it seems

[PHP-DEV] Bug #10945 Updated: Apache core dumps when PHP4.0.5 is activated via LoadModule

2001-05-17 Thread rasmus
ID: 10945 Updated by: rasmus Reported By: [EMAIL PROTECTED] Status: Analyzed Bug Type: Apache related Operating system: PHP Version: 4.0.5 Assigned To: Comments: There is no "supported list". But, obviously operating systems that are more common end up getting more attention and more testing.

Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-17 Thread Sterling Hughes
>>fread() should handle this, no? >> > > True. But I guess my main issue is still that the behaviour changes > radically based on a hidden configure check (ie. whether mmap is there > or not) and that ensuring a block-by-block read in user space is > inefficient for huge files. > good point..

[PHP-DEV] Bug #10945 Updated: Apache core dumps when PHP4.0.5 is activated via LoadModule

2001-05-17 Thread morgan
ID: 10945 User Update by: [EMAIL PROTECTED] Status: Analyzed Bug Type: Apache related Operating system: AIX 4.3.3 (MU8) PHP Version: 4.0.5 Description: Apache core dumps when PHP4.0.5 is activated via LoadModule Tried recompiling everything with IBM Visual Age C v5.01. No change. I also tried

Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-17 Thread Rasmus Lerdorf
> >>>If a system has mmap() a readfile() will mmap the entire file to memory > >>>and then dump that while without mmap it will read it one block at a time. > >>>That's a siginificant memory difference and one that may not be expected. > >>> > >>>Obviously the mmap will be faster, but if as in bug

Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-17 Thread Sterling Hughes
Rasmus Lerdorf wrote: >>>If a system has mmap() a readfile() will mmap the entire file to memory >>>and then dump that while without mmap it will read it one block at a time. >>>That's a siginificant memory difference and one that may not be expected. >>> >>>Obviously the mmap will be faster, but

RE: [PHP-DEV] Bug #10701 Updated: readfile usage on large files

2001-05-17 Thread Rasmus Lerdorf
> Well, the reason I stayed away from trying to use fgets for a single block > at a time were because of some of the comments from > http://php.net/manual/en/function.fgets.php > > Anyways, an offtopic question if I may, I've tried making .htaccess > parseable by PHP using AddType and also attempt

Re: [PHP-DEV] Zdnet Article

2001-05-17 Thread Rasmus Lerdorf
> Responding to this article only prolongs its life. > > Treat PC Magazine/ZDNET's reviews as you would a 3rd grader's book report. > These are not technical publications; they are the Popular Mechanics of the PC > world. When considering languages/environments to use when building an > applicatio

RE: [PHP-DEV] Bug #10701 Updated: readfile usage on large files

2001-05-17 Thread Stephen VanDyke
Well, the reason I stayed away from trying to use fgets for a single block at a time were because of some of the comments from http://php.net/manual/en/function.fgets.php Anyways, an offtopic question if I may, I've tried making .htaccess parseable by PHP using AddType and also attempting to do i

Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-17 Thread Rasmus Lerdorf
> > If a system has mmap() a readfile() will mmap the entire file to memory > > and then dump that while without mmap it will read it one block at a time. > > That's a siginificant memory difference and one that may not be expected. > > > > Obviously the mmap will be faster, but if as in bug #1070

Re: [PHP-DEV] Zdnet Article

2001-05-17 Thread John Donagher
Responding to this article only prolongs its life. Treat PC Magazine/ZDNET's reviews as you would a 3rd grader's book report. These are not technical publications; they are the Popular Mechanics of the PC world. When considering languages/environments to use when building an application, very fe

Re: [PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-17 Thread Sterling Hughes
Rasmus Lerdorf wrote: > If a system has mmap() a readfile() will mmap the entire file to memory > and then dump that while without mmap it will read it one block at a time. > That's a siginificant memory difference and one that may not be expected. > > Obviously the mmap will be faster, but if a

Re: [PHP-DEV] Bug #10701 Updated: readfile usage on large files

2001-05-17 Thread Rasmus Lerdorf
Well, you'd want to do it one block at a time. But yes, if you are going to be reading the files with PHP that's what you'll end up doing at some level anyway. Otherwise look at Apache's mod_header and perhaps dynamically generate the header information and write the appropriate .htaccess files

[PHP-DEV] Bug #10701 Updated: readfile usage on large files

2001-05-17 Thread stephen
ID: 10701 User Update by: [EMAIL PROTECTED] Status: Closed Bug Type: Filesystem function related Operating system: Linux 2.4.x PHP Version: 4.0.5 Description: readfile usage on large files You are kidding right? Nice way to take down a server. load average: 66.52, 33.25, 15.76 $fp = fopen("

[PHP-DEV] mmap in php_passthru_fd in file.c ?

2001-05-17 Thread Rasmus Lerdorf
If a system has mmap() a readfile() will mmap the entire file to memory and then dump that while without mmap it will read it one block at a time. That's a siginificant memory difference and one that may not be expected. Obviously the mmap will be faster, but if as in bug #10701, someone is addin

Re: [PHP-DEV] Zdnet Article

2001-05-17 Thread Gavin Sherry
There is a disappointing trend in 'mainstream' commentary on open source projects. This is an example of one. In the last year of so I have had a lot of experience with poor media coverage of projects I am either involved in or follow closely. One of the worst being an all out attack on PostgreSQ

[PHP-DEV] Bug #10701 Updated: readfile usage on large files

2001-05-17 Thread rasmus
ID: 10701 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Filesystem function related Operating system: PHP Version: 4.0.5 Assigned To: Comments: What's to claim. This is a support question that belongs on one of the mailing lists and not in the bug

[PHP-DEV] New: MLM SURVEY RESULTS

2001-05-17 Thread mlm_update20049s
Choose From Any Of The Following: Promote your Existing Business Or Make Money With One Of Our! Choose From The 2 Below If You Have An Existing Business Choice 1: GUARANTEEd ... 1,000,000 Banner IMPRESSIONS!! FIND OUT WHAT THE PROS HAVE BEEN DOING FOR YEARS!! NOW AVAILABLE TO EVERYONE!! Promote

[PHP-DEV] Bug #10947: socket compile error for apache compiling

2001-05-17 Thread konlo
From: [EMAIL PROTECTED] Operating system: SunOS 5.6 PHP version: 4.0.5 PHP Bug Type: Apache related Bug description: socket compile error for apache compiling I compile php with --enable-sockets . The compile is finished successfully, but on compiling apache , this error

Re: [PHP-DEV] Zdnet Article

2001-05-17 Thread Brian Moon
That may be the worst done article I have ever read. I could rewrite every paragraph and turn it on ASP or Perl or any language. He obviously did not put much effort into it. My Take: "The Unix version of ASP, unfortunately, cannot be taken seriously as it does not exist except in a very expen

[PHP-DEV] CVS Account Request

2001-05-17 Thread CVS Account Request
Full name: liujian Email: [EMAIL PROTECTED] ID: xliu Purpose: learn php -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] Bug #10946: mail() Failed: Server Error

2001-05-17 Thread Jeff . Zhu
From: [EMAIL PROTECTED] Operating system: Win2000 PHP version: 4.0.5 PHP Bug Type: IIS related Bug description: mail() Failed: Server Error i have installed php and iis in 2 servers. one is ok, when i run the mail(). but another is failed. so i changed the smtp to the right

[PHP-DEV] Bug #10945 Updated: Apache core dumps when PHP4.0.5 is activated via LoadModule

2001-05-17 Thread rasmus
ID: 10945 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: Apache related Operating system: PHP Version: 4.0.5 Assigned To: Comments: On systems that use glibc-2.1.x there is a bug in glibc that prevents a binary not linked against pthreads to dynam

[PHP-DEV] Bug #10929 Updated: got "segmentation fault" after successful compile

2001-05-17 Thread sniper
ID: 10929 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Apache related Operating system: PHP Version: 4.0.5 Assigned To: Comments: Try getting fresh sources for Apache and try again.. --Jani Previous Comments: --

[PHP-DEV] Bug #10945: Apache core dumps when PHP4.0.5 is activated via LoadModule

2001-05-17 Thread morgan
From: [EMAIL PROTECTED] Operating system: AIX 4.3.3 (MU8) PHP version: 4.0.5 PHP Bug Type: Apache related Bug description: Apache core dumps when PHP4.0.5 is activated via LoadModule Apache-1.3.19 compiles clean under gcc-2.95.3 with: $ ./configure --prefix=/opt/apache --en

Re: [PHP-DEV] Bug #10917: deal with the BLOB data

2001-05-17 Thread Brian Foddy
What I've found works very well for my apps is to Base64 encode the data then store it in a text field. It expands by a few percent but compared to the Sybase inefficiency of using the Blob/Text fields in the first place (they only allocate in 2K chunks) its not too serious. On 17 May 2001 04:3

[PHP-DEV] Bug #10944: hw_info() prints garbage for server string

2001-05-17 Thread torben
From: [EMAIL PROTECTED] Operating system: Linux 2.2.14/Mandrake 7 PHP version: 4.0 Latest CVS (2001-05-17) PHP Bug Type: Hyperwave related Bug description: hw_info() prints garbage for server string hw_info() is printing some random garbage for the server string: „̏***, l

[PHP-DEV] Bug #10936 Updated: DOMXML crash with CDATA

2001-05-17 Thread matthew . kane
ID: 10936 User Update by: [EMAIL PROTECTED] Old-Status: Closed Status: Open Bug Type: Reproducible crash Operating system: Win2K Pro PHP Version: 4.0.5 Description: DOMXML crash with CDATA Not in the binaries in http://www.php.net/do_download.php?download_file=php-4.0.5-Win32.zip&source_site=www

Re: [PHP-DEV] Zdnet Article

2001-05-17 Thread Nick Loman
"get some skills" please ZDNet - that has to be one of the poorest reviews of anything on any platform ever. No comments system either -- probably using BroadVision :/ Is there a php-advocacy list? I'm getting sick of having to explain exactly why PHP is better than ColdFusion et al. It would b

[PHP-DEV] setting open_basedir and include_path from environment variables

2001-05-17 Thread Egan
Hi, In main.c there are some comments about setting include_path from an environment variable called PHP_INCLUDE_PATH, but it appears this is a future todo. I need to patch my local source to do that, but I don't see in the source where the values are being read from the .ini file; presumably I

[PHP-DEV] Zdnet Article

2001-05-17 Thread Emmanuel FAIVRE
http://www.zdnet.com/products/stories/reviews/0,4161,2711724,00.html no word to comment that ! just see a adbanner for ColdFusion on the same page ! Manu -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

[PHP-DEV] Bug #10943 Updated: After a migration from php4.0.4 to php4.0.5

2001-05-17 Thread derick
ID: 10943 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: PWS related Operating system: PHP Version: 4.0.5 Assigned To: Comments: You need to provide some more information, so that we can see what goes wrong, and how to fix it. Previous Comments:

[PHP-DEV] Bug #10936 Updated: DOMXML crash with CDATA

2001-05-17 Thread lyric
ID: 10936 Updated by: lyric Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Reproducible crash Operating system: PHP Version: 4.0.5 Assigned To: Comments: domxml has changed from children being a method to being a member. Try $children = $root->children Previous Comme

[PHP-DEV] Bug #10943: After a migration from php4.0.4 to php4.0.5

2001-05-17 Thread bmarty
From: [EMAIL PROTECTED] Operating system: WINDOWS 98 PHP version: 4.0.5 PHP Bug Type: PWS related Bug description: After a migration from php4.0.4 to php4.0.5 After a migration from php 4.0.4 to php 4.0.5, my personal web server(PWS)doesn't work with php pages. Is there any

[PHP-DEV] Bug #10890 Updated: Segmentation fault when using mcrypt function in Apache

2001-05-17 Thread derick
ID: 10890 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Analyzed Status: Closed Bug Type: mcrypt related Operating system: PHP Version: 4.0.5 Assigned To: derick Comments: This should be fixed in CVS. Can you please try a snapshot in about two hours? (The snapshots have to be ge

[PHP-DEV] Bug #9801 Updated: mcrypt_encrypt dumps core

2001-05-17 Thread derick
ID: 9801 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Analyzed Status: Closed Bug Type: mcrypt related Operating system: PHP Version: 4.0 Latest CVS (16/03/2001) Assigned To: derick Comments: Ok, this was indeed the problem. Thanks for this excellent help! Derick Previous Co

[PHP-DEV] Bug #10701 Updated: readfile usage on large files

2001-05-17 Thread stephen
ID: 10701 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Filesystem function related Operating system: Linux 2.4.x PHP Version: 4.0.5 Description: readfile usage on large files Anyone plan on claiming this? Previous Comments:

[PHP-DEV] Bug #10942 Updated:

2001-05-17 Thread derick
ID: 10942 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: GetImageSize related Operating system: PHP Version: 4.0.5 Assigned To: Comments: Hello, please provide some more information about this. And there has been some fix for the GetImageSize func

[PHP-DEV] Bug #10942:

2001-05-17 Thread eschein
From: [EMAIL PROTECTED] Operating system: redhat 7 PHP version: 4.0.5 PHP Bug Type: GetImageSize related Bug description: -- Edit Bug report at: http://bugs.php.net/?id=10942&edit=1 -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL

[PHP-DEV] Bug #10890 Updated: Segmentation fault when using mcrypt function in Apache

2001-05-17 Thread derick
ID: 10890 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: mcrypt related Operating system: PHP Version: 4.0.5 Assigned To: derick Comments: Hello, I'm on this, probably found the bug already. I'll commit the fix as soon as I tested it and my conn

[PHP-DEV] Bug #10890 Updated: Segmentation fault when using mcrypt function in Apache

2001-05-17 Thread henrik_l
ID: 10890 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: mcrypt related Operating system: FreeBSD 4.1.1 PHP Version: 4.0.5 Description: Segmentation fault when using mcrypt function in Apache I tried today with libmcrypt-2.4.11 both with --disable-posix-threads and without. In both c

[PHP-DEV] Bug #9801 Updated: mcrypt_encrypt dumps core

2001-05-17 Thread derick
ID: 9801 Updated by: derick Reported By: [EMAIL PROTECTED] Status: Analyzed Bug Type: mcrypt related Operating system: PHP Version: 4.0 Latest CVS (16/03/2001) Assigned To: derick Comments: Hello, looks all ok. I'll check it out, and apply the patch (if ok) so that it will be fixed in PHP 4.

[PHP-DEV] Bug #10941: php4-200105171245/ext/standard/dns.c:281: undefined reference to `__res_search'

2001-05-17 Thread klashma
From: [EMAIL PROTECTED] Operating system: RedHat7.1&Kernel 2.4.4 PHP version: 4.0 Latest CVS (2001-05-17) PHP Bug Type: Compile Failure Bug description: php4-200105171245/ext/standard/dns.c:281: undefined reference to `__res_search' This bug is basically the same as bug #10

[PHP-DEV] Bug #9801 Updated: mcrypt_encrypt dumps core

2001-05-17 Thread michael
ID: 9801 User Update by: [EMAIL PROTECTED] Status: Analyzed Bug Type: mcrypt related Operating system: Linux 2.4.1 PHP Version: 4.0 Latest CVS (16/03/2001) Description: mcrypt_encrypt dumps core I think I've found the problem (and the solution). Let's look at some functions found in mcrypt fir

[PHP-DEV] Bug #10933 Updated: make failure after successfull configuration

2001-05-17 Thread fb33550
ID: 10933 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating system: Solaris 8 PHP Version: 4.0 Latest CVS (2001-05-17) Description: make failure after successfull configuration Sorry about it... shame on me Previous Comments: -

[PHP-DEV] Bug #10940: ((true) && (true)) to return bool

2001-05-17 Thread fabiankessler
From: [EMAIL PROTECTED] Operating system: win2k PHP version: 4.0.5 PHP Bug Type: Feature/Change Request Bug description: ((true) && (true)) to return bool (true) returns a bool while ((true) && (true)) returns an int. so (((true) && (true)) == true) "works" while (((true

[PHP-DEV] Bug #10939: Segmentation Fault in trigger_error()

2001-05-17 Thread dzoll
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.5 PHP Bug Type: Reproducible crash Bug description: Segmentation Fault in trigger_error() PHP 4.0.5 running as an apache module (Apache startup string: "Apache/1.3.19 (Unix) mod_auth_pam/1.0a PHP/4.0.5 mod_ssl/

Re: [PHP-DEV] Re: Solaris gcc issues with socket.c, design change recommendation

2001-05-17 Thread Sterling Hughes
Jason Greene wrote: > Sterling, > Did you ever get a chance to read the email about the change I suggested > to /ext/sockets that would improve compatibility with Solaris? > No, I don't believe I even recieved it. could you resend it to me? thanks, Sterling -- PHP Development Mailin

[PHP-DEV] Re: Solaris gcc issues with socket.c, design change recommendation

2001-05-17 Thread Jason Greene
Sterling, Did you ever get a chance to read the email about the change I suggested to /ext/sockets that would improve compatibility with Solaris? -Jason -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP-DEV] Bug #10938: internal_functions.c:32: `#include' expects "FILENAME" or

2001-05-17 Thread php
From: [EMAIL PROTECTED] Operating system: Mac OS X 10.0.2 PHP version: 4.0.5 PHP Bug Type: Compile Failure Bug description: internal_functions.c:32: `#include' expects "FILENAME" or After configuring with mysql and apxs (./configure --with-mysql=/usr/local --wit

Re: [PHP-DEV] sockets extension

2001-05-17 Thread Sterling Hughes
Daniel Beulshausen wrote: > At 21:23 16.05.2001 +0100, Wez Furlong wrote: > >> I'm not sure that the sockets extension would benefit from php_streams as >> much as php_streams would benefit from the sockets extension, if you see >> what I mean. >> >> I would like to see it using php_streams, as

Re: [PHP-DEV] Repost : Recursive Calls on EG(regular_list)

2001-05-17 Thread Andi Gutmans
Clayton, This used to not work a few months ago but we made a general fix in the hash tables which should allow your code to run fine. In case you encounter any problems let us know. Andi At 01:36 PM 5/17/2001 -0400, clayton collie wrote: >the list has been busy as of late, so i suppose this g

[PHP-DEV] Bug #10937: Interface to execl() library call

2001-05-17 Thread kc834
From: [EMAIL PROTECTED] Operating system: Linux 2.2 PHP version: 4.0.5 PHP Bug Type: Feature/Change Request Bug description: Interface to execl() library call It would be very helpful if you implemented a command that could be used to execute an external program without usi

[PHP-DEV] Bug #10793 Updated: session variables are not passed correctly to the user defined write function

2001-05-17 Thread kronos
ID: 10793 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: *Session related Operating system: Linux 2.2.16 PHP Version: 4.0.4pl1 Description: session variables are not passed correctly to the user defined write function The strange behavior is caused by a call to set_magic_quotes_runtime

[PHP-DEV] Bug #10935 Updated: GetImageSize fails on some JPEG files

2001-05-17 Thread derick
ID: 10935 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Function Specific Operating system: PHP Version: 4.0.5 Assigned To: Comments: This should be fixed in CVS, please try a snapshot from snaps.php.net and see if it works for you. Previous Comm

Re: [PHP-DEV] sockets extension

2001-05-17 Thread Daniel Beulshausen
At 21:23 16.05.2001 +0100, Wez Furlong wrote: >I'm not sure that the sockets extension would benefit from php_streams as >much as php_streams would benefit from the sockets extension, if you see >what I mean. > >I would like to see it using php_streams, as that would result in PHP being >much more

[PHP-DEV] Repost : Recursive Calls on EG(regular_list)

2001-05-17 Thread clayton collie
the list has been busy as of late, so i suppose this got lost in the shuffle. anyways, here goes again : im creating an extension which exposes classes which may act as containers to other classes. These contained classes also get exposed via the extension. Now when the container class gets dest

Re: Fwd: [PHP-DEV] mcrypt failure under PHP 4.0.5 -> more info.

2001-05-17 Thread derick
On Thu, 17 May 2001, Andi Gutmans wrote: > Sascha, > > Can you please check this out? It should probably be fixed for 4.0.6. The code he pasted gives me a nice segfault: Program received signal SIGSEGV, Segmentation fault. permute (inblock=0x81ac1e4 "6866206b\204Ì\217*", perm=0x1980, outblo

[PHP-DEV] Bug #10936: DOMXML crash with CDATA

2001-05-17 Thread matthew . kane
From: [EMAIL PROTECTED] Operating system: Win2K Pro PHP version: 4.0.5 PHP Bug Type: Reproducible crash Bug description: DOMXML crash with CDATA I am running the latest Win32 binaries from the php.net download page. I am using the ISAPI module on IIS5. In php.ini I enabled

[PHP-DEV] US$5,000

2001-05-17 Thread Michelle Jones
 親愛的网友,  网上商務和技術發展在特飛猛進, 你對其發展有些什的看法? 請輸入你的意見, 同時你有机會贏得US$5000.  香港和台湾的用户: 漢語請按這里: http://www.haveattitude.com/email/chinese_t  大陆的用户: 漢語請按這里: http://www.haveattitude.com/email/chinese_s/  Click Here for English: http://www.haveattitude.com/english  謝謝你的參与!

[PHP-DEV] Bug #10935: GetImageSize fails on some JPEG files

2001-05-17 Thread aks
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.5 PHP Bug Type: *Function Specific Bug description: GetImageSize fails on some JPEG files After upgrading from 4.0.4 to 4.0.5 the getimagesize function seems to have problems with some JPEG files, where it ret

[PHP-DEV] Bug #10934: set_error_handler () is not catching all errors

2001-05-17 Thread melissa
From: [EMAIL PROTECTED] Operating system: Solaris 8 PHP version: 4.0.5 PHP Bug Type: *Function Specific Bug description: set_error_handler () is not catching all errors Short, sample function listed to quickly illustrate issue: [root@helpdesk bin]# more err.php [root@hel

Fwd: [PHP-DEV] mcrypt failure under PHP 4.0.5 -> more info.

2001-05-17 Thread Andi Gutmans
Sascha, Can you please check this out? It should probably be fixed for 4.0.6. Andi >Delivered-To: [EMAIL PROTECTED] >Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm >list-post: >Delivered-To: mailing list [EMAIL PROTECTED] >Date: Thu, 17 May 2001 16:48:36 +0100

[PHP-DEV] Re: [PHP-DOC] Rename list to php-doc?

2001-05-17 Thread Hojtsy Gabor
> We're there plans to rename the [EMAIL PROTECTED] mailing list > to [EMAIL PROTECTED], for consistency with the other mailing > lists? What ever happened to that idea? Maybe an alias would be enough for the sort term. The mail subject says: [PHP-DOC] :) Goba ..

[PHP-DEV] Bug #10932 Updated: make failure after successfull configuration

2001-05-17 Thread derick
ID: 10932 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Compile Failure Operating system: PHP Version: 4.0.5 Assigned To: Comments: Previous Comments: --- [2001-05-17 12:30:03

[PHP-DEV] Bug #10933 Updated: make failure after successfull configuration

2001-05-17 Thread derick
ID: 10933 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Duplicate Status: Open Bug Type: Compile Failure Operating system: PHP Version: 4.0 Latest CVS (2001-05-17) Assigned To: Comments: Opening these, bogusifying the other... Previous Comments:

[PHP-DEV] Bug #10933 Updated: make failure after successfull configuration

2001-05-17 Thread fb33550
ID: 10933 User Update by: [EMAIL PROTECTED] Status: Duplicate Bug Type: Compile Failure Operating system: Solaris 8 PHP Version: 4.0 Latest CVS (2001-05-17) Description: make failure after successfull configuration Sorry, I was wrong in the version I mentionned... this was to help... Floren

[PHP-DEV] Bug #10933 Updated: make failure after successfull configuration

2001-05-17 Thread vlad
ID: 10933 Updated by: vlad Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Duplicate Bug Type: Compile Failure Operating system: PHP Version: 4.0 Latest CVS (2001-05-17) Assigned To: Comments: ... of 10932 Previous Comments: -

[PHP-DEV] Bug #10931 Updated: IBM HTTP Server 1.3.12.2 can't load the php4apache.dll

2001-05-17 Thread derick
ID: 10931 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Other web server Operating system: PHP Version: 4.0.5 Assigned To: Comments: Please provide some more information, this is not enough to track down a problem. Please also read www.php.net/bu

[PHP-DEV] Bug #10927 Updated: mycrpt no longer works in 4.0.5

2001-05-17 Thread derick
ID: 10927 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Assigned Bug Type: mcrypt related Operating system: PHP Version: 4.0.5 Assigned To: derick Comments: Hello, I find it very strange that mcrypt does not report any error. (Are there things about a Signal 11,

[PHP-DEV] Bug #10933: make failure after successfull configuration

2001-05-17 Thread fb33550
From: [EMAIL PROTECTED] Operating system: Solaris 8 PHP version: 4.0 Latest CVS (2001-05-17) PHP Bug Type: Compile Failure Bug description: make failure after successfull configuration Hi, I've got a problem making the latest version of php (source is php4-200105170745). M

[PHP-DEV] Bug #10932: make failure after successfull configuration

2001-05-17 Thread fb33550
From: [EMAIL PROTECTED] Operating system: Solaris 8 PHP version: 4.0.5 PHP Bug Type: Compile Failure Bug description: make failure after successfull configuration Hi, I've got a problem making the latest version of php (source is php4-200105170745). My configure line : ./c

[PHP-DEV] Bug #10931: IBM HTTP Server 1.3.12.2 can't load the php4apache.dll

2001-05-17 Thread tmjiang
From: [EMAIL PROTECTED] Operating system: windows 2000 professional PHP version: 4.0.5 PHP Bug Type: Other web server Bug description: IBM HTTP Server 1.3.12.2 can't load the php4apache.dll -- Edit Bug report at: http://bugs.php.net/?id=10931&edit=1 -- PHP Developmen

[PHP-DEV] Bug #10930: Can't connect to mysql after running some code that crashes IIS 5

2001-05-17 Thread tyler . longren
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.5 PHP Bug Type: MySQL related Bug description: Can't connect to mysql after running some code that crashes IIS 5 After running the code below, PHP 4.0.5 is no longer able to connecto to mysql. I have t

[PHP-DEV] Bug #10929: got "segmentation fault" after successful compile

2001-05-17 Thread marija
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.5 PHP Bug Type: Apache related Bug description: got "segmentation fault" after successful compile cd /usr/src/apache_1.3.19 ./configure --prefix=/www cd ../php-4.0.5 ./configure --with-mysql=/usr/local/ --with

Re: [PHP-DEV] Boolean weirdness?

2001-05-17 Thread Andrei Zmievski
On Thu, 17 May 2001, Sebastian Bergmann wrote: > Hey there, > > I was just bitten by a - IMHO - weirdness with boolean values: > >$foo = -1; > if ($foo) { print "bar"; } > ?> > > The code above print 'bar'. I would expect if($x) t return true if $x > is an integer an

[PHP-DEV] Boolean weirdness?

2001-05-17 Thread Sebastian Bergmann
Hey there, I was just bitten by a - IMHO - weirdness with boolean values: The code above print 'bar'. I would expect if($x) t return true if $x is an integer and greater that zero. This is what my intuition tells me :) Just a thought, Sebastian -- sebastian bergmann

[PHP-DEV] Re: Exporting strlcat()?

2001-05-17 Thread Sterling Hughes
Daniel Stenberg wrote: > On Wed, 16 May 2001, Sterling Hughes wrote: > > [Talking about strlcat() as it exists globallly in libcurl that then collides > with the PHP internal one when building PHP with curl] > > >>>Yes, I _could_ rename the strlcat() function to something else, but that >>>wou

[PHP-DEV] mcrypt failure under PHP 4.0.5 -> more info.

2001-05-17 Thread Chris Walker
Hi fellow developers, RE: mcrypt functionality failure since PHP 4.0.5 upgrade. This is a snippet taken from the class that handles the addition of new users into the users table. It shows the way we *were successfully* using mcrypt to encrypt user's passwords: //--- Begin code paste. $pass

[PHP-DEV] Bug #10928: Loading PHP as a DSO fails - "garbled"

2001-05-17 Thread dave
From: [EMAIL PROTECTED] Operating system: Linux Redhat 6.2 Kernel 2.2.17 PHP version: 4.0.5 PHP Bug Type: Dynamic loading Bug description: Loading PHP as a DSO fails - "garbled" I've built PHP 4.0.5 as a DSO with config: ./configure --with-apxs --with-mysql=no I'm running

[PHP-DEV] Bug #10927: mycrpt no longer works in 4.0.5

2001-05-17 Thread chris
From: [EMAIL PROTECTED] Operating system: FreeBSD PHP version: 4.0.5 PHP Bug Type: mcrypt related Bug description: mycrpt no longer works in 4.0.5 We have just upgraded to the latest version of PHP in order to take advantage of some new features, particularly those dealing

[PHP-DEV] Bug #10906 Updated: mod_ssl and php oci8 interaction problem

2001-05-17 Thread dawson_j
ID: 10906 User Update by: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: OCI8 related Operating system: RedHat Linux 7.1 PHP Version: 4.0.5 Description: mod_ssl and php oci8 interaction problem libpthread problem again Previous Comments: -

[PHP-DEV] Bug #10925 Updated:

2001-05-17 Thread derick
ID: 10925 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Closed Status: Bogus Bug Type: *General Issues Operating system: PHP Version: 4.0.5 Assigned To: Comments: Marking this one bogus, so that it can be removed. Previous Comments: -

[PHP-DEV] Bug #10384 Updated: read() buffer memory not freed

2001-05-17 Thread rod
ID: 10384 User Update by: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Sockets related Operating system: FreeBSD 4.2 PHP Version: 4.0.4pl1 Description: read() buffer memory not freed This problem appears to be FreeBSD specific. Still exists with FreeBSD 4.3 but is non-existent on

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-17 Thread Rasmus Lerdorf
> >I really don't think that this should be something to strive for. There > >should be a really really good reason for making changes that break > >backward compatibility. We have that second version number reserved for > >such BC breaking changes that don't involve a huge rewrite (which is wha

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-17 Thread Cynic
At 06:56 17.5. 2001 -0700, [EMAIL PROTECTED] wrote: > > >Being antagonistically sarcastic won't win you any friends, Jani. > > > > If I wanted friends, I'd get a dog.. :) > > > > >As far as your question about the version numbers, the middle digit gets > > >bumped up when we plan some changes that

[PHP-DEV] Bug #10926: Access Violation, reboot and then OCI no longer works

2001-05-17 Thread sylvain_baudoin
From: [EMAIL PROTECTED] Operating system: NT4.0 Server PL5 PHP version: 4.0.4pl1 PHP Bug Type: OCI8 related Bug description: Access Violation, reboot and then OCI no longer works First of all, I don't know if and how this bug is reproductible. I've been using IIS 4 with PHP

  1   2   >