[PHP-DEV] Bug #12160: mysql_pconnect causes 99% CPU usage and system stop

2001-07-13 Thread alex
From: [EMAIL PROTECTED] Operating system: OS/2 PHP version: 4.0.5 PHP Bug Type: MySQL related Bug description: mysql_pconnect causes 99% CPU usage and system stop after the mysql_pconnect(dbhost, dbuser, dbpass) calling apache module causes 99% CPU usage and stops all the

[PHP-DEV] Re: Bug #12159 Updated: Make fails, both 4.0.5 and 4.0.6 during microtime...

2001-07-13 Thread Michael Grey
I checked the FAQ, and ran the test from test.c in the faq; Lots of output from gcc, but no errors ! Same symptom, so the diagnosis may be correct; however the test does not show the issue as indicated... Is there an alternate test I can try ? The faq was spot on with the compile errors... M

[PHP-DEV] Bug #12159 Updated: Make fails, both 4.0.5 and 4.0.6 during microtime...

2001-07-13 Thread rasmus
ID: 12159 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: *Compile Issues Operating System: Linux kernel 2.4.4 PHP Version: 4.0.6 New Comment: This is a FAQ. You upgraded to the Linux 2.4 kernel without upgrading your kernel headers and libc appropria

[PHP-DEV] Bug #12159: Make fails, both 4.0.5 and 4.0.6 during microtime...

2001-07-13 Thread gandolf_the_grey
From: [EMAIL PROTECTED] Operating system: Linux kernel 2.4.4 PHP version: 4.0.6 PHP Bug Type: *Compile Issues Bug description: Make fails, both 4.0.5 and 4.0.6 during microtime... Make fails during compilation: both in 4.0.5 and .6 microtime.c: In function `php_if_getrusage

[PHP-DEV] Bug #12158: EVAL code not working correctly if IF block

2001-07-13 Thread craig
From: [EMAIL PROTECTED] Operating system: Win2K PHP version: 4.0.6 PHP Bug Type: Strings related Bug description: EVAL code not working correctly if IF block 0 && $i!=$numargs-1){ $x=$x." || "; } } $validExtensions=$x; echo $validE

[PHP-DEV] Bug #12155 Updated: modulus %

2001-07-13 Thread yaragn
ID: 12155 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Math related Operating System: linux 2.4.3 PHP Version: 4.0.5 New Comment: Integer limited to 204700 so there. Previous Comments:

[PHP-DEV] Bug #12157: copying a single quote from MS word causes form variable to disappear.

2001-07-13 Thread eschmitt
From: [EMAIL PROTECTED] Operating system: red hat linux 6.1 PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: copying a single quote from MS word causes form variable to disappear. When copying a single quote from MS Word into a form field, with Con

[PHP-DEV] many errors with zend_debug on

2001-07-13 Thread Brian Lalor
What's causing these types of errors: [Fri Jul 13 16:27:39 2001] Script: '/home/httpd/html/web/apps/category/simple/index.php' --- zend_execute.h(62) : Block 0x08AD4D38 status: Beginning: OK (allocated on xml.c:278, 12 bytes) End: Overflown (mag

[PHP-DEV] Re: Bug #12153 Updated: Failure to find libraries

2001-07-13 Thread Paul Rees
At 22:20:28 on Fri, 13 Jul 2001, Bug Database wrote >ID: 12153 >Updated by: rasmus >Reported By: [EMAIL PROTECTED] >Old Status: >Status: Closed >Bug Type: Compile Failure >Operating System: SuSE Linux 7.1 >PHP Version: 4.0.6 >New Comment: >-

[PHP-DEV] Bug #12155: modulus %

2001-07-13 Thread yaragn
From: [EMAIL PROTECTED] Operating system: linux 2.4.3 PHP version: 4.0.5 PHP Bug Type: Math related Bug description: modulus % Appears to be broken on large(r) integers. Is this a limitation on the type used? (I am coding working ip2long/long2ip). $temp = 3194548456; pri

[PHP-DEV] Bug #12154: GP Fault in Kernel32 if buffer too small in fgetcsv()

2001-07-13 Thread ken . gregg
From: [EMAIL PROTECTED] Operating system: Win 95 SR2.1 PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: GP Fault in Kernel32 if buffer too small in fgetcsv() array = fgetcsv(fh, length[, delim]); Documentation says length must be longer than the long

[PHP-DEV] Bug #12111 Updated: gdImageCreateFromPng dos not work

2001-07-13 Thread blon
ID: 12111 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Status: Open Bug Type: *Compile Issues Operating System: Linux PHP Version: 4.0.6 New Comment: Hi I know that all is OK with GD and PNG so tried to add #define HAVE_GD_PNG 1 in main/php_config.h after

[PHP-DEV] Bug #12153 Updated: Failure to find libraries

2001-07-13 Thread rasmus
ID: 12153 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Status: Closed Bug Type: Compile Failure Operating System: SuSE Linux 7.1 PHP Version: 4.0.6 New Comment: --with-xpm-dir=/usr/X11R6 --with-gd=/usr --with-jpeg-dir=/usr --with-zlib-dir=/usr --with-png-dir=/usr --with-zli

[PHP-DEV] Bug #12153 Updated: Failure to find libraries

2001-07-13 Thread paulrees
ID: 12153 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Open Bug Type: Compile Failure Operating System: SuSE Linux 7.1 PHP Version: 4.0.6 New Comment: I had previously tried that, and also --with-gd=shared. I just tried it again. Same deal. Pr

Re: [PHP-DEV] Bug #12065 Updated: "libgd was not built with TrueTypefont support" problem

2001-07-13 Thread Rasmus Lerdorf
Use GD2 compiled like this: gd2 Makefile: CFLAGS=-g -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE LIBS=libgd.a -lpng -lz -ljpeg -lfreetype -lm make Then for PHP: --with-gd=/home/user_id/gd-2.0.1 --enable-gd-native-ttf --with-freetype-dir=/usr --enable-gd-imgstrttf --with-jpeg-dir=/usr --with-

[PHP-DEV] Bug #12065 Updated: "libgd was not built with TrueType font support" problem

2001-07-13 Thread Michael Kunze
...i have the same problem here with SuSE linux 7.2., freetype 2.0.3 and gd 1.8.4. I definitely have tested freetype2 support with the "gdtestft" freetype2 test program provided by gd and it works. Greetings Michael -- PHP Development Mailing List To unsubscribe, e-mail:

[PHP-DEV] Bug #12153 Updated: Failure to find libraries

2001-07-13 Thread rasmus
ID: 12153 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Compile Failure Operating System: SuSE Linux 7.1 PHP Version: 4.0.6 New Comment: --with-gd=/usr as per the example in the INSTALL file Previous Comments:

[PHP-DEV] Bug #12153: Failure to find libraries

2001-07-13 Thread paulrees
From: [EMAIL PROTECTED] Operating system: SuSE Linux 7.1 PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: Failure to find libraries I cannot get php to successfully complete the configure script when I attempt to add GD support. =

[PHP-DEV] Bug #12152: php_oci8.dll couldn't be loaded

2001-07-13 Thread lucianofl
From: [EMAIL PROTECTED] Operating system: Wndows NT PHP version: 4.0.4 PHP Bug Type: OCI8 related Bug description: php_oci8.dll couldn't be loaded We have installed PHP manually to use it with IIS 4 We did everything the installation guide told us to do. We uncommented s

[PHP-DEV] Re: zend api object in object

2001-07-13 Thread Richard Samar
s/hartmu/hartmut Richard Samar wrote: > > I finally figured out how to do this. > Thanks a lot to zeev@efnet and hartmu@ircnet. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP-DEV] Re: zend api object in object

2001-07-13 Thread Richard Samar
I finally figured out how to do this. Thanks a lot to zeev@efnet and hartmu@ircnet. -Richard Richard Samar wrote: > > Hi, > > Sterling asked me to post this *here* instead of query on IRC ;-)) > > I'd like to write a function which gets on argument (an object). > The function itself creates a

[PHP-DEV] Re: Bug #12147: Very similar to 10185, but with Oracle 8.0.3

2001-07-13 Thread Gregory Solovyev
What I found out is, that somehow LD takes files from $ORACLE_HOME/lib instead of $ORACLE_HOME/lib32. I changed LDFLAGS, but it did not help. So, only by replacing files in $ORACLE_HOME/lib with the same form $ORACLE_HOME/lib32 I had oci8.so compiled, but that's not the way to go. - Original

[PHP-DEV] Undefined symbols

2001-07-13 Thread Chris Boot
Hi, Sorry if this isn't the right place to ask. If it isn't, could someone please tell me where I can ask such questions... I'm attempting to write a PHP extension to load as an external DSO. I've got the extension to build and load using dl(), but when I call a method from it, the httpd runni

[PHP-DEV] Bug #12119 Updated: safe mode owner check can be bypassed with symlink

2001-07-13 Thread jflemer
ID: 12119 Updated by: jflemer Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Scripting Engine problem Operating System: Solaris 8 PHP Version: 4.0.6 Old Assigned To: Assigned To: jflemer New Comment: o Fixed Bug #12119: safe mode owner check can be bypassed with symlink

[PHP-DEV] CVS Account Request

2001-07-13 Thread CVS Account Request
Full name: Philip Olson Email: [EMAIL PROTECTED] ID:philip Purpose: Edit and maintain notes, phpdoc, and related activities. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP-DEV] Bug #12121 Updated: chdir and safe_mode

2001-07-13 Thread jflemer
ID: 12121 Updated by: jflemer Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: *Directory/Filesystem functions Operating System: OpenBSD 2.7 PHP Version: 4.0.6 Old Assigned To: Assigned To: jflemer New Comment: o Fixed Bug #12121: chdir and safe_mode - [ ext/standard/d

[PHP-DEV] Bug #12149: PHP 4.0.6 upgrade seems to break cURL https

2001-07-13 Thread brianl
From: [EMAIL PROTECTED] Operating system: WinNT4sp6a PHP version: 4.0.6 PHP Bug Type: cURL related Bug description: PHP 4.0.6 upgrade seems to break cURL https After reverting to 4.0.5, https works fine. https://www.thawte.com/'); curl_exec($curl); curl_close($curl); ?

Re: [PHP-DEV] include() fall back to scripts' cwd

2001-07-13 Thread Rasmus Lerdorf
> Rather than having this be a seperate case at the end of > php_fopen_with_path(), how about it just get appended to > the (local) search path? > > I am adding a 'safe_mode_include_dir', which will let you > include files you don't own if they are in the > safe_mode_include_dir. By appending the

[PHP-DEV] include() fall back to scripts' cwd

2001-07-13 Thread James E. Flemer
Rather than having this be a seperate case at the end of php_fopen_with_path(), how about it just get appended to the (local) search path? I am adding a 'safe_mode_include_dir', which will let you include files you don't own if they are in the safe_mode_include_dir. By appending the scripts cwd t

[PHP-DEV] Bug #12145 Updated: the same as 10636, but on IRIX

2001-07-13 Thread grisha
ID: 12145 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating System: IRIX PHP Version: 4.0.6 New Comment: adding #undef HAVE_OCI_TEMP_LOB to config.h helped. Previous Comments: ---

[PHP-DEV] Bug #12148: mysql ERROR: Update Query Failed problem with 4.0.6

2001-07-13 Thread david
From: [EMAIL PROTECTED] Operating system: Solaris x86 PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: mysql ERROR: Update Query Failed problem with 4.0.6 Im using PHP 4.0.6 install on Solaris x86 with mysql 3.23.39. The following code produces causes mysql_q

[PHP-DEV] Bug #12147: Very similar to 10185, but with Oracle 8.0.3

2001-07-13 Thread grisha
From: [EMAIL PROTECTED] Operating system: IRIX PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: Very similar to 10185, but with Oracle 8.0.3 After I coped with problem, same as in 10636, i have a very similar message as in 10185, but with Oracle 8.0.3 on IRI

Re: [PHP-DEV] Bug #12091 Updated: zlib uncompress buffer error/ inflate failed

2001-07-13 Thread Thies C. Arntzen
On Fri, Jul 13, 2001 at 05:33:49PM -, [EMAIL PROTECTED] wrote: > ID: 12091 > User updated by: [EMAIL PROTECTED] > Reported By: [EMAIL PROTECTED] > Status: Closed > Bug Type: Zlib Related > Operating System: i686-pc-linux-gnu > PHP Version: 4.0CVS-2001-07-12 > New Comment: > > Hi Thies, > > t

[PHP-DEV] Bug #12146: PHP warns if mysql have a special problem

2001-07-13 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: PHP warns if mysql have a special problem Hi, the follow 'wrong' MySQL statement produce not only a MySQL error number, it also makes a php warning

[PHP-DEV] Bug #12091 Updated: zlib uncompress buffer error/ inflate failed

2001-07-13 Thread alberty
ID: 12091 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Zlib Related Operating System: i686-pc-linux-gnu PHP Version: 4.0CVS-2001-07-12 New Comment: Hi Thies, thank you for your changes in zlib.c but you have not really fix the problem. If i incre

[PHP-DEV] Bug #12065 Updated: "libgd was not built with TrueType font support" problem

2001-07-13 Thread rip
ID: 12065 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Summary: "libgd was not built with TrueType font support" problem Status: Feedback Bug Type: GD related Operating System: FreeBSD 4.3 PHP Version: 4.0.6 New Comment: Re No Way... That's not the case. And I ha

[PHP-DEV] Bug #12145: the same as 10636, but on IRIX

2001-07-13 Thread grisha
From: [EMAIL PROTECTED] Operating system: IRIX PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: the same as 10636, but on IRIX I got the same compile problem as in 10636, but with IRIX, Oracle 8.0.xx and php-4.0.6 -- Edit bug report at: http://bugs.php.net/

Re: [PHP-DEV] include *.php

2001-07-13 Thread John Donagher
On Fri, 13 Jul 2001, Hartmut Holzgraefe wrote: > Martin Pedak wrote: > > What people think about adding > > regular expressions to include() or require() constructions or even > > making new language consruction like "import()" that can handle reg. > > exp. file includes. So thant you can include

[PHP-DEV] Bug #11941 Updated: Not checking allow_persistent

2001-07-13 Thread rasmus
ID: 11941 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Status: Closed Bug Type: PostgreSQL related Operating System: Linux PHP Version: 4.0.6 New Comment: Fixed in CVS, thanks. Previous Comments: [2001-07

[PHP-DEV] Bug #12115 Updated: Broken configure: --with-mysql=/opt/mysql

2001-07-13 Thread zak
ID: 12115 Updated by: zak Reported By: [EMAIL PROTECTED] Old Status: Status: Bogus Bug Type: *Configuration Issues Operating System: solaris 2.6 PHP Version: 4.0.6 New Comment: User reports that problem was caused by insufficient permissions. Previous Comments: -

[PHP-DEV] xmlrpc_error_number causes core dump

2001-07-13 Thread James E. Flemer
It looks like xmlrpc_error_number [ in main/main.c, main/php_globals.h ] is typed wrong. It causes apache to core dump on Solaris 8. It is crashing in OnUpdateString(), which should be OnUpdateInt() right [main.c]? Also xmlrpc_error_number should be a long, not a short [php_globals.h]? I don't kn

[PHP-DEV] Bug #11879 Updated: error al ejecuta make

2001-07-13 Thread ggalindo
ID: 11879 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Compile Failure Operating System: NCR WM 4300 unix systema V MP-RA PHP Version: 4.0.6 New Comment: i send the files to e-mail [EMAIL PROTECTED] is ok thanks's Previous Comments:

[PHP-DEV] Bug #11941 Updated: Not checking allow_persistent (patch enclosed)

2001-07-13 Thread sthomas
ID: 11941 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Summary: Not checking allow_persistent Status: Open Bug Type: PostgreSQL related Operating System: Linux PHP Version: 4.0.6 New Comment: PHP isn't checking Postgres's allow_persistent config variable. It's probably

[PHP-DEV] Bug #12144: Error in execution operator (`dir .\*.*`)

2001-07-13 Thread andronov
From: [EMAIL PROTECTED] Operating system: Windows NT Server 4 PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: Error in execution operator (`dir .\*.*`) I've installed PHP 4.0.6 with Win32 installer (php406-installer.exe). Using the following code crashes

[PHP-DEV] Bug #12091 Updated: zlib uncompress buffer error/ inflate failed

2001-07-13 Thread thies
ID: 12091 Updated by: thies Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Zlib Related Operating System: i686-pc-linux-gnu PHP Version: 4.0CVS-2001-07-12 New Comment: fixed in CVS you can make it work in 4.0.6 by changing maxfactor from 8 to lets say 16 in zlib.c

[PHP-DEV] Bug #12143 Updated: compile problem with apxs2

2001-07-13 Thread sas
ID: 12143 Updated by: sas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Compile Failure Operating System: linux 2.4.6 PHP Version: 4.0.6 New Comment: Please use a more recent version such as httpd-2.0.18. The API has changed and PHP only supports the latest version. P

[PHP-DEV] PHP 4.0.x (x>=1) POST variables registering problems

2001-07-13 Thread Chand
hey everyone, Hope the summer's good for all of ya :) I have some trouble with understanding php behavior's change from 4.0.0 to higher versions. I wish someone here could explain me what might be in cause for this. I've checked out the ChangeLog and didn't find anything really relevant. her

[PHP-DEV] RE: Bug #9059 Updated: SNMP compile issue

2001-07-13 Thread Laurence Brockman
I'm not sure... by hacking some stuff a long time ago I got it to compile, so I haven't tried it since then. And because this server is a production server, I can't test it out at the moment. Laurence -Original Message- From: Bug Database [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 1

[PHP-DEV] Bug #12143: compile problem with apxs2

2001-07-13 Thread atreju14
From: [EMAIL PROTECTED] Operating system: linux 2.4.6 PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: compile problem with apxs2 I've tryed to compile php for apache 2.0.16, heres the error I got : sapi_apache2.c: In function `php_input_filter': sapi_a

[PHP-DEV] Bug #12115 Updated: Broken configure: --with-mysql=/opt/mysql

2001-07-13 Thread dhoffutt
ID: 12115 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Status: Closed Bug Type: *Configuration Issues Operating System: solaris 2.6 PHP Version: 4.0.6 Previous Comments: [2001-07-12 15:58:

[PHP-DEV] Bug #12115 Updated: Broken configure: --with-mysql=/opt/mysql

2001-07-13 Thread dhoffutt
ID: 12115 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: *Configuration Issues Operating System: solaris 2.6 PHP Version: 4.0.6 New Comment: Please close/delete this report. Permissions culprit on /opt/mysql. Please forgive the lameness - I shall ma

[PHP-DEV] Bug #9878 Updated: gmmktime is 1 hour off during standard time

2001-07-13 Thread bfoddy
ID: 9878 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Date/time related Operating System: Solaris 2.6 PHP Version: 4.0.4pl1 New Comment: Can we try to get this patch in 4.0.7? Its not as critical an issue during the summer, but the standard time will

[PHP-DEV] Bug #12142: mail problem with apache aliases on win2000 and Linux (tested on both)

2001-07-13 Thread php
From: [EMAIL PROTECTED] Operating system: linux and windows PHP version: 4.0.6 PHP Bug Type: Mail related Bug description: mail problem with apache aliases on win2000 and Linux (tested on both) Hello, Here is the problem Make a file called pipo.php. Type this lines in

[PHP-DEV] Bug #12141 Updated: iptcparse crashes with one specific PhotoCD file

2001-07-13 Thread thies
ID: 12141 Updated by: thies Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Reproducible crash Operating System: RedHat Linux 7.1 (Intel) PHP Version: 4.0.6 New Comment: fixed in CVS Previous Comments: ---

Re: [PHP-DEV] Bug #12141: iptcparse crashes with one specific PhotoCD file

2001-07-13 Thread Thies C. Arntzen
On Fri, Jul 13, 2001 at 01:08:26PM -, [EMAIL PROTECTED] wrote: > From: [EMAIL PROTECTED] > Operating system: RedHat Linux 7.1 (Intel) > PHP version: 4.0.6 > PHP Bug Type: Reproducible crash > Bug description: iptcparse crashes with one specific PhotoCD file patch att

[PHP-DEV] extensions

2001-07-13 Thread Gilles Koffmann
Hi, on win98 Apache php 4.0.6 as a module and VC++6 When Apache starts I have the following execution in my extension : PHP_MINIT_FUNCTION() PHP_MSHUTDOWN_FUNCTION() PHP_MINIT_FUNCTION() Why ? Gilles -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL

Re: [PHP-DEV] $meme = chop($littlelist[$i][1])

2001-07-13 Thread void
Thanx Zeev, but guess what ? it was only me...:( But this code worx now :) ".$littlelist[$i][1]."" ; };?> --some output [ press alt-v and then c in ie] the output :--) 205 Piaza 13a De Smidt 19 de Smidt Place 13.3 De Smit

[PHP-DEV] Newbie writing a PHP extension

2001-07-13 Thread Chris Boot
Hi, I've decided to write an extension to interface to id3lib (http://id3lib.sf.net/). I've created my new extension (using ext_skel) and I understand what's going on in the stub that it creates. I've even modified the config.m4 file to detect whether id3lib is installed properly. id3lib is a

[PHP-DEV] Bug #12139 Updated: strtoupper/strtolower do not convert umlauts

2001-07-13 Thread hholzgra
ID: 12139 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Scripting Engine problem Operating System: win and *ix PHP Version: 4.0.6 New Comment: even if you use set_locale() to activate german language settings? Previous Comments: -

Re: [PHP-DEV] $meme = chop($littlelist[$i][1])

2001-07-13 Thread Zeev Suraski
It removes trailing spaces. It's not supposed to remove leading spaces. Zeev At 16:10 13/7/2001, void wrote: >$littlelist[$i][1] = "whatever " > >the command in the subject line doesn't work ! > >it does not get rid of the spaces in the $littlelist[$i][1] var. >or is it just me ..? > >i

[PHP-DEV] Bug #12141: iptcparse crashes with one specific PhotoCD file

2001-07-13 Thread tim
From: [EMAIL PROTECTED] Operating system: RedHat Linux 7.1 (Intel) PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: iptcparse crashes with one specific PhotoCD file I have one PCD (Kodak PhotoCD) file which crashes PHP when I run iptcparse on its contents

[PHP-DEV] $meme = chop($littlelist[$i][1])

2001-07-13 Thread void
$littlelist[$i][1] = "whatever " the command in the subject line doesn't work ! it does not get rid of the spaces in the $littlelist[$i][1] var. or is it just me ..? i would like 2 no. thanx -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTEC

[PHP-DEV] Bug #12140: pcre_replace change behavior with \

2001-07-13 Thread madmax
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: PCRE related Bug description: pcre_replace change behavior with \ task: need replace \ (one) to (four) On php.4.0.5 work: $val1=preg_replace('/\\\/',"",$val); On php 4.0.6 work:

[PHP-DEV] Bug #12139: strtoupper/strtolower do not convert umlauts

2001-07-13 Thread stefan
From: [EMAIL PROTECTED] Operating system: win and *ix PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: strtoupper/strtolower do not convert umlauts the strtolower and strtoupper functions will not convert the German umlauts (äüö). -- Edit bug repor

[PHP-DEV] Bug #12084 Updated: pg_close cause a lot of sockets in TIME_WAIT state

2001-07-13 Thread thies
ID: 12084 Updated by: thies Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: PostgreSQL related Operating System: Debian 2.2 PHP Version: 4.0.6 New Comment: this is not a bug in php. here's the reply from Jan Wieck (PostgreSQL core guy) also read http://globecom.net/ie

[PHP-DEV] Bug #12084 Updated: pg_close cause a lot of sockets in TIME_WAIT state

2001-07-13 Thread thies
ID: 12084 Updated by: thies Reported By: [EMAIL PROTECTED] Status: Open Bug Type: PostgreSQL related Operating System: Debian 2.2 PHP Version: 4.0.6 New Comment: this is not a bug in php. here's the reply from Jan Wieck (PostgreSQL core guy) also read http://globecom.net/ietf/draft/draft-fabe

[PHP-DEV] zend api object in object

2001-07-13 Thread Richard Samar
Hi, Sterling asked me to post this *here* instead of query on IRC ;-)) I'd like to write a function which gets on argument (an object). The function itself creates another object and adds the object it got to this object and returns this object. So in PHP one is able to create an object $myOb

[PHP-DEV] Bug #12138: Image broken

2001-07-13 Thread adrieder
From: [EMAIL PROTECTED] Operating system: Sparc Solaris 8 PHP version: 4.0.6 PHP Bug Type: *Graphics related Bug description: Image broken test.php test.html test Hello Configuration: gd-1.8.4, apache-1.3.20, php-4.0.6 ./configur

[PHP-DEV] CVS Account Request

2001-07-13 Thread CVS Account Request
Full name: Per Andersson Email: [EMAIL PROTECTED] ID:per Purpose: I want to translate the PHP Manual (documentation) to swedish (Because I am a swede). Need access to the \'phpdoc\' branch. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PRO

Re: [PHP-DEV] Re: preg_replace_callback

2001-07-13 Thread Wez Furlong
On 13/07/01, "Andrei Zmievski" <[EMAIL PROTECTED]> wrote: > On Thu, 12 Jul 2001, Wez Furlong wrote: > > This doesn't work as you might expect if you were used to preg_replace: > > preg_replace_callback(array( ...patterns...), array( ...callbacks...), > callback and that quickly becomes ambiguous w

Re: [PHP-DEV] include *.php

2001-07-13 Thread Hartmut Holzgraefe
Martin Pedak wrote: > What people think about adding > regular expressions to include() or require() constructions or even > making new language consruction like "import()" that can handle reg. > exp. file includes. So thant you can include(/my/path/*) or > import(/my/path/*.php). You seem to be

Re: [PHP-DEV] How to convert a string into a mathematical expression?

2001-07-13 Thread Zak Greant
But *very* dangerous! :) If the user passed malicious code in the string, all heck could break loose. You will need to ensure that user input is filtered before being passed to eval. Also, the Dev list is for discussing development of the PHP language, not development with - this discussion would

[PHP-DEV] Bug #12137: PEAR/DB : DB_common::executeEmulateQuery() bug

2001-07-13 Thread sav
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: PEAR/DB : DB_common::executeEmulateQuery() bug Multiple execution emulation fails as in the following script: prepare($some_query_with_params); foreach

[PHP-DEV] Bug #12136: set_error_handler doesn't trap all errors

2001-07-13 Thread scott
From: [EMAIL PROTECTED] Operating system: Redhat Linux 7.0 PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: set_error_handler doesn't trap all errors I believe this is the same bug as bug report 11803, but I think the scope is wider than initially r

Re: [PHP-DEV] How to convert a string into a mathematical expression?

2001-07-13 Thread derick
On Fri, 13 Jul 2001, Christodoulou Demetris wrote: > Hi list. > I have strings that are mathematical expressions. These strings are > submitted through forms. > For example a string might be $a="1+cos(0.3)*x". > Is there a way to convert this string to a mathematical expression that can > be calc

[PHP-DEV] How to convert a string into a mathematical expression?

2001-07-13 Thread Christodoulou Demetris
Hi list. I have strings that are mathematical expressions. These strings are submitted through forms. For example a string might be $a="1+cos(0.3)*x". Is there a way to convert this string to a mathematical expression that can be calculated? Thanks in advance. DX. -- PHP Development Mailing

[PHP-DEV] Bug #12135 Updated: i faced probelms in simple if conditions

2001-07-13 Thread derick
ID: 12135 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Variables related Operating System: win 98 PHP Version: 4.0.6 New Comment: This is not a PHP bug, ask on the [EMAIL PROTECTED] mailinglist for support questions. Derick Previous Comments: ---

[PHP-DEV] Bug #12135: i faced probelms in simple if conditions

2001-07-13 Thread haseebi
From: [EMAIL PROTECTED] Operating system: win 98 PHP version: 4.0.6 PHP Bug Type: Variables related Bug description: i faced probelms in simple if conditions // code that produced the problem. echo $tend //prints 60 echo $total_rec //prints 162 if ($total_rec<$tend) $ten

[PHP-DEV] Bug #11676 Updated: A few apache children consume all memory and CPU.

2001-07-13 Thread valerio
ID: 11676 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Operating System: linux 2.4.5 i386 PHP Version: 4.0 Latest CVS (2001-06-25) New Comment: anyone alive??? Previous Comments:

[PHP-DEV] Bug #12134: imap problems under php406

2001-07-13 Thread nosyman
From: [EMAIL PROTECTED] Operating system: Win NT 4 + SP 4 PHP version: 4.0.6 PHP Bug Type: IIS related Bug description: imap problems under php406 The following script executes OK under php404pl1: mail("[EMAIL PROTECTED]", "subject", "") on php406 I can't exec at all

[PHP-DEV] Bug #12129 Updated: array_remove()

2001-07-13 Thread zak
ID: 12129 Updated by: zak Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.0.6 New Comment: Thank you for the suggestion! However this functionality is already part of PHP. Use: unset ($array['key']); Pre

[PHP-DEV] Bug #12132: Doesn't compile

2001-07-13 Thread lhp
From: [EMAIL PROTECTED] Operating system: HP-UX 11 PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: Doesn't compile my config-line: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql/ (The built-in mysql support doesn't compi

[PHP-DEV] Bug #12130: field values in multipart/form

2001-07-13 Thread e+php
From: [EMAIL PROTECTED] Operating system: RedHat 7.0 PHP version: 4.0.4pl1 PHP Bug Type: Unknown/Other Function Bug description: field values in multipart/form when using ENCTYPE="multipart/form" for a , PHP receives the values of fields with a prepended \n e.g. with:

[PHP-DEV] Bug #12129: array_remove()

2001-07-13 Thread dmertens
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: array_remove() I would like to see an function called array_remove(needle, haystack) with removes an item from an associative (or indexed) array. Curre