[PHP-DEV] Validating Email using ereg

2001-04-03 Thread Sharat Hegde
Hello, I am trying to validate the email address in my PHP program using the ereg function. I have different combinations of regular expressions to get the chunks of the email substring before and after the @ symbol and the dot (.) character. However, this does not seem to work. Can anyone

Re: [PHP-DEV] Validating Email using ereg

2001-04-03 Thread Sebastian Bergmann
Sharat Hegde wrote: I am trying to validate the email address in my PHP program using the This is the list for "Developing PHP", not "Development with PHP". You should ask your question on the [EMAIL PROTECTED] list. -- sebastian bergmann[EMAIL PROTECTED]

[PHP-DEV] PHP 4.0 Bug #10072 Updated: SIGSEGV on startup (apxs)

2001-04-03 Thread old . wolf
ID: 10072 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Reproduceable crash Description: SIGSEGV on startup (apxs) I got the latest snap, php4-200104022145, and rebuilt as you suggest. I also used a smaller configure line: ./configure --with-apxs

[PHP-DEV] PHP 4.0 Bug #10131: Round error

2001-04-03 Thread woprog
From: [EMAIL PROTECTED] Operating system: Red Hat Linux 6.2 PHP version: 4.0.4pl1 PHP Bug Type: Math related Bug description: Round error Execute this script: ? $a = 250.02; $b = 210.10; $c = 39.92; echo "a = $abr\n"; echo "b =

[PHP-DEV] PHP 4.0 Bug #10126 Updated: ASP can't working

2001-04-03 Thread phildriscoll
ID: 10126 Updated by: phildriscoll Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: IIS related Assigned To: Comments: Please reinstall PHP as a CGI rather than as an ISAPI filter/module and let us know if your ASP starts working ok again. As stated in the

Re: [PHP-DEV] Shared memory in extensions

2001-04-03 Thread Thomas Wentzel
Alexander! You're absolutely right - that was exactly what I had done! Hmm I guess that at his point I have noone fooled :) I'm totally new to all this shm stuff and PHP extensions or rather the intrinsic details of their 'inner' workings... I simply figured that if I allocate a shared memory

[PHP-DEV] PHP 4.0 Bug #10131 Updated: Round error

2001-04-03 Thread derick
ID: 10131 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Math related Assigned To: Comments: This is not a bug in PHP. it's how floating point math works, and there is nothing that we can do to change it. The problem is that these floating point

[PHP-DEV] Re: [PHP-QA] RC6 available!

2001-04-03 Thread Kirill Maximov
Andi Gutmans wrote: You can get RC6 at http://cvs.php.net/~andi/php-4.0.5RC6.tar.gz (no time to commit to phpweb cvs and wait for it to update, if someone has time then even better, I need some sleep :) In case you're testing it within the next few hours you might need to "touch *" the

Re: [PHP-DEV] Shared memory in extensions

2001-04-03 Thread Alexander Feldman
On Tue, 3 Apr 2001, Thomas Wentzel wrote: [snip] Where can I find a good explanation as to what the differences are between MINIT, RINIT, MSHUTDOWN and RSHUTDOWN? http://www.zend.com/apidoc/x629.php hehe - how would one go about removing a shared memory segment manually?? ipcrm (see

[PHP-DEV] PHP 4.0 Bug #10131 Updated: Round error

2001-04-03 Thread woprog
ID: 10131 User Update by: [EMAIL PROTECTED] Status: Closed Bug Type: Math related Description: Round error Previous Comments: --- [2001-04-03 03:46:38] [EMAIL PROTECTED] Execute this script: ? $a = 250.02;

[PHP-DEV] PHP 4.0 Bug #10132: mysql unable to store result set warning (not as in FAQ)

2001-04-03 Thread jules
From: [EMAIL PROTECTED] Operating system: linux 2.2.14 PHP version: 4.0.4pl1 PHP Bug Type: MySQL related Bug description: mysql unable to store result set warning (not as in FAQ) I'm getting the following error message when I execute a query (such as an insert) that

[PHP-DEV] Re: PHP 4.0 Bug #10124 Updated: Cookies are being read

2001-04-03 Thread Tim
Sorry about that, I tried it on all 4 browsers I have Netscape 4, IE 5, IE 5.5, and Opera 5. It only started after I did a security patch with Microsoft, and on the second time after I redid the whole server, I left the security patch out, but it still had the same problems. But I did install

[PHP-DEV] PHP 4.0 Bug #10133: Some values returned by gmp_strval are null-terminated

2001-04-03 Thread chr
From: [EMAIL PROTECTED] Operating system: Linux 2.2.16-3 PHP version: 4.0.4pl1 PHP Bug Type: *Math Functions Bug description: Some values returned by gmp_strval are null-terminated Some values returned by gmp_strval are padded with an additional \0 byte. The code for

[PHP-DEV] PHP 4.0 Bug #10134: Using Zend Optimiser: including by URL fails

2001-04-03 Thread bobby . jack
From: [EMAIL PROTECTED] Operating system: sparc-sun-solaris2.6 PHP version: 4.0.4pl1 PHP Bug Type: Reproduceable crash Bug description: Using Zend Optimiser: including by URL fails Zend Optimiser version 1.0.0 is installed. PHP running on Apache-1.3.19 Including a file

[PHP-DEV] Re[2]: [PHP-QA] RC6 available!

2001-04-03 Thread Andrew Sitnikov
Hello Andi, Compiled successful, but when apache start: Failed loading /usr/local/Zend/lib/ZendDebugger.so: /usr/local/Zend/lib/ZendDebugger.so: undefined symbol: zend_get_ini_entry and Debuger not loaded :( Best regards, Andrew Sitnikov e-mail : [EMAIL PROTECTED]

[PHP-DEV] PHP 4.0 Bug #10129 Updated: Bug id #8133 solved (pspell_new)

2001-04-03 Thread sniper
ID: 10129 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Pspell related Assigned To: Comments: Solved - closed :) --Jani Previous Comments: --- [2001-04-03 02:15:52]

Re: [PHP-DEV] Leaking references

2001-04-03 Thread Stanislav Malyshev
BB i have hit on this issue while trying to make a sapi module. my BB problem was that memory emalloc-ed _before_ the request got BB efree-ed by the memory manager after the request and when i BB efree it afterwards a total memory mess occurs (sigsegv, BB infinite loop in libc free or something

[PHP-DEV] PHP 4.0 Bug #8133 Updated: pspell_new() in Apache module segfaults

2001-04-03 Thread sniper
ID: 8133 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Analyzed Status: Closed Bug Type: Pspell related Assigned To: Comments: I can't reproduce this with latest CVS. You should also check bug #10129 if that's what is the problem in your system. ( And I don't have .aspell in

RE: [PHP-DEV] Re[2]: [PHP-QA] RC6 available!

2001-04-03 Thread James Moore
Sounds like your debugger was built against a different version of PHP (4.0.5RC1 or 4.0.4pl1, kill the loading of the debugger from your php.ini to test and it should not give the error. The zend people will provide a new debugger build against php 4.0.5 when its released im sure. - James

[PHP-DEV] problem in php_odbc.c - can anyone explain what this code was added for

2001-04-03 Thread Martin J. Evans
We are seeing massive cpu usage in the MS SQLServer ODBC driver when calling odbc_prepare to select a column from a table, retrieving the results and then repeating. The SQLServer ODBC driver appears to be spin waiting, repeatedly calling WaitForSingelObject. It appears when odbc_prepare is

[PHP-DEV] PHP 4.0 Bug #9816 Updated: FATAL: emalloc(): Unable to allocate

2001-04-03 Thread shazlista
ID: 9816 User Update by: [EMAIL PROTECTED] Old-Status: Closed Status: Open Bug Type: ODBC related Description: FATAL: emalloc(): Unable to allocate I am sorry but I have no coments on you ... In all versions from 4.0.2 till 4.0.4pl1. Only in win2000 with srvice pack 1 installed. Only, not in

[PHP-DEV] PHP 4.0 Bug #10135: Problem(?) with environment variables when running as module

2001-04-03 Thread bogdan
From: [EMAIL PROTECTED] Operating system: Win 2k PHP version: 4.0.4pl1 PHP Bug Type: *General Issues Bug description: Problem(?) with environment variables when running as module The ideea is that when I run php as an Apache module, it is impossible to change the value of

[PHP-DEV] PHP 4.0 Bug #10132 Updated: mysql unable to store result set warning (not as in FAQ)

2001-04-03 Thread jules
ID: 10132 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Description: mysql unable to store result set warning (not as in FAQ) I've been poking around the source code trying to find a soltion to this, and I'm not sure but think I may have found it. As previously said

Re: [PHP-DEV] RC6 available!

2001-04-03 Thread Alexander Bokovoy
On Mon, Apr 02, 2001 at 11:30:42PM +0200, Andi Gutmans wrote: You can get RC6 at http://cvs.php.net/~andi/php-4.0.5RC6.tar.gz (no time to commit to phpweb cvs and wait for it to update, if someone has time then even better, I need some sleep :) In case you're testing it within the next few

[PHP-DEV] PHP 4.0 Bug #10132 Updated: mysql unable to store result set warning (not as in FAQ)

2001-04-03 Thread jules
ID: 10132 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Description: mysql unable to store result set warning (not as in FAQ) Err.. ignore me. That change might or might not be necessary, but that isn't the version of mysql I'm on. Back to the drawing board...?

[PHP-DEV] PHP 4.0 Bug #9284 Updated: odbc_execute , SQL state 07001 in SQLExecute

2001-04-03 Thread kalowsky
ID: 9284 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: ODBC related Assigned To: Comments: user reports: I've tried the same without bind variables ('?')[parameters] the statement worked ok. If I tried to bind variables into an array

[PHP-DEV] PHP 4.0 Bug #8464 Updated: PHP SIGABRT's using pspell functions

2001-04-03 Thread sniper
ID: 8464 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Pspell related Assigned To: Comments: I can't reproduce this. Please check bug #10129 if that's what is the problem in your system. Also, try the latest CVS snapshot from http://snaps.php.net/

[PHP-DEV] PHP 4.0 Bug #10072 Updated: SIGSEGV on startup (apxs)

2001-04-03 Thread sniper
ID: 10072 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Reproduceable crash Assigned To: Comments: Which compiler / linker do you use? GNU? --Jani Previous Comments: ---

[PHP-DEV] PHP 4.0 Bug #10132 Updated: mysql unable to store result set warning (not as in FAQ)

2001-04-03 Thread sniper
ID: 10132 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MySQL related Assigned To: Comments: Are you using PHP 3? Or as you have selected: 4.0.4pl1 ?? If former, please upgrade. If problem persists after upgrade, reopen this bug report with

[PHP-DEV] PHP 4.0 Bug #10134 Updated: Using Zend Optimiser: including by URL fails

2001-04-03 Thread sniper
ID: 10134 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Reproduceable crash Assigned To: Comments: Report these bugs to [EMAIL PROTECTED] with info found on page: http://www.zend.com/store/products/optimizer-troubleshooting.php --Jani

[PHP-DEV] PHP 4.0 Bug #9723 Updated: not being encoded, invalid html

2001-04-03 Thread sniper
ID: 9723 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Session related Assigned To: Comments: This is fixed in CVS. Try latest snapshot from http://snaps.php.net/ and check the php.ini-dist for arg_separator directive. --Jani Previous

[PHP-DEV] PHP 4.0 Bug #10016 Updated: MySQL connection

2001-04-03 Thread elirene
ID: 10016 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: MySQL related Description: MySQL connection Fixed, The bug wasn't a php or Mysql bug but an antivirus bug. I use e-safe desktop (3.0), and he doesn't let php and Mysql work. The problem was pretty

[PHP-DEV] PHP 4.0 Bug #10079 Updated: Header Function Within IF construct

2001-04-03 Thread dgrimes
ID: 10079 User Update by: [EMAIL PROTECTED] Status: Feedback Bug Type: Scripting Engine problem Description: Header Function Within IF construct I was able to get PHP-4.0.5 installed and I still have the same problem. Is there anything else you would like me to try? Is this a bug or expected

[PHP-DEV] PHP 4.0 Bug #9727 Updated: Unable to use @ in URL passwords with fopen()

2001-04-03 Thread sniper
ID: 9727 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Filesystem function related Assigned To: Comments: Works for me just fine. (with a passwd containing a @ ) Please try the latest CVS snapshot from http://snaps.php.net/ Reopen this bug

[PHP-DEV] PHP 4.0 Bug #10016 Updated: MySQL connection

2001-04-03 Thread sniper
ID: 10016 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MySQL related Assigned To: Comments: Solved - closed. --Jani Previous Comments: --- [2001-04-03 09:20:59] [EMAIL

[PHP-DEV] PHP 4.0 Bug #9489 Updated: The mail() function doesn't return the success or error

2001-04-03 Thread sniper
ID: 9489 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Mail related Assigned To: Comments: The mail() function returns either TRUE if mail was sent and FALSE if not. Or what return value did you mean? Does it always return FALSE? --Jani

[PHP-DEV] PHP 4.0 Bug #10136: Function mail() does not work properly

2001-04-03 Thread arnaud
From: [EMAIL PROTECTED] Operating system: Win32 (2K and 9x) - IIS 5 Apache 1.3.19 PHP version: 4.0.4pl1 PHP Bug Type: Mail related Bug description: Function mail() does not work properly First, I tried making mail() function work() on a Win2k - IIS 5.0 server and on

[PHP-DEV] PHP 4.0 Bug #9532 Updated: with session.auto_start=1 session data is not available without session_start()

2001-04-03 Thread sniper
ID: 9532 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Session related Assigned To: Comments: Are you sure that php.ini has been read? Check the phpinfo() output for session.auto_start entry. --Jani Previous Comments:

[PHP-DEV] PHP 4.0 Bug #9418 Updated: Upload image file is broken

2001-04-03 Thread sniper
ID: 9418 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *General Issues Assigned To: Comments: Please try latest snapshot from http://snaps.php.net/ If problem still persists, please send me the original and uploaded (via form) images to [EMAIL

[PHP-DEV] PHP 4.0 Bug #10137 Updated: Apache repots a crash afer executing the php script

2001-04-03 Thread sniper
ID: 10137 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Unknown/Other Function Assigned To: Comments: 1. Upgrade to 4.0.4pl1 2. If problem persists, add the shortest possible script into this bug report which can be used to reproduce this.

[PHP-DEV] PHP-4.0.5-RC6

2001-04-03 Thread Andrew Sitnikov
Hello php-qa, test.php ? echo $test; ? http://host/test.php?test=1;2;3 4.0.4pl1 Result: 1;2;3 4.0.5RC6 Result: 1 Best regards, Andrew Sitnikov e-mail : [EMAIL PROTECTED] GSM: (+372) 56491109 -- PHP Development Mailing List

[PHP-DEV] PHP 4.0 Bug #10141 Updated: $HTTP_USER_AGENT 'breaks' in a URL-included file

2001-04-03 Thread hholzgra
ID: 10141 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Old-Bug Type: Reproduceable crash Bug Type: Feature/Change Request Assigned To: Comments: maybee there should be a way to define the USER_AGENT for HTTP fopen wrapper? moved to feature requests

RE: [PHP-DEV] PHP-4.0.5-RC6

2001-04-03 Thread James Moore
test.php ? echo $test; ? http://host/test.php?test=1;2;3 This happens for me too with 4.0.5RC6 and yesterdays CVS. Is this the expected behaviour? shouldnt the ; be %3B (at which point you get the expected output.. I dont think that this is a bug. -James -- PHP Development

[PHP-DEV] PHP 4.0 Bug #10138 Updated: mysql_insert_id() returns incorrect value

2001-04-03 Thread jules
ID: 10138 User Update by: [EMAIL PROTECTED] Status: Closed Bug Type: MySQL related Description: mysql_insert_id() returns incorrect value Information from the RPMs of the MySQL packages: [root@fddth03-157-31 /root]# rpm -q -i -f /usr/lib/libmysqlclient.so.10.0.0 Name: MySQL-shared

[PHP-DEV] PHP 4.0 Bug #10138 Updated: mysql_insert_id() returns incorrect value

2001-04-03 Thread jules
ID: 10138 User Update by: [EMAIL PROTECTED] Old-Status: Closed Status: Open Bug Type: MySQL related Description: mysql_insert_id() returns incorrect value Previous Comments: --- [2001-04-03 11:25:53] [EMAIL PROTECTED] I

[PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Andi Gutmans
Anyone have an idea why this happens? Andi At 05:37 PM 4/3/2001 +0200, Andrew Sitnikov wrote: Hello php-qa, test.php ? echo $test; ? http://host/test.php?test=1;2;3 4.0.4pl1 Result: 1;2;3 4.0.5RC6 Result: 1 Best regards, Andrew Sitnikov e-mail : [EMAIL

[PHP-DEV] PHP 4.0 Bug #10138 Updated: mysql_insert_id() returns incorrect value

2001-04-03 Thread jules
ID: 10138 User Update by: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MySQL related Description: mysql_insert_id() returns incorrect value OK; I just tested with the mysql C interface and that didn't work right either, so I guess I'll take this over to mysql. Sorry to bother

Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Anil Madhavapeddy
It's the arg_separator changes isn't it? Both '' and ';' are valid delimiters in a URL, so the new 4.0.5 behaviour is actually the valid one, I believe. Refer to the XHTML specification, or check out the bugs db for this. Anil - Original Message - From: "Andi Gutmans" [EMAIL

[PHP-DEV] RE: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread James Moore
Anyone have an idea why this happens? Andi Shouldnt the ; be urlencoded (%3B works fine)?? James -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

[PHP-DEV] PHP 4.0 Bug #10143: need a tweak to ldap_add to set a binary flag

2001-04-03 Thread brianc
From: [EMAIL PROTECTED] Operating system: Solaris 8 PHP version: 4.0.4pl1 PHP Bug Type: Feature/Change Request Bug description: need a tweak to ldap_add to set a binary flag [actually the version is 4.0.5-dev but that isn't listed] Adding binary data to an ldap entry isn't

Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Daniel Beulshausen
At 19:21 03.04.2001 +0200, Andi Gutmans wrote: Anyone have an idea why this happens? because someone wanted it to. it should be documented in the NEWS file. but now php.ini as well as main.c shouldn't contain the ini entry anymore. daniel Andi At 05:37 PM 4/3/2001 +0200, Andrew Sitnikov

Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Andi Gutmans
It might be valid but we might be breaking many people's sites. I am not sure this is a very good idea. Is it configurable via php.ini? We could keep the default the old behavior. Andi At 06:35 PM 4/3/2001 +0100, Anil Madhavapeddy wrote: It's the arg_separator changes isn't it? Both '' and ';'

[PHP-DEV] Re: PHP 4.0 Bug #10067 Updated: zlib not included when compiled with apache

2001-04-03 Thread Rusty Wright
Ok, thanks. Date: 30 Mar 2001 19:32:47 - To: [EMAIL PROTECTED] Subject: PHP 4.0 Bug #10067 Updated: zlib not included when compiled with apache From: Bug Database [EMAIL PROTECTED] ID: 10067 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open

[PHP-DEV] Re: PHP 4.0 Bug #9489 Updated: The mail() function doesn't return the success or error

2001-04-03 Thread Star-Tools Team
Dear Jani, The mail() function returns either TRUE if mail was sent and FALSE if not. That's not correct. The mail() function gives NO result back, if the mail was sent and NO result, if the mail was not sent. Or what return value did you mean? Does it always return FALSE? I've outputed

[PHP-DEV] ob_gzhandler

2001-04-03 Thread Vadim Tkachenko
Can I use ob_gzhandler in function ? for example function test($str){ return ob_gzhandler($str,4096); } ob_start("test"); It worked with PHP 4.0.4, but not worked with any 4.0.5RC Vadim Tkachenko. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL

[PHP-DEV] PHP 4.0 Bug #8133 Updated: pspell_new() in Apache module segfaults

2001-04-03 Thread vlad
ID: 8133 Updated by: vlad Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Pspell related Assigned To: Comments: Actually, this is still a "problem", and the solution for the cause seems to be in allowing aspell to read it's own files as 'nobody' (or whatever your apache runs as). For

Re: [PHP-DEV] Porting ASP code to PHP

2001-04-03 Thread John Lim
Hello Mike, This really shouldn't be in php.dev, but nevermind. There is a VBScript to PHP compiler at http://asp2php.naken.cc/ Amazing isn't it! There is also a class library that emulates ADO at http://php.weblogs.com/adodb I am the author of the library. I am also interested in the

Re: [PHP-DEV] Re: PHP 4.0 Bug #9489 Updated: The mail() function doesn't return the success or error

2001-04-03 Thread Hartmut Holzgraefe
Star-Tools Team wrote: I've outputed the return value by using the following code: $Result = mail(...) echo "-$Result-"; The output was "--"! so $Result was either empty or 'false' as false converts to an empty string you might try this instead: echo

[PHP-DEV] PHP 4.0 Bug #10144: Resource not properly freed after type intval(resource) type case

2001-04-03 Thread shmengie_2000
From: [EMAIL PROTECTED] Operating system: NT, Linux PHP version: 4.0 Latest CVS (01/04/2001) PHP Bug Type: OCI8 related Bug description: Resource not properly freed after type intval(resource) type case Summary: WinNT, Apache 1.3.19, recent snap, php_oci8.dll (possibly

[PHP-DEV] PHP 4.0 Bug #9172 Updated: fopen-wrapper does not work

2001-04-03 Thread sniper
ID: 9172 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Filesystem function related Assigned To: Comments: Is HAVE_GETADDRINFO defined in your main/php_config.h ? --Jani Previous Comments:

[PHP-DEV] CVS Account Request

2001-04-03 Thread CVS Account Request
Full name: jim winstead Email: [EMAIL PROTECTED] ID: jimw Purpose: just testing a [EMAIL PROTECTED] bypass operation -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP-DEV] PHP 4.0 Bug #10145: strtime() result?

2001-04-03 Thread colin
From: [EMAIL PROTECTED] Operating system: RH 7.0 PHP version: 4.0 Latest CVS (03/04/2001) PHP Bug Type: Date/time related Bug description: strtime("") result? strtotime("") returns the timestamp for midnight on the current date. I suppose if you think about it a bit, it

Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Jani Taskinen
On Tue, 3 Apr 2001, Zeev Suraski wrote: My guess is that's the arg_separator fix. Jani? Yes, that's true. I did ask (couple of times) before I committed that patch. And yes, now both and ; are considered as arg separators. And I'd like to think that it's a feature than bug. ;) This url

Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Sascha Schumann
Yes, that's true. I did ask (couple of times) before I committed that patch. And yes, now both and ; are considered as arg separators. And I'd like to think that it's a feature than bug. ;) That would be true, if PHP would be some kind of reference implementation. But we don't

Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Joao Prado Maia
On Tue, 3 Apr 2001, Sascha Schumann wrote: Yes, that's true. I did ask (couple of times) before I committed that patch. And yes, now both and ; are considered as arg separators. And I'd like to think that it's a feature than bug. ;) That would be true, if PHP would be some kind

Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Andi Gutmans
At 10:01 PM 4/3/2001 +0200, Jani Taskinen wrote: On Tue, 3 Apr 2001, Zeev Suraski wrote: My guess is that's the arg_separator fix. Jani? Yes, that's true. I did ask (couple of times) before I committed that patch. And yes, now both and ; are considered as arg separators. And I'd like to

[PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread James Moore
Yes, that's true. I did ask (couple of times) before I committed that patch. And yes, now both and ; are considered as arg separators. And I'd like to think that it's a feature than bug. ;) That would be true, if PHP would be some kind of reference implementation. But we

Re: [PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Andi Gutmans
James, You have to be aware that now PHP has such a big user base we need to be very careful in the changes we make especially when we can be pretty certain that it might burn quite a lot of people. We can break compatibility more easily when we have a major release (as from PHP 3 to PHP 4)

[PHP-DEV] Re: ; arg seperator

2001-04-03 Thread Joey Smith
Just wanted to toss in my .02 here... Anyone who wrote scripts in the past expecting: foo.php?a=1;2;3 to get "$a=1;2;3" was relying on a bug, or at the very LEAST an undocumented feature. So if it goes away, it goes away. It should never have worked to begin with, IMHO... This doesn't mean it

[PHP-DEV] Re[2]: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Andrew Sitnikov
Hello James, I agree, that standards it is good. You may certainly do such changes which will break work of the previous programs, but then not in minor versions (4.0.x). Probably you should release out 4.1.x, 4.2.x, because users have the right to hope, that at change in minor versions not

Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Rasmus Lerdorf
This is already configurable in php.ini using arg_separator and it defaults to . We should not be changing the default at this point. -Rasmus On Tue, 3 Apr 2001, Zeev Suraski wrote: My guess is that's the arg_separator fix. Jani? At 19:21 3/4/2001, Andi Gutmans wrote: Anyone have an

RE: [PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread James Moore
James, You have to be aware that now PHP has such a big user base we need to be very careful in the changes we make especially when we can be pretty certain that it might burn quite a lot of people. We can break compatibility more easily when we have a major release (as from PHP 3 to PHP

[PHP-DEV] Re: [PHP-QA] Re: ; arg seperator

2001-04-03 Thread Hartmut Holzgraefe
Joey Smith wrote: Just wanted to toss in my .02 here... Anyone who wrote scripts in the past expecting: foo.php?a=1;2;3 to get "$a=1;2;3" was relying on a bug, or at the very LEAST an undocumented feature. So if it goes away, it goes away. It should never have worked to begin with,

Re: [PHP-DEV] Re: ; arg seperator

2001-04-03 Thread Rasmus Lerdorf
I disagree, we explicitly document that the arg_separator defaults to and that this is the character that separates url arguments. This follows the original CGI specification. The fact that this is no longer the accepted standard for this doesn't mean we can just up and change it in a minor

Re[2]: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Andrew Sitnikov
Hello Rasmus, RL This is already configurable in php.ini using arg_separator and it RL defaults to . We should not be changing the default at this point. When i run this test, my arg_separator equal ''. RL -Rasmus RL On Tue, 3 Apr 2001, Zeev Suraski wrote: My guess is that's the

[PHP-DEV] RE: ; arg seperator

2001-04-03 Thread Joey Smith
On Tue, 3 Apr 2001, James Moore wrote the following: I would question about it being optional in the long term though. If we begin to make everything optional then we get to a point where PHP is so configurable with enabling this bug here or there it becomes impossible to create

RE: [PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Andi Gutmans
At 09:52 PM 4/3/2001 +0100, James Moore wrote: Well, I dont think any of us really know how much damage it will cause. But on the other hand we can do this for years and just say well we mustn't break backwards compatibility and we will end up with somthing looking and behaving like perl. When we

[PHP-DEV] Re: [PHP-QA] Re: ; arg seperator

2001-04-03 Thread Andi Gutmans
At 02:46 PM 4/3/2001 -0600, Joey Smith wrote: Just wanted to toss in my .02 here... Anyone who wrote scripts in the past expecting: foo.php?a=1;2;3 to get "$a=1;2;3" was relying on a bug, or at the very LEAST an undocumented feature. So if it goes away, it goes away. It should never have worked

Re: [PHP-DEV] efree/emalloc in sapi

2001-04-03 Thread Boian Bonev
hi, i know. the problem is i have used the thttpd sapi module as a sample and it is supposed to be stable. i have solved my problem by using plain malloc/free - my reason to share this experience is that there may be a leak or segfault in some of the sapi modules. i haven't found neighter bug

[PHP-DEV] PHP 4.0 Bug #10139 Updated: PHP crashes in CGI Mode

2001-04-03 Thread dbeu
ID: 10139 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: FDF related Assigned To: Comments: already fixed in cvs - will be in 4.0.5 Previous Comments: --- [2001-04-03 11:39:10]

[PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] Re: ; arg seperator

2001-04-03 Thread James Moore
I disagree, we explicitly document that the arg_separator defaults to and that this is the character that separates url arguments. This follows the original CGI specification. The fact that this is no longer the accepted standard for this doesn't mean we can just up and change it in a

[PHP-DEV] PHP 4.0 Bug #10015 Updated: inetinfo.exe crashes!

2001-04-03 Thread dbeu
ID: 10015 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: IIS related Assigned To: Comments: are sou using isapi or the cgi? Previous Comments: --- [2001-03-27 08:19:57] [EMAIL

[PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] Re: ; arg seperator

2001-04-03 Thread James Moore
Just to reply to myself we are fairly broken here according to rfc 2396 but if you guys think thats acceptable until 4.1 (whenever that might be) then thats fine.. Relavant part of RFC: 2.2. Reserved Characters Many URI include components consisting of or delimited by, certain special

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: ; arg seperator

2001-04-03 Thread Jani Taskinen
On Tue, 3 Apr 2001, Rasmus Lerdorf wrote: I disagree, we explicitly document that the arg_separator defaults to and that this is the character that separates url arguments. This follows the original CGI specification. The fact that this is no longer the accepted standard for this doesn't mean

[PHP-DEV] Re: [PHP-QA] Re: ; arg seperator

2001-04-03 Thread Andi Gutmans
At 03:18 PM 4/3/2001 -0600, Joey Smith wrote: Speaking of this, I think we need to collect all of these types of issues that are waiting for a "4.1" release somewhere, so we can get a clear idea of when 4.1 is appropriate. Anyone know of any off-hand? If not, I can go search the archives... In

[PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] Re: ; arg seperator

2001-04-03 Thread Joey Smith
Just thinking out loud here before I go to bed...how about: arg_sep.read = "" | ";" arg_sep.write = ";" Or something like this. It'd be nice to be able to do the |. On Tue, 3 Apr 2001, James Moore wrote the following to Rasmus Lerdorf and...: I disagree, we explicitly document that the

[PHP-DEV] Re: [PHP-QA] Re: ; arg seperator

2001-04-03 Thread Joey Smith
Same here. I know there's a few things like this out there...I am going to bed now. If no one else has done it before I wake, I'll start doing some digging. On Tue, 3 Apr 2001, Andi Gutmans wrote the following to Joey Smith, PHP...: At 03:18 PM 4/3/2001 -0600, Joey Smith wrote: Speaking of

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: ; arg seperator

2001-04-03 Thread Edin Kadribasic
Which reminds me: If arg_separator is used like it was before my patch and you set it to e.g. ';' and then have a form which method is GET..well, it won't work. there would be one variable holding all the info. Urls that are the result of a submitted form are generated by the browser and not

[PHP-DEV] RE: [PHP-QA] Re: ; arg seperator

2001-04-03 Thread James Moore
Same here. I know there's a few things like this out there...I am going to bed now. If no one else has done it before I wake, I'll start doing some digging. On Tue, 3 Apr 2001, Andi Gutmans wrote the following to Joey Smith, PHP...: At 03:18 PM 4/3/2001 -0600, Joey Smith wrote:

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: ; arg seperator

2001-04-03 Thread Jani Taskinen
On Tue, 3 Apr 2001, Edin Kadribasic wrote: Which reminds me: If arg_separator is used like it was before my patch and you set it to e.g. ';' and then have a form which method is GET..well, it won't work. there would be one variable holding all the info. Urls that are the result of a

[PHP-DEV] PHP 4.0 Bug #9964 Updated: Unresolved symbols

2001-04-03 Thread dbeu
ID: 9964 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: Compile Failure Assigned To: Comments: com linkage still seems to be broken (external modules like dotnet fail to link). can someone familiar with them please have a look at it? Previous

[PHP-DEV] Re: PHP 4.0 Bug #10143 Updated: need a tweak to ldap_add to set a binary flag

2001-04-03 Thread Brian S. Craigie
Hi, Uhm, how about the example I gave? ;-) (note: the bug screen must have stripped off my backslashes from the example). Example:- $info["postalAddress"] = base64_encode("address line\r\naddress line 2\r\n"); ldap_add($ds,"cn=something", $info); Aha! I understand things. The light

[PHP-DEV] PHP 4.0 Bug #10143 Updated: need a tweak to ldap_add to set a binary flag

2001-04-03 Thread sniper
ID: 10143 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: Feature/Change Request Assigned To: Comments: User feedback: -- Aha! I understand things. The light dawns (slap on forehead). I simply don't base64 encode it. My problem

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: ; arg seperator

2001-04-03 Thread Edin Kadribasic
Which reminds me: If arg_separator is used like it was before my patch and you set it to e.g. ';' and then have a form which method is GET..well, it won't work. there would be one variable holding all the info. Urls that are the result of a submitted form are generated by the browser

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: ; arg seperator

2001-04-03 Thread Edin Kadribasic
Shouldn't the solution be that the parser uses '' *and* arg_separator when arg_separotor is not ''? In that way the default behaviour of php is unchanged. Edin - Original Message - From: Edin Kadribasic [EMAIL PROTECTED] To: Jani Taskinen [EMAIL PROTECTED] Cc: PHP Developer List [EMAIL

Re: [PHP-DEV] Re: ; arg seperator

2001-04-03 Thread Alexander Bokovoy
On Tue, Apr 03, 2001 at 03:18:00PM -0600, Joey Smith wrote: Speaking of this, I think we need to collect all of these types of issues that are waiting for a "4.1" release somewhere, so we can get a clear idea of when 4.1 is appropriate. Anyone know of any off-hand? If not, I can go search the

[PHP-DEV] PHP 4.0 Bug #10079 Updated: Header Function Within IF construct

2001-04-03 Thread dgrimes
ID: 10079 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Scripting Engine problem Description: Header Function Within IF construct Yes, I double checked it and ServerType standalone is in my httpd.conf file. If there is anything I can do to help you debug the

[PHP-DEV] Re: [PHP-QA] Re: ; arg seperator

2001-04-03 Thread Hartmut Holzgraefe
[EMAIL PROTECTED] wrote: Please stop crossposting to the PHP-DEV and the PHP-QA mailing list. Most people interesting in this theme are reading both. And so it is really annoying to get everything twice. a bad idea IMHO as long as the topic is related to both lists as this will break the

Re: [PHP-DEV] Re: ; arg seperator

2001-04-03 Thread Jani Taskinen
On Wed, 4 Apr 2001, Alexander Bokovoy wrote: There is one problem which could come dangerous for extensions in future: change made a week ago in configure macros: AC_ADD_* - PHP_ADD_* This change was made in HEAD branch but PHP_4_0_5 wasn't reflected. It means that external extensions (PHP-GTK,

[PHP-DEV] Code documentation

2001-04-03 Thread Chand
Hi everyone, I was wondering if there was any documentation to the source code of php. I have to work on some internal patches to PHP for my company to offer php for a large number of users. I already did the patches but had a hard time understanding all the source code because of all the

  1   2   >