Re: [PHP-DEV] Bug #14497 Updated: PHP causes segfault when session handler=user

2001-12-21 Thread Thies C. Arntzen
On Thu, Dec 20, 2001 at 04:00:15AM -, [EMAIL PROTECTED] wrote: ID: 14497 Updated by: yohgaki Reported By: [EMAIL PROTECTED] Old Status: Open Status: Analyzed Bug Type: Session related Operating System: FreeBSD 4.4-Stable PHP Version: 4.1.0, 4-200112131200 New Comment: Is this

[PHP-DEV] Bug #14636: Session variables are lost when redirecting to a url using header() function.

2001-12-21 Thread kannan
From: [EMAIL PROTECTED] Operating system: windows 2000 professional PHP version: 4.0.6 PHP Bug Type: Session related Bug description: Session variables are lost when redirecting to a url using header() function. I have 2 scripts: a script to login a user and set a session

[PHP-DEV] Bug #14497 Updated: PHP causes segfault when session handler=user

2001-12-21 Thread yohgaki
ID: 14497 Updated by: yohgaki Reported By: [EMAIL PROTECTED] Status: Analyzed Bug Type: Session related Operating System: FreeBSD 4.4-Stable PHP Version: 4.1.0, 4-200112131200 Old Assigned To: Assigned To: yohgaki New Comment: Assigned to myself. By the I updated this bug report, I know the

[PHP-DEV] Re: Bug #14636: Session variables are lost when redirecting to a url using header() function.

2001-12-21 Thread Yasuo Ohgaki
This report sounds like a duplicate to me. I just don't have time to check it now, so just a comment. I appreciate if repoter check it. Search reports with feedback status also. -- Yasuo Ohgaki [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: windows 2000

Re: [PHP-DEV] Bug #14497 Updated: PHP causes segfault when sessionhandler=user

2001-12-21 Thread derick
On 21 Dec 2001 [EMAIL PROTECTED] wrote: Assigned to myself. By the I updated this bug report, I know the fix, but I forgot what is was now :( I'll work on this after I finish things have to do Didn't you send me a patch for this? Derick Previous Comments:

[PHP-DEV] Bug #13447 Updated: Security not blocking unlink delete functions

2001-12-21 Thread derick
ID: 13447 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Filesystem function related Operating System: windows 2000 PHP Version: 4.0.6 New Comment: This is fixed in CVS now. Derick Previous Comments:

[PHP-DEV] exit()

2001-12-21 Thread Andi Gutmans
Guys, I just read the whole thread about exit() now. Boy you guys write a lot :) Unlike Zeev I think that overloading exit() is the best solution we have right now. Have exit(integer) exit with an exit status and exit(string) print the error. I also very much liked the proposal of exit(string,

[PHP-DEV] Bug #14637: Apache 2.0 filter and PHP 4 crash

2001-12-21 Thread jerenkrantz
From: [EMAIL PROTECTED] Operating system: Solaris 8/x86 PHP version: 4.1.0 PHP Bug Type: Apache2 related Bug description: Apache 2.0 filter and PHP 4 crash Current HEAD of both httpd-2.0 and PHP4. Clean compile. % uname -a

[PHP-DEV] session_pgsql module commit notice

2001-12-21 Thread Yasuo Ohgaki
Hi all, This is the last notice before PostgreSQL session save handler module commit. I've renamed it to session_pgsql so that users will understand it's a sub module for session module. I've also changed Makefile.in so that php_session.h is installed. Other headers will be installed. If you

[PHP-DEV] *Not* removing ChangeLog from stable source distribution

2001-12-21 Thread Markus Fischer
As talked with Derick, what is the reason to remove the ChangeLog file (or, not to include the CahngeLog file) in the current stable source distributions? Beside the very brief NEWS file this is the #1 file were Admins want to look for what in detail has been done. I'm

[PHP-DEV] Bug #14631 Updated: is_file : Same function, different behavior?

2001-12-21 Thread azibutotal
ID: 14631 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Filesystem function related Operating System: Linux PHP Version: 4.0.5 New Comment: A PHP GURU friend of mine finally found out a solution : I think I should share it with you : instead of if

Re: [PHP-DEV] Bug #14497 Updated: PHP causes segfault when session

2001-12-21 Thread Yasuo Ohgaki
[EMAIL PROTECTED] wrote: On 21 Dec 2001 [EMAIL PROTECTED] wrote: Assigned to myself. By the I updated this bug report, I know the fix, but I forgot what is was now :( I'll work on this after I finish things have to do Didn't you send me a patch for this? Derick You are so nice

[PHP-DEV] Bug #14623 Updated: get_meta_tags only looks in begin of file

2001-12-21 Thread jeroen
ID: 14623 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Strings related Operating System: linux PHP Version: 4.0.6 Old Assigned To: elixer Assigned To: New Comment: ? $s =

[PHP-DEV] Bug #14623 Updated: get_meta_tags only looks in begin of file

2001-12-21 Thread jeroen
ID: 14623 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Strings related Operating System: linux PHP Version: 4.0.6 Old Assigned To: elixer Assigned To: New Comment: The way I use it is quite different: When a file is parsed it is 'wrapped': a

[PHP-DEV] Bug #14638: Allow include() friends to use relative paths better

2001-12-21 Thread jukkaho
From: [EMAIL PROTECTED] Operating system: All PHP version: 4.1.0 PHP Bug Type: Feature/Change Request Bug description: Allow include() friends to use relative paths better Currently all include()-type functions with relative include paths are relative to file, which is

[PHP-DEV] Bug #14639: Error when compiling.

2001-12-21 Thread bzo951n
From: [EMAIL PROTECTED] Operating system: Linux 2.4.15 PHP version: 4.0CVS-2001-12-21 PHP Bug Type: Mailparse related Bug description: Error when compiling. ./ext/mailparse/mailparse.c has a error at line 191 making the compiling stop. Error Message: Error before ','...

[PHP-DEV] Bug #14638 Updated: Allow include() friends to use relative paths better

2001-12-21 Thread mfischer
ID: 14638 Updated by: mfischer Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Feature/Change Request Operating System: All PHP Version: 4.1.0 New Comment: If you have '.' in your include_path your examples work as expected. Previous Comments:

[PHP-DEV] Bug #14639 Updated: Error when compiling.

2001-12-21 Thread derick
ID: 14639 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Assigned Bug Type: Mailparse related Operating System: Linux 2.4.15 PHP Version: 4.0CVS-2001-12-21 Old Assigned To: Assigned To: derick Edit this bug report at http://bugs.php.net/?id=14639edit=1 -- PHP

[PHP-DEV] Bug #14639 Updated: Error when compiling.

2001-12-21 Thread mfischer
ID: 14639 Updated by: mfischer Reported By: [EMAIL PROTECTED] Old Status: Assigned Status: Closed Bug Type: Mailparse related Operating System: Linux 2.4.15 PHP Version: 4.0CVS-2001-12-21 Assigned To: derick New Comment: Fixed, thx. Previous Comments:

Re: [PHP-DEV] Bug #14639 Updated: Error when compiling.

2001-12-21 Thread Markus Fischer
Ops :) Sorry, didn't saw this. On Fri, Dec 21, 2001 at 12:55:56PM -, [EMAIL PROTECTED] wrote : ID: 14639 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Assigned Bug Type: Mailparse related Operating System: Linux 2.4.15 PHP Version: 4.0CVS-2001-12-21

[PHP-DEV] Bug #14639 Updated: Error when compiling.

2001-12-21 Thread derick
ID: 14639 Updated by: derick Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Mailparse related Operating System: Linux 2.4.15 PHP Version: 4.0CVS-2001-12-21 New Comment: Don't assign closed bugs to me :) Previous Comments:

[PHP-DEV] Bug #14640: Support {@$foo} and {@$foo['bar']} syntax

2001-12-21 Thread mfischer
From: [EMAIL PROTECTED] Operating system: Any PHP version: 4.1.0 PHP Bug Type: Feature/Change Request Bug description: Support {@$foo} and {@$foo['bar']} syntax $ php -q ? error_reporting(E_ALL); echo {@$array['key']}; ? br / bParse error/b: parse error, expecting

[PHP-DEV] Bug #14636 Updated: Session variables are lost when redirecting to a url using header() function.

2001-12-21 Thread kannan
ID: 14636 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: windows 2000 professional PHP Version: 4.0.6 New Comment: I have reviewed the Bugs database against the following IDs 13732 - is closed with no reply or

[PHP-DEV] Bug in 4.1.0; _SESSION

2001-12-21 Thread Andreas Aderhold
Hi All, found a bug this one will cause a infinte loop in 4.1: ?php global $_SESSION; // this will cause a infinite loop session_start(); phpinfo() ? Te docs say that $_SESSION is auto-global in 4.1.0 but it does not say, that the explicit global declaration is not allowed. However I would like

[PHP-DEV] Bug #14636 Updated: Session variables are lost when redirecting to a url using header() function.

2001-12-21 Thread sander
ID: 14636 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Duplicate Bug Type: Session related Operating System: windows 2000 professional PHP Version: 4.0.6 New Comment: Dupe of 6121 Previous Comments:

Re: [PHP-DEV] Bug in 4.1.0; _SESSION

2001-12-21 Thread Andi Gutmans
I guess this bug needs to be fixed somehow but I'd probably just not allow it to be defined as global. The whole reason for making it an auto-global was so that it'll be easy to use. People know (and will know) that $_SESSION is a global. I think your explicit marking of it as a global is not

Re: [PHP-DEV] Bug in 4.1.0; _SESSION

2001-12-21 Thread Zeev Suraski
Can you provide a full code snippet that hangs? This code snippet doesn't appear to hang, are you running it in a function context? Zeev At 14:59 21/12/2001, Andreas Aderhold wrote: Hi All, found a bug this one will cause a infinte loop in 4.1: ?php global $_SESSION; // this will cause a

[PHP-DEV] Bug #14641: Unable to load php_oci8.dll .

2001-12-21 Thread david . krotil
From: [EMAIL PROTECTED] Operating system: WIIN2000 SP2 PHP version: 4.1.0 PHP Bug Type: OCI8 related Bug description: Unable to load php_oci8.dll . This problem started with PHP 4.0.6 , fix was to copy php_oci8.dll from previous version . Now with PHP version 4.1.0 is this

[PHP-DEV] Bug #14642: undefined symbol: uncompress

2001-12-21 Thread edwin
From: [EMAIL PROTECTED] Operating system: SuSE Linux 7.1/2.2.18 PHP version: 4.1.0 PHP Bug Type: Apache related Bug description: undefined symbol: uncompress This problem was reported for earlier versions, but with 4.1.0 it's there also. I compiled --with-mysql=...

[PHP-DEV] Warnings in HEAD

2001-12-21 Thread Sebastian Bergmann
jewish.c C:\home\php\php4\ext\calendar\jewish.c(270): warning C4005: 'SDN_OFFSET': Macro SDN_OFFSET redfined, see C:\home\php\php4\ext\calendar\gregor.c(0) reg.c C:\home\php\php4\ext\standard\reg.c(229): warning C4018: '=': Conflict between signed and unsigned php_pcre.c

[PHP-DEV] Bug #14559 Updated: cannot load libphp4.so into server

2001-12-21 Thread mdecke
ID: 14559 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Apache related Operating System: solaris 7 PHP Version: 4.1.0 New Comment: Hi, i've made it, i compiled php and could load it in apache as an DSO. there where the wrong

[PHP-DEV] Bug #14643: wordwrap() only for long words

2001-12-21 Thread pulstar
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: wordwrap() only for long words The function wordwrap() could work in another fashion, breaking only words bigger than the specified width instead of

RE: [PHP-DEV] Bug in 4.1.0; _SESSION

2001-12-21 Thread Andreas Aderhold
Hi Andi, I guess this bug needs to be fixed somehow but I'd probably just not allow it to be defined as global. Well that's of course the easiest solution. But does not solve the problem. The whole reason for making it an auto-global was so that it'll be easy to use. People know (and

[PHP-DEV] Bug #14644: file_exists() generates warning on non existent files.

2001-12-21 Thread thomas
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.1.0 PHP Bug Type: Filesystem function related Bug description: file_exists() generates warning on non existent files. file_exists generates a stat failed.. warning when the file is nonexistant. This has been

[PHP-DEV] Bug #14559 Updated: cannot load libphp4.so into server

2001-12-21 Thread mfischer
ID: 14559 Updated by: mfischer Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Apache related Operating System: solaris 7 PHP Version: 4.1.0 New Comment: Closing. Previous Comments: [2001-12-21

[PHP-DEV] Bug #14642 Updated: undefined symbol: uncompress

2001-12-21 Thread mfischer
ID: 14642 Updated by: mfischer Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: MySQL related Operating System: SuSE Linux 7.1/2.2.18 PHP Version: 4.1.0 New Comment: No bug, bogus. Previous Comments:

[PHP-DEV] Bug #14644 Updated: file_exists() generates warning on non existent files.

2001-12-21 Thread derick
ID: 14644 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Filesystem function related Operating System: Linux PHP Version: 4.1.0 New Comment: This is fixed in 4.2.0dev and the upcoming 4.1.1. Derick Previous Comments:

[PHP-DEV] Bug #14644 Updated: file_exists() generates warning on non existent files.

2001-12-21 Thread thomas
ID: 14644 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Filesystem function related Operating System: Linux PHP Version: 4.1.0 New Comment: Great. Thanks for prompt reply. Previous Comments:

[PHP-DEV] Bug #14645: Problems assigning by reference to globals

2001-12-21 Thread jan
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.1.0 PHP Bug Type: Variables related Bug description: Problems assigning by reference to globals Hi PHP-Developer-Community, here are - a description of the bug, - a short test-script and - the

[PHP-DEV] Bug #14646: pow and floor misbehavior

2001-12-21 Thread reboot
From: [EMAIL PROTECTED] Operating system: Linux (Debian sid) PHP version: 4.1.0 PHP Bug Type: Math related Bug description: pow and floor misbehavior Executing this code: print(( floor(7) == floor(7.1) ) . BR); print((pow(2,floor(7)) == pow(2,floor(7.1))) .

[PHP-DEV] Bug #14646 Updated: pow and floor misbehavior

2001-12-21 Thread derick
ID: 14646 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Assigned Bug Type: Math related Operating System: Linux (Debian sid) PHP Version: 4.1.0 Old Assigned To: Assigned To: derick New Comment: Checking it out. Previous Comments:

[PHP-DEV] Bug #14628 Updated: Session functions block on lock

2001-12-21 Thread chris
ID: 14628 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Session related Operating System: Linux PHP Version: 4.0.6 New Comment: Hi Have installed 4.1, same problem as highlighted below: [root@fweb2 /root]# strace -p 6739

[PHP-DEV] SAPI Module Leaking

2001-12-21 Thread Alex Leigh
All - I have written a SAPI module for a new webserver continuity. The code is basically the SAPI code for NSAPI, modified to work with continuity's API. Continuity is threaded, based on the pthread libraries. My problem is that each requests that is handled by PHP leaks about 200-400KB. I've

[PHP-DEV] current CVS and MacOSX

2001-12-21 Thread Dan Kalowsky
Hi, MacOSX 10.1.2 compiling a pull of CVS from today (and frankly the past couple of days) has a problem compiling: /usr/bin/ld: Undefined symbols: _inet_pton Interesting thing is, there seems to be no references to inet_pton anywhere on the OS. Anyone with a suggestion on correcting this?

[PHP-DEV] Bug #14646 Updated: pow and floor misbehavior

2001-12-21 Thread derick
ID: 14646 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Assigned Status: Closed Bug Type: Math related Operating System: Linux (Debian sid) PHP Version: 4.1.0 Old Assigned To: derick Assigned To: New Comment: Fixed in CVS. Floor() always returns a float now. Derick Previous

[PHP-DEV] MS SQL Connection

2001-12-21 Thread Jerry
Hi, I'm new in PHP, using more JavaScript. I would like to know how to connect to a MS SQL DB on a window 2000 server using my machine as a local web server (window 2000 workstation) I believed the beginning would be: ?php $link_id=mssql_connect(LONDB02,user,pwd); ? But It doesn't seem to

[PHP-DEV] MSSQL connect

2001-12-21 Thread Jerry
Hi I have PHP on windows 2000 web server I would like to remote to a MS SQL database on another web server. I tried something like: ?pup $h = server adr; $u = user; $p = passw; $b = db; $connexion = mssql_connect($h, $u, $p); mssql_select_db($b); $sql = select * from test; $result =

[PHP-DEV] MSSQL DB Connect

2001-12-21 Thread Jerry
Hi I have PHP on windows 2000 web server I would like to remote to a MS SQL database on another web server. I tried something like: ?php $h = server adr; $u = user; $p = passw; $b = db; $connexion = mssql_connect($h, $u, $p); mssql_select_db($b); $sql = select * from test; $result =

[PHP-DEV] Bug #14636 Updated: Session variables are lost when redirecting to a url using header() function.

2001-12-21 Thread kannan
ID: 14636 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Duplicate Bug Type: Session related Operating System: windows 2000 professional PHP Version: 4.0.6 New Comment: The problem as I understand it is in the use of session.auto_start in the php.ini and

Re: [PHP-DEV] current CVS and MacOSX

2001-12-21 Thread Jon Parise
On Fri, Dec 21, 2001 at 11:28:02AM -0500, Dan Kalowsky wrote: MacOSX 10.1.2 compiling a pull of CVS from today (and frankly the past couple of days) has a problem compiling: /usr/bin/ld: Undefined symbols: _inet_pton Referenced in: ext/standard/dns.c: if (inet_pton(AF_INET6, ip,

RE: [PHP-DEV] Bug in 4.1.0; _SESSION

2001-12-21 Thread Andreas Aderhold
Hi Zeev, Can you provide a full code snippet that hangs? This code snippet doesn't appear to hang, are you running it in a function context? Either. I additionally discovered that it hangs only if the session has not been created by a prior page call. So, deleting all /tmp/sess_* files,

[PHP-DEV] Bug #14151 Updated: Installed/Compiled Php4.1.0 with Oracle9i on Linux Red Hat7.2

2001-12-21 Thread liao4619
ID: 14151 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Summary: Installed/Compiled Php4.0.6 with Oracle9i on Linux Red Hat7.2 Old Status: Closed Status: Open Bug Type: OCI8 related Operating System: Linux Red Hat 7.2 PHP Version: 4.0.6 New Comment: Yesterday I

[PHP-DEV] Bug #14075 Updated: PHP/Apache compile with domxml

2001-12-21 Thread sander
ID: 14075 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: DOM XML related Operating System: RedHat 7.1 PHP Version: 4.0.6 New Comment: No feedback. Closing. Previous Comments:

[PHP-DEV] Bug #14297 Updated: CPU LOOP

2001-12-21 Thread sander
ID: 14297 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Scripting Engine problem Operating System: RH6.2 PHP Version: 4.0.6 New Comment: No feedback. Closing. Previous Comments:

[PHP-DEV] Re: [PHP-DB] MSSQL DB Connect

2001-12-21 Thread Frank M. Kromann
Hi Jerry, You need to have the Client Tools for MS SQL Server installed on your PHP4 box. These tools is found on the CD, or you can just copy ntwdblib.dll fom one system to another. The default communication protocol will be netbios, if you want to change that to tcp/ip you need to install

[PHP-DEV] Re: MSSQL DB Connect

2001-12-21 Thread Jeremy Reed
What was the error message you received? Also, when passing the variables to the mssql_connect() function, you need not use quotes since you've already initialized them to the strings. Pass them as follows: $connection = mssql_connect($a,$b,$c). Also, you aren't passing the actual sql string

[PHP-DEV] Bug #14151 Updated: Installed/Compiled Php4.0.6 with Oracle9i on Linux Red Hat7.2

2001-12-21 Thread liao4619
ID: 14151 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: OCI8 related Operating System: Linux Red Hat 7.2 PHP Version: 4.0.6 New Comment: If you visit from following URL: http://kellinux.cs.uidaho.edu/cs461/login.php you can find php can access my

Re: [PHP-DEV] SAPI Module Leaking

2001-12-21 Thread Zeev Suraski
Are you calling request_shutdown? Also, are you sure it's actually leaking? Does it leak 200-400KB on each and every request, or does this rate 'slow down' at some point? Zeev At 18:20 21/12/2001, Alex Leigh wrote: All - I have written a SAPI module for a new webserver continuity. The code

Re: [PHP-DEV] SAPI Module Leaking

2001-12-21 Thread Alex Leigh
I'm sure it's leaking, it'll readily consume a gig of memory and shows no signs of slowing down. I originally was calling phpinfo(), but it also leaks equally if I just have the php handler serve a page with no php in it. So, yes, it leaks that amount every request and it never frees. The code

Re: [PHP-DEV] SAPI Module Leaking

2001-12-21 Thread Andi Gutmans
Does this web server spawn a new thread for each request? Or does it reuse its threads? Andi At 12:22 PM 12/21/2001 -0600, Alex Leigh wrote: I'm sure it's leaking, it'll readily consume a gig of memory and shows no signs of slowing down. I originally was calling phpinfo(), but it also leaks

[PHP-DEV] SAPI Module Leaking

2001-12-21 Thread Alex Leigh
It can do both. In the testing configuration, it is not pooling but destroying the threads. They are created as detached threads, which at least on Solaris go away after they terminate; the ones that exit aren't building up in the process (I verified this with pstack). I am not specifying an

Re: [PHP-DEV] SAPI Module Leaking

2001-12-21 Thread Andi Gutmans
Check out DllMain() in php4isapi.c. Are you running the thread attach and thread detach code? Andi At 12:43 PM 12/21/2001 -0600, Alex Leigh wrote: It can do both. In the testing configuration, it is not pooling but destroying the threads. They are created as detached threads, which at least on

[PHP-DEV] Bug #14151 Updated: Installed/Compiled Php4.0.6 with Oracle9i on Linux Red Hat7.2

2001-12-21 Thread sander
ID: 14151 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: OCI8 related Operating System: Linux Red Hat 7.2 PHP Version: 4.0.6 New Comment: Can you generate a backtrace? (http://bugs.php.net/bugs-generating-backtrace.php) Previous Comments:

[PHP-DEV] Bug #14650: include_path is badly broken in SAPI version

2001-12-21 Thread garth
From: [EMAIL PROTECTED] Operating system: Windows 2000 (Win2K) PHP version: 4.1.0 PHP Bug Type: Reproducible crash Bug description: include_path is badly broken in SAPI version Note: Please ONLY look at this bug if you have a system that can replicate the environment

Re: [PHP-DEV] SAPI Module Leaking

2001-12-21 Thread Alex Leigh
Ok. I looked at the ISAPI code, and I am now calling ts_thread_free() when the handler exits. This seems to have cleared up the problem immensely, but it's still leaking to the tune of ~1k per request. I'll go over my SAPI module again to verify that is not the cause of the 1k leak. Also with

[PHP-DEV] Bug #14651: PHP close tag (?) in a comment acts as a close; this did not happen in 4.0.x

2001-12-21 Thread mike
From: [EMAIL PROTECTED] Operating system: FreeBSD 3.4-REL PHP version: 4.1.0 PHP Bug Type: Reproducible crash Bug description: PHP close tag (?) in a comment acts as a close; this did not happen in 4.0.x In 4.0.x, you could do something like: ? echo hi; //does this

Re: [PHP-DEV] SAPI Module Leaking

2001-12-21 Thread Zeev Suraski
The way TSRM is written is not designed for servers that don't reuse threads for more than one request, so if that's how it works - you're going to see a growing memory image all the time :I At 22:16 21/12/2001, Alex Leigh wrote: Ok. I looked at the ISAPI code, and I am now calling

[PHP-DEV] Bug #14650 Updated: include_path is badly broken in SAPI version

2001-12-21 Thread sander
ID: 14650 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Reproducible crash Operating System: Windows 2000 (Win2K) PHP Version: 4.1.0 New Comment: Do not open new bugs. Reopen your old one! Anyway, I can't reproduce with the following specs:

Re: [PHP-DEV] Bug #14651: PHP close tag (?) in a comment acts as a close; this did not happen in 4.0.x

2001-12-21 Thread Andrew Sitnikov
Hello mike, This is not bug, this is features: http://www.php.net/manual/en/language.basic-syntax.comments.php The one-line comment styles actually only comment to the end of the line or the current block of PHP code, whichever comes first. Please mark this bug as bogus. mmc From:

[PHP-DEV] Bug #14651 Updated: PHP close tag (?) in a comment acts as a close; this did not happen in 4.0.x

2001-12-21 Thread sander
ID: 14651 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Reproducible crash Operating System: FreeBSD 3.4-REL PHP Version: 4.1.0 New Comment: Indeed, this is not a bug. http://www.php.net/manual/en/language.basic-syntax.comments.php This hasn't

[PHP-DEV] Bug #14649 Updated: Other users can not comment on bugs

2001-12-21 Thread sander
ID: 14649 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Unknown/Other Function Operating System: Any PHP Version: 4.1.0 New Comment: If you wish to help us out with the bugdb, request a CVS-account (http://www.php.net/cvs-php.php). We're

[PHP-DEV] Bug #14652: 4.1.0 session_unregister segfaults on IIS/CGI

2001-12-21 Thread texel
From: [EMAIL PROTECTED] Operating system: NT PHP version: 4.1.0 PHP Bug Type: Session related Bug description: 4.1.0 session_unregister segfaults on IIS/CGI I'm running PHP4.1.0, CGI version, on NT4.0 SP6, with IIS 4.0 (all security patches applied). session_unregister

[PHP-DEV] Bug #14652 Updated: 4.1.0 session_unregister segfaults on IIS/CGI

2001-12-21 Thread sander
ID: 14652 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Session related Operating System: NT PHP Version: 4.1.0 New Comment: Can you include a (short) sample script? Previous Comments:

Re: [PHP-DEV] SAPI Module Leaking

2001-12-21 Thread Alex Leigh
Well, at this point it is only leaking 1k per request; that doesn't sound overly complicated to fix. Do you have an idea of what particularly TSRM is leaking, after ts_thread_free() is called? I'd be happy to poke around the code. Alex On 12/21/01 2:38 PM, Zeev Suraski [EMAIL PROTECTED] wrote:

Re: [PHP-DEV] SAPI Module Leaking

2001-12-21 Thread Zeev Suraski
Well, it is pretty complicated to fix, even though it's been a very long while since I touched this code so I may be wrong. As far as I recall, the TSRM hash tables won't reuse entries that were freed by threads that terminated. Fixing this, especially without hurting performance, may be

Re: [PHP-DEV] SAPI Module Leaking

2001-12-21 Thread Alex Leigh
It sounds like there was a particular reason for writing it this way ? I am considering what effect it will have on me if I simply require that people use thread pooling, and I'm going to do some tests to see whether there's still a leak condition or if it stabilizes when I reuse them. Alex On

Re: [PHP-DEV] SAPI Module Leaking

2001-12-21 Thread Zeev Suraski
At 00:31 22/12/2001, Alex Leigh wrote: It sounds like there was a particular reason for writing it this way ? Could be, I don't really remember. There was a basic assumption (which is typically true, it's the first time I see it isn't) that threaded servers reuse their threads, because it's

Re: [PHP-DEV] Re: [PEAR-DEV] Re: [FRC]Session module related issues

2001-12-21 Thread Yasuo Ohgaki
mlwmohawk wrote: On Thursday 20 December 2001 08:38 am, Yasuo Ohgaki wrote: Jani Taskinen wrote: Why not make it standalone extension? Just check the ext/msession/ extension which has done this same thing. --Jani Then msession may have the same problem that I mentioned. Since session

[PHP-DEV] ucwords() bug -- Newbie trying to fix it

2001-12-21 Thread Ernesto
Hi, I'm using PHP (4.1.0) for Windows and found a bug with the ucwords() function. The problem is with certain international characters. Example: the tamaños, is converted as TamañOs. As you can see, the ñ is interpreted as a word separator. What looks stranger is the fact that it will

[PHP-DEV] Bug #14653: Internet Explorer for Macintosh receives bad HTTP header info from PHP Header()

2001-12-21 Thread freedb86
From: [EMAIL PROTECTED] Operating system: Free-BSD 4.4 PHP version: 4.0.6 PHP Bug Type: HTTP related Bug description: Internet Explorer for Macintosh receives bad HTTP header info from PHP Header() The PHP Header() function isn't passing the correct HTTP redirect info to

[PHP-DEV] Bug #14623 Updated: get_meta_tags only looks in begin of file

2001-12-21 Thread elixer
ID: 14623 Updated by: elixer Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Strings related Operating System: linux PHP Version: 4.0.6 Assigned To: elixer New Comment: That example works fine here from the local CVS. I don't think it has anything to do with PHP code being at the top of

[PHP-DEV] Bug #14609 Updated: window not closed if this script ended

2001-12-21 Thread rdzil
ID: 14609 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Other web server Operating System: Windows 98 SE PHP Version: 4.1.0 New Comment: Via commandline under Windows 98 Sec.Edit. Under Windows 2000 script work OK - window with end

[PHP-DEV] Bug #14151 Updated: Installed/Compiled Php4.0.6 with Oracle9i on Linux Red Hat7.2

2001-12-21 Thread liao4619
ID: 14151 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: OCI8 related Operating System: Linux Red Hat 7.2 PHP Version: 4.0.6 New Comment: I followed backtrace report Instructions: First:I stop apache server by using following

[PHP-DEV] Re: ucwords() bug -- Newbie trying to fix it

2001-12-21 Thread Yasuo Ohgaki
Ernesto wrote: Hi, I'm using PHP (4.1.0) for Windows and found a bug with the ucwords() function. The problem is with certain international characters. Example: the tamaños, is converted as TamañOs. As you can see, the ñ is interpreted as a word separator. What looks stranger is the

[PHP-DEV] Re: Bug #14650 Updated: include_path is badly broken in SAPI version

2001-12-21 Thread Yasuo Ohgaki
We need How to get bracktrace under Windows those who have VisualStudio. I don't have VisualStudio, any volunteers? PS: Does current PHP compile without VisualStudio under Windows? [EMAIL PROTECTED] wrote: ID: 14650 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open

[PHP-DEV] Re: MS SQL Connection

2001-12-21 Thread Yasuo Ohgaki
Jerry wrote: Hi, I'm new in PHP, using more JavaScript. I would like to know how to connect to a MS SQL DB on a window 2000 server using my machine as a local web server (window 2000 workstation) I believed the beginning would be: ?php $link_id=mssql_connect(LONDB02,user,pwd); ? But

[PHP-DEV] Bug #14628 Updated: Session functions block on lock

2001-12-21 Thread yohgaki
ID: 14628 Updated by: yohgaki Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Session related Operating System: Linux Old PHP Version: 4.0.6 PHP Version: 4.1.0 New Comment: Do you have frames with your php script? If yes, write session_write_close() to see if it

[PHP-DEV] Bug #14654: Session not expiring with IE5

2001-12-21 Thread admin
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.1.0 PHP Bug Type: Session related Bug description: Session not expiring with IE5 I am using session_start() and session_id() trying to identify visitors to my site. Problem: the session.cookie_lifetime is set

[PHP-DEV] Bug #14654 Updated: Session not expiring with IE5

2001-12-21 Thread admin
ID: 14654 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: Linux PHP Version: 4.1.0 New Comment: After doing a lot of testing I have found that this problem is caused by Outlook Express. Outlook Express seems to somehow

Re: [PHP-DEV] ucwords() bug -- Newbie trying to fix it

2001-12-21 Thread Markus Fischer
Can this be related to setting the proper locale? On Fri, Dec 21, 2001 at 08:29:13PM -0300, Ernesto wrote : Hi, I'm using PHP (4.1.0) for Windows and found a bug with the ucwords() function. The problem is with certain international characters. Example: the tamaños, is converted

[PHP-DEV] Bug #14654 Updated: Session not expiring with IE5

2001-12-21 Thread mfischer
ID: 14654 Updated by: mfischer Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Session related Operating System: Linux PHP Version: 4.1.0 New Comment: There's little PHP can do for broken clients. Bogus. Previous Comments:

[PHP-DEV] Bug #14655: ucwords failing randomly with international characters

2001-12-21 Thread xtango
From: [EMAIL PROTECTED] Operating system: Windows XP Pro (spanish) PHP version: 4.1.0 PHP Bug Type: Strings related Bug description: ucwords failing randomly with international characters When using the ucwords() function with strings containing international characters,

Re: [PHP-DEV] session_pgsql module commit notice

2001-12-21 Thread Yasuo Ohgaki
mlwmohawk wrote: On Friday 21 December 2001 04:36 am, Yasuo Ohgaki wrote: Hi all, This is the last notice before PostgreSQL session save handler module commit. I've renamed it to session_pgsql so that users will understand it's a sub module for session module. I've also changed Makefile.in

[PHP-DEV] Move msession to PECL

2001-12-21 Thread Sebastian Bergmann
I think we should move the msession extension to PECL. AFAIR it has not yet been distributed with a PHP release, has no NEWS entry that it was added. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: