[PHP-DEV] Bug #13726: mktime bug

2001-10-18 Thread idisid
From: [EMAIL PROTECTED] Operating system: windows NT4.0 PHP version: 4.0.6 PHP Bug Type: Date/time related Bug description: mktime bug mktime(0,0,0,1,1,1969); is return -1. but in linux renturn valid value; maybe before 1970 bug in win32 version. -- Edit bug report

[PHP-DEV] Bug #13727: Call to undefined function: floatval()

2001-10-18 Thread aids
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.6 PHP Bug Type: *Math Functions Bug description: Call to undefined function: floatval() source code: ?php $fl = pi(); echo $fl, 'br'; $fl = floatval($fl); echo $fl, 'br'; ? return to

[PHP-DEV] Bug #13727 Updated: Call to undefined function: floatval()

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

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

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

[PHP-DEV] FREE S E X O 20912

2001-10-18 Thread hagstime23
WARNING: Too Controversial for the public Web! Must be 18 or older to continue! We are not responsible for your actions! SHOCKING CONTENT! http://206.47.217.53/pta/index.html C-ya inside sexy! XoXoXoXoXoX Tonya Hey Sexy! *** NEVER PAY FOR XXX AGAIN! TOTALLY FREE-4-LIFE

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

2001-10-18 Thread Jean-Francois LE CAM
No way, I still have the error... - Original Message - From: Bug Database [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 18, 2001 10:31 AM Subject: Bug #13728 Updated: --with-png-dir does not set the include dir ID: 13728 Updated by: rasmus Reported By: [EMAIL

[PHP-DEV] Re: PHP and MySQL 4.0.0

2001-10-18 Thread Sebastian Bergmann
Sebastian Bergmann wrote: Is this a known problem? Okay, having just read Message-ID: [EMAIL PROTECTED] I know now that the API has changed. Any guess on when MySQL 4.0.0 will be supported by PHP? -- Sebastian Bergmann http://sebastian-bergmann.de/

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

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

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

2001-10-18 Thread derick
ID: 13728 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: *Compile Issues Operating System: slackware 7.0 PHP Version: 4.0.6 New Comment: User reported: No way, I still have the error... Please use the webform to add comments to your report the

Re: [PHP-DEV] Re: Bug #13700: Database Abstraction API

2001-10-18 Thread Thies C. Arntzen
On Wed, Oct 17, 2001 at 12:03:44PM -0400, lo-tek wrote: A new OOP database abstraction layer (in C) is in the works. Should be ready in 2 or so months... how is that going to be different from PEARs or the dbx one? tc [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]...

[PHP-DEV] Bug #13729: PHP Outputs #! line

2001-10-18 Thread mc
From: [EMAIL PROTECTED] Operating system: Any PHP version: 4.0.6 PHP Bug Type: *Web Server problem Bug description: PHP Outputs #! line When running PHP either as a CGI or through mod_php, including the #! line causes it to be included in the output. When running as CGI

Re: [PHP-DEV] Forcing trans_sid on?

2001-10-18 Thread Sterling Hughes
On Wed, 17 Oct 2001, Rasmus Lerdorf wrote: This code in session.c looks odd to me: if (!PS(use_cookies) send_cookie) { PS(apply_trans_sid) = 1; send_cookie = 0; } Basically what this says is that if session.use_cookies is off, trans_sid will be automatically

Re: [PHP-DEV] Forcing trans_sid on?

2001-10-18 Thread Thies C. Arntzen
On Thu, Oct 18, 2001 at 11:04:22AM +0200, Sterling Hughes wrote: On Wed, 17 Oct 2001, Rasmus Lerdorf wrote: This code in session.c looks odd to me: if (!PS(use_cookies) send_cookie) { PS(apply_trans_sid) = 1; send_cookie = 0; } Basically what this says

Re: [PHP-DEV] Forcing trans_sid on?

2001-10-18 Thread Zeev Suraski
It could be a bug introduced by my patches from a couple of months ago (even though this behavior may have existed before, I'm not sure). I, at least, wasn't giving any thought to people who want to emit out SID's on their own. At 03:42 18-10-01, Rasmus Lerdorf wrote: This code in session.c

[PHP-DEV] Bug #13730: StrPos is deficient

2001-10-18 Thread anthony
From: [EMAIL PROTECTED] Operating system: Linux/Red Hat 7.1 PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: StrPos is deficient re StrPOS, I suggest that you do the following. Make another function with a different name, e.g. StrFind, that is 1)

[PHP-DEV] Bug #13731: strtotime does not see things like '7th'

2001-10-18 Thread sbalk
From: [EMAIL PROTECTED] Operating system: linux 2.4.10 PHP version: 4.0.5 PHP Bug Type: Feature/Change Request Bug description: strtotime does not see things like '7th' I was doing 'echo strtotime(October 12th 2001 - 02:52:51 AM);' and unfortunately, it returned '-1'. I

[PHP-DEV] Bug #13726 Updated: mktime bug

2001-10-18 Thread hholzgra
ID: 13726 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Date/time related Operating System: windows NT4.0 PHP Version: 4.0.6 New Comment: behaviour of unix timestamp functions for dates before 1.1.1970 is simply undefined and depends on the

[PHP-DEV] Bug #13727 Updated: Call to undefined function: floatval()

2001-10-18 Thread hholzgra
ID: 13727 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: *Math Functions Operating System: Windows 2000 PHP Version: 4.0.6 New Comment: floatval is a new function available in current CVS only, the old (and still available) name is doubleval() see the manual

[PHP-DEV] Bug #13731 Updated: strtotime does not see things like '7th'

2001-10-18 Thread derick
ID: 13731 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Assigned Bug Type: Feature/Change Request Operating System: linux 2.4.10 PHP Version: 4.0.5 Old Assigned To: Assigned To: derick New Comment: I'll check if this is possible. Derick Previous Comments:

[PHP-DEV] Bug #13713 Updated: Compilation as an Apache 2 module fails

2001-10-18 Thread sms
ID: 13713 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Compile Failure Operating System: linux 2.4.12 PHP Version: 4.0.6 New Comment: The latest CVS build of Apache 2 (pulled from the dev.apache.org site as file httpd-2.0_20011018041211.tar.gz) and

[PHP-DEV] Bug #12595 Updated: $argv passing

2001-10-18 Thread sorgo
ID: 12595 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Old Operating System: win2k (prob. all win's) Operating System: win2k (prob. all win\'s) PHP Version: 4.0.6 New Comment: with 'C:\php\php.exe -q %1 %2 %3 %4 %5 %6 %7 %8 %9'

Re: [PHP-DEV] Re: Bug #13616 Updated: Compiler complains about function declaration after return is called

2001-10-18 Thread teo
Hi jeroen! On Wed, 17 Oct 2001, [EMAIL PROTECTED] wrote: Brian Moon [EMAIL PROTECTED] wrote in message news:00c601c15725$d00cf0c0$[EMAIL PROTECTED]... This is a huge compatibility breaker. The sad part is that you did not properly fix the bug in 9884. The bug is that the compiler looks

[PHP-DEV] Shared extension with needed static library.

2001-10-18 Thread Emanuel Dejanu
How can I link my extension to a statical linked library? If I use this config file my extension is compiled but when run my test I get (in apache error_log): /mnt/disk1/home/edejanu/apache/aps/bin/httpd: error while loading shared libraries:

[PHP-DEV] Bug #13689 Updated: machine crushes

2001-10-18 Thread caki
ID: 13689 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: IIS related Operating System: win2k adv SP2 PHP Version: 4.0.4 New Comment: although it was running as CGI, not isapi? Previous Comments:

[PHP-DEV] Bug #13732: Session variables not Saved

2001-10-18 Thread dingke
From: [EMAIL PROTECTED] Operating system: Windows 2000 Professional PHP version: 4.0.6 PHP Bug Type: Session related Bug description: Session variables not Saved It has been reported in Bug id #12679 before. But I'm using a local network to test scripts, so I leave the

[PHP-DEV] Bug #13733: Session variables not Saved

2001-10-18 Thread dingke
From: [EMAIL PROTECTED] Operating system: Windows 2000 Professional PHP version: 4.0.6 PHP Bug Type: Session related Bug description: Session variables not Saved It has been reported in Bug id #12679 before. But I'm using a local network to test scripts, so I leave the

[PHP-DEV] Bug #13733 Updated: Session variables not Saved

2001-10-18 Thread cynic
ID: 13733 Updated by: cynic 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: submitted twice Previous Comments:

[PHP-DEV] Bug #13733 Updated: Session variables not Saved

2001-10-18 Thread derick
ID: 13733 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Duplicate Status: Bogus Bug Type: Session related Operating System: Windows 2000 Professional PHP Version: 4.0.6 New Comment: Submitted twice = bogus Previous Comments:

[PHP-DEV] Bug #13733 Updated: Session variables not Saved

2001-10-18 Thread dingke
ID: 13733 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Duplicate Bug Type: Session related Operating System: Windows 2000 Professional PHP Version: 4.0.6 Previous Comments:

[PHP-DEV] Bug #13733 Updated: Session variables not Saved

2001-10-18 Thread derick
ID: 13733 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Duplicate Status: Bogus Bug Type: Session related Operating System: Windows 2000 Professional PHP Version: 4.0.6 New Comment: Submitted twice = BOGUS Derick Previous Comments:

[PHP-DEV] Bug #13732 Updated: Session variables not Saved

2001-10-18 Thread dingke
ID: 13732 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Session related Operating System: Windows 2000 Professional PHP Version: 4.0.6 Edit this bug report at http://bugs.php.net/?id=13732edit=1 -- PHP Development Mailing List

[PHP-DEV] Bug #13734: function file() returns error

2001-10-18 Thread frey
From: [EMAIL PROTECTED] Operating system: WIndows 2000 PHP version: 4.0.6 PHP Bug Type: *Directory/Filesystem functions Bug description: function file() returns error related bug: #9567 script: --- ? $fcontents = file ('http://www.php.net'); if

Re: [PHP-DEV] 4.1.0RC1

2001-10-18 Thread Petr Cech
On Wed, Oct 17, 2001 at 05:58:45PM +0200 , Stig S. Bakken wrote: The two remaining critical bugs are not a reason to not roll 4.1.0RC1 what about setcookie(bla) returning Set-Cookie: bla= instead of Set-Cookie: bla=deleted; expires=Wed, 18-Oct-00 13:35:14 GMT

[PHP-DEV] Bug #13735: exec sybase procedure in .php but only ' 0 'returns!

2001-10-18 Thread wenk
From: [EMAIL PROTECTED] Operating system: soliars,win2000 PHP version: 4.0.4pl1 PHP Bug Type: Unknown/Other Function Bug description: exec sybase procedure in .php but only ' 0 'returns! I defined the sybase procedure as following:

[PHP-DEV] Bug #13736: exec sybase procedure in .php but only ' 0 'returns!

2001-10-18 Thread wenk
From: [EMAIL PROTECTED] Operating system: soliars,win2000 PHP version: 4.0.4pl1 PHP Bug Type: Unknown/Other Function Bug description: exec sybase procedure in .php but only ' 0 'returns! I defined the sybase procedure as following:

[PHP-DEV] Bug #13736 Updated: exec sybase procedure in .php but only ' 0 'returns!

2001-10-18 Thread derick
ID: 13736 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Unknown/Other Function Operating System: soliars,win2000 PHP Version: 4.0.4pl1 New Comment: Submitted twice, status: bogus Previous Comments:

[PHP-DEV] discussion forum using php, mysql and apache

2001-10-18 Thread Simba Pangeti
guys i want to develop or iether to put a discussion forum on my web site how best can i do this.is there some one with an alredy running module for this. Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 18 October 2001 15:55 To: [EMAIL PROTECTED]

[PHP-DEV] Bug #13718 Updated: form elements with same name problem

2001-10-18 Thread jone1941
ID: 13718 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Feature/Change Request Operating System: All PHP Version: 4.0.6 New Comment: I do understand that if you were in the middle of a php script, this would be a simple reassigning of the variable.

[PHP-DEV] Bug #13737: #!/usr/local/bin/php shell script line is shown first at the result page

2001-10-18 Thread pgalan
From: [EMAIL PROTECTED] Operating system: Solaris 2.6 PHP version: 4.0.5 PHP Bug Type: *General Issues Bug description: #!/usr/local/bin/php shell script line is shown first at the result page If I run the following example: #!/usr/local/bin/php ? print

[PHP-DEV] Bug #13718 Updated: form elements with same name problem

2001-10-18 Thread hholzgra
ID: 13718 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Feature/Change Request Operating System: All PHP Version: 4.0.6 New Comment: the simple problem with auto-generating arrays is: form fields without input do not generate output so if you have a form like

Re: [PHP-DEV] discussion forum using php, mysql and apache

2001-10-18 Thread Roman Neuhauser
From: Simba Pangeti [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue, 16 Oct 2001 16:01:24 +0200 Subject: [PHP-DEV] discussion forum using php, mysql and apache guys i want to develop or iether to put a discussion forum on my web site how best can i do this.is there some one with an

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

2001-10-18 Thread Andrei Zmievski
On Thu, 18 Oct 2001, Brian Moon wrote: Ok, I played with the code in zend_compile.c last night and came up with this solution. The attached file will only issue a NOTICE for duplicate functions from the same line and file. It will still issue an ERROR for duplicate functions of a

[PHP-DEV] Bug #13718 Updated: form elements with same name problem

2001-10-18 Thread jone1941
ID: 13718 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Feature/Change Request Operating System: All PHP Version: 4.0.6 New Comment: I do understand that if you were in the middle of a php script, this would be a simple reassigning of the variable.

[PHP-DEV] Bug #13718 Updated: form elements with same name problem

2001-10-18 Thread jone1941
ID: 13718 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Feature/Change Request Operating System: All PHP Version: 4.0.6 New Comment: sorry, I refreshed the page, and it reposted. Thank you for your help, I hope that you will consider my suggestion

[PHP-DEV] Bug #13738: cant connect to external db with dns name

2001-10-18 Thread sliljedahl
From: [EMAIL PROTECTED] Operating system: Win 2000 server PHP version: 4.0.6 PHP Bug Type: MSSQL related Bug description: cant connect to external db with dns name I am running php 4.0.6 on IIS 5 on a windows 2000 server My database runs ms sql 2000 on a windows 2000

[PHP-DEV] Bug #13718 Updated: form elements with same name problem

2001-10-18 Thread jone1941
ID: 13718 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Feature/Change Request Operating System: All PHP Version: 4.0.6 New Comment: wow, I just noticed that you are suggesting that php actually generate an array! I posted two example html files,

[PHP-DEV] Bug #13739: NS Enterprise 4.1 aborts on NSAPI module load

2001-10-18 Thread rasputin
From: [EMAIL PROTECTED] Operating system: Solaris 2.6 PHP version: 4.0.6 PHP Bug Type: iPlanet related Bug description: NS Enterprise 4.1 aborts on NSAPI module load same bug as #13042 - truss output functionally identical, gdb unavailable Compiled cleanly, kills

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

2001-10-18 Thread Stanislav Malyshev
BM I played with the code in zend_compile.c last night and came up with this BM solution. The attached file will only issue a NOTICE for duplicate BM functions from the same line and file. It will still issue an ERROR for BM duplicate functions of a different file or line number. In either

[PHP-DEV] Apache module doesn't compile on Win32 with latest CVS

2001-10-18 Thread Sander Roobol
I'm using the latest snap from snaps.php.net: 200110180600. 4.0.7RC3 compiled fine... CGI compiles fine, Apache module failes. I'm using VC6 and Apache 1.3.22. Configuration: php4apache - Win32 Release_TS Compiling... mod_php4.c

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

2001-10-18 Thread Brian Moon
See bug 13616. Brian. - Original Message - From: Stanislav Malyshev [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED] Cc: PHP Development [EMAIL PROTECTED] Sent: Thursday, October 18, 2001 10:01 AM Subject: Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function

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

2001-10-18 Thread Brian Moon
Hold off on that file. I made an error. Let me fix it. Brian. - Original Message - From: Andrei Zmievski [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, October 18, 2001 9:53 AM Subject: Re: [PHP-DEV] New zend_compile.c to

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

2001-10-18 Thread Stanislav Malyshev
BM See bug 13616. I see. I think you should really use include_once - I just do not see the reason why not to do it and why patch the code instead. Could you explain? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP

[PHP-DEV] Bug #13720 Updated: ftp_nlist and ftp_rawlist always return false

2001-10-18 Thread manu
ID: 13720 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: FTP related Operating System: Windows 2000 Advance Server PHP Version: 4.0.6 New Comment: The version in which I tested it before was PHP 4.0.5 PHP was the only changed part.

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

2001-10-18 Thread Brian Moon
include_once as i have already stated is useless inside of a function. Variables in the file are not global. And, I cannot include it again with include_once. The example I gave is not acurate to how we use it. We actually use a variable, not a define to control the inclusion of a file. The

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

2001-10-18 Thread Stanislav Malyshev
BM include_once as i have already stated is useless inside of a BM function. Variables in the file are not global. And, I cannot Why include_once inside a function is different from include inside a function? BM include it again with include_once. The example I gave is not BM acurate to how

[PHP-DEV] Bug #13718 Updated: form elements with same name problem

2001-10-18 Thread hholzgra
ID: 13718 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Feature/Change Request Operating System: All PHP Version: 4.0.6 New Comment: no, i didn't ;) i just tried to describe what would happen *if* we would follow your suggestion and that it is a not so good

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

2001-10-18 Thread Brian Moon
BM include_once as i have already stated is useless inside of a BM function. Variables in the file are not global. And, I cannot Why include_once inside a function is different from include inside a function? Because once include_once is used on a file, include_once won't include the file

[PHP-DEV] Bug #13718 Updated: form elements with same name problem

2001-10-18 Thread jone1941
ID: 13718 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Feature/Change Request Operating System: All PHP Version: 4.0.6 New Comment: Oh, I'm sorry, I missunderstood you. I understand what you are getting at, ambiguity can be a problem. I guess I'll

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

2001-10-18 Thread Brian Moon
Ok, here is the _diff_ that will do it right. Brian. - Original Message - From: Brian Moon [EMAIL PROTECTED] To: Andrei Zmievski [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, October 18, 2001 10:11 AM Subject: Re: [PHP-DEV] New zend_compile.c to solve all of

[PHP-DEV] Help - Merging Resource into a call_function array

2001-10-18 Thread Alan Knowles
Can someone help me out with this one, - I'm sure that I've not acheived what I was aiming at - adding the Resource, myresource to the array prior to calling the callback function the code below is from the url_request callback wrapper for gtkhtml - if this works - you can build a working

Re: [PHP-DEV] Help - Merging Resource into a call_function array

2001-10-18 Thread Andrei Zmievski
I don't understand the problem, can you rephrase? On Thu, 18 Oct 2001, Alan Knowles wrote: Can someone help me out with this one, - I'm sure that I've not acheived what I was aiming at - adding the Resource, myresource to the array prior to calling the callback function the code below

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

2001-10-18 Thread Stanislav Malyshev
BM It is not a matter of the functions. If everything were a function or class BM ( like Java ) this would not be an issue. But, we have variables and such BM in these files that prevent us from be able to trust include_once. Ah. Now I see what you mean. Then the solution would be or use

[PHP-DEV] Re: [PHP-GTK-DEV] Help - Merging Resource into a call_function array

2001-10-18 Thread Markus Fischer
Is gs really a newly allocated resource so you have to register it? Or is it arleady an existing one? If it does already exist (what I assume) you should fetch it from the resource lirst (quick look , could be wrong). Btw, it would help telling what exactly does not work. And, with the extra

Re: [PHP-DEV] Re: [PHP-GTK-DEV] Help - Merging Resource into a call_function array

2001-10-18 Thread Alan Knowles
Probably worth continuing on php-gtk-dev only... I was getting a bit further with MAKE_STD_ZVAL(myresource); ZVAL_RESOURCE(myresource, gs) ; /*ZEND_REGISTER_RESOURCE(myresource, gs, le_gtkhtmlstream); */ now the function does not segfault, but does not appear to pass

[PHP-DEV] Re: [PHP-GTK-DEV] Re: [PHP-DEV] Re: [PHP-GTK-DEV] Help - Merging Resource into a call_function array

2001-10-18 Thread Andrei Zmievski
On Thu, 18 Oct 2001, Alan Knowles wrote: Probably worth continuing on php-gtk-dev only... I was getting a bit further with MAKE_STD_ZVAL(myresource); ZVAL_RESOURCE(myresource, gs) ; /*ZEND_REGISTER_RESOURCE(myresource, gs, le_gtkhtmlstream); */ now the function

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

2001-10-18 Thread Daniel Beckham
An earlier thread with the following subject makes some of our points: [PHP-DEV] Bug #13616 Updated: Compiler complains about function declaration after return is calle Essentially, to answer your question. include_once() is a very poor way to write modular code that will be used across

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

2001-10-18 Thread Daniel Beckham
- Original Message - From: Stanislav Malyshev [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED] Cc: PHP Development [EMAIL PROTECTED] Sent: Thursday, October 18, 2001 10:53 AM Subject: Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate function problems BM And my fix will

[PHP-DEV] making mail() funtion work without sendmail on UNIX systems

2001-10-18 Thread Stig Venaas
Hi I have a patch ready for this. I, and also some others I know, would like to send mail from PHP without help of sendmail or other external programs on UNIX, similar to what is done on windows. I have made a patch that makes the sendmail.c for windows, also work with unix, with relatively

Re: [PHP-DEV] Re: Bug #13700: Database Abstraction API

2001-10-18 Thread lo-tek
Thies how is that going to be different from PEARs or the dbx one? i was actually inspired in part by PEAR, so ALISON (Abstraction Layer In Search Of a Name) is a superset of PEAR functionality. in addition to current PEAR functionality i've added the following (not exhaustive, and in no

[PHP-DEV] Bug #11043 Updated: apache2 build fails: undefined symbol: tsrm_error

2001-10-18 Thread sander
ID: 11043 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Suspended Status: Feedback Bug Type: Compile Failure Operating System: Linux (severely modified Redhat PHP Version: 4.0 Latest CVS (2001-05-23) New Comment: Any news on this yet? Previous Comments:

[PHP-DEV] Bug #8440 Updated: fopen on a url returns success as an error

2001-10-18 Thread sander
ID: 8440 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Suspended Status: Feedback Bug Type: HTTP related Operating System: Debian Linux 2.2.14 PHP Version: 4.0.4pl1 New Comment: Any news on this yet? Previous Comments:

[PHP-DEV] Bug #12046 Updated: Strange handling of negative hexadecimal numbers

2001-10-18 Thread sander
ID: 12046 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Scripting Engine problem Operating System: Linux 2.4 PHP Version: 4.0.6 New Comment: Works fine for me... unable to reproduce... Previous Comments:

[PHP-DEV] Bug #12452 Updated: Parsing error in eval function

2001-10-18 Thread sander
ID: 12452 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Scripting Engine problem Operating System: Linux 2.4.3 (Mandrake) PHP Version: 4.0.6 New Comment: Not a bug in PHP. Short tags (?) are known to cause problems with XML. You should disable them.

[PHP-DEV] Bug #12590 Updated: hex const (0xABCDEF01) parsing error

2001-10-18 Thread sander
ID: 12590 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 4.0.5 New Comment: What would you expect to get? On my machine, it prints out 255 twice. Previous Comments:

[PHP-DEV] Bug #12590 Updated: hex const (0xABCDEF01) parsing error

2001-10-18 Thread jeroen
ID: 12590 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Bogus Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 4.0.5 New Comment: On most platforms (including i386), PHP does not support integers of 2**31 (0x80 00 00 00) and higher. See

[PHP-DEV] Fw: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c

2001-10-18 Thread Jeroen van Wolffelaar
Resent. The discussion isn't closed yet, and this is important, since it will be already in 4.1.0 --Jeroen - Original Message - From: Jeroen van Wolffelaar [EMAIL PROTECTED] To: Andi Gutmans [EMAIL PROTECTED] Cc: PHP cvs [EMAIL PROTECTED] Sent: Wednesday, October 10, 2001 8:46 PM

[PHP-DEV] Fw: heredoc: change of behavoiur?

2001-10-18 Thread Jeroen van Wolffelaar
Resent due to lack of feedback. - Original Message - From: [EMAIL PROTECTED] Newsgroups: php.dev Sent: Wednesday, October 10, 2001 5:28 PM Subject: heredoc: change of behavoiur? Currently, heredoc as a bit of strange behaviour in syntax of terminating it. I think it's a good idea to

[PHP-DEV] Shuffle() - change of algorithm needed (also relevant for array_rand())

2001-10-18 Thread Jeroen van Wolffelaar
Resent due to lack of feedback. Objections against me changing it to the behaviour I described below? --Jeroen - Original Message - From: Jeroen van Wolffelaar [EMAIL PROTECTED] To: PHP Developers Mailing List [EMAIL PROTECTED] Sent: Monday, October 15, 2001 9:45 PM Subject: Re: Bug

[PHP-DEV] Fw: [PATCH] Fix for inconsistent float-int converting

2001-10-18 Thread Jeroen van Wolffelaar
Resent, due to lack of feedback from my side ;) Andi replied: Why is it more correct to convert it to min/max values? I can't think of a case where this would make more sense to the developer. Also, there is a reason for the cast to unsigned int if the value is bigger that LONG_MAX. I think

[PHP-DEV] Random

2001-10-18 Thread Jeroen van Wolffelaar
(you'd already have expected this, i guess...) I still have hardly no feedback on proposal 3b of random change: http://www.a-eskwadraat.nl/~jeroen/rand/ The main issue - inconsistent and duplicate functions for random, no way to explicitly and portably get reproducable results - isn't solved by

[PHP-DEV] Bug #13740: Call to undefined function: dbmopen()

2001-10-18 Thread colep
From: [EMAIL PROTECTED], Operating system: Free BSD PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: Call to undefined function: dbmopen() I'm new to php. Got the following error when trying to open a DBM: Installation of PHP was with the defaults,

[PHP-DEV] Bug #13740 Updated: Call to undefined function: dbmopen()

2001-10-18 Thread jeroen
ID: 13740 Updated by: jeroen Reported By: [EMAIL PROTECTED], Old Status: Open Status: Bogus Bug Type: Unknown/Other Function Operating System: Free BSD PHP Version: 4.0.6 New Comment: You probably didn't compile with dbm support. Ask support questions on www.php.net/support.php (php-install

Fw: [PHP-DEV] Bug #13740 Updated: Call to undefined function: dbmopen()

2001-10-18 Thread Jeroen van Wolffelaar
I really don't know, forwarding to php-dev... That bug hasn't yet been looked after, it contains a reproducing script (dba-related). --Jeroen - Original Message - From: Pierre-Alain Joye [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 19, 2001 12:40 AM Subject: Re:

Re: [PHP-DEV] always building executable

2001-10-18 Thread Jason Greene
I apologize for the late reply, my time for the last month has been consumed by employer issues. Things should be getting back to normal again soon. I am a major +1 on the cli, though I have some concerns about pcntl being enabled by default. Currently, my signal trapping method uses a handler

Re: [PHP-DEV] Fw: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c

2001-10-18 Thread Stig S. Bakken
version_compare() with two args returns -1 / 0 / 1 today, if you want to use it that way please do. I think the third arg is useful, and it's not exactly bothering people who don't need it. I consider this discussion as closed. (Just for the record: version_compare is the only function now,

Re: [PHP-DEV] Fw: [PATCH] Fix for inconsistent float-int converting

2001-10-18 Thread Stig S. Bakken
In cases like these I think PHP should do whatever C does. There's no point in trying to be clever when casts overflow. - Stig Jeroen van Wolffelaar wrote: Resent, due to lack of feedback from my side ;) Andi replied: Why is it more correct to convert it to min/max values? I can't

Re: [PHP-DEV] Fw: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c

2001-10-18 Thread Jeroen van Wolffelaar
version_compare() with two args returns -1 / 0 / 1 today, if you want to use it that way please do. I think the third arg is useful, and it's not exactly bothering people who don't need it. I consider this discussion as closed. Hm, I did miss something :(. I consider the discussion closed

Re: [PHP-DEV] Fw: [PATCH] Fix for inconsistent float-int converting

2001-10-18 Thread Jeroen van Wolffelaar
On Fri, 19 Oct 2001, Stig S. Bakken wrote: In cases like these I think PHP should do whatever C does. There's no point in trying to be clever when casts overflow. In C, when you doe int i;, i will contain random data. In PHP, a variable will always be cleared (to null). In C, when you cast

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

2001-10-18 Thread sniper
ID: 13728 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Old Bug Type: *Compile Issues Bug Type: Compile Failure Operating System: slackware 7.0 PHP Version: 4.0.6 New Comment: Please ask support questions on the mailing lists: http://www.php.net/support.php

[PHP-DEV] Bug #13729 Updated: PHP Outputs #! line

2001-10-18 Thread sniper
ID: 13729 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Duplicate Old Bug Type: *Web Server problem Bug Type: *General Issues Operating System: Any PHP Version: 4.0.6 New Comment: Duplicate of #9041 Previous Comments:

[PHP-DEV] Don't Miss Out!!

2001-10-18 Thread
Below is the result of your feedback form. It was submitted by ([EMAIL PROTECTED]) on Thursday, October 18, 2001 at 21:11:36 --- message: In addition to the information you selected, we thought you might be Interested in

Re: [PHP-DEV] Forcing trans_sid on?

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

[PHP-DEV] Bug #13737 Updated: #!/usr/local/bin/php shell script line is shown first at the result page

2001-10-18 Thread sniper
ID: 13737 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Duplicate Bug Type: *General Issues Operating System: Solaris 2.6 PHP Version: 4.0.5 New Comment: Duplicate of #9041 Previous Comments:

[PHP-DEV] Bug #13465 Updated: imap_fetchstructure problem

2001-10-18 Thread seung_hwan
ID: 13465 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IMAP related Operating System: Red Hat 7.1 (Seawolf) PHP Version: 4.0.6 New Comment: Nobody knows how to solve this problem??? Previous Comments:

Re: [PHP-DEV] always building executable

2001-10-18 Thread Stig S. Bakken
Have you measured the performance impact? This should be a solvable problem, and if it takes a while to find a nice solution, we could just disable signal handling by default but leave the rest of pcntl enabled by default? IMHO using ticks isn't a very good solution (it's basically another hack

[PHP-DEV] Bug #13737 Updated: #!/usr/local/bin/php shell script line is shown first at the result page

2001-10-18 Thread pgalan
ID: 13737 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Duplicate Bug Type: *General Issues Operating System: Solaris 2.6 PHP Version: 4.0.5 New Comment: I have solved it by making the changes recomended in bug id 9040. Locate the

Re: [PHP-DEV] Fw: [PATCH] Fix for inconsistent float-int converting

2001-10-18 Thread Stig S. Bakken
I just did some checking, this behaviour is not defined in C, and even in C99 it's in the twilight zone if you can define this at all. The common thing seems to be throwing an exception if an overflow occurs. Since PHP doesn't have exceptions yet that's a notice or maybe even warning for us

Re: [PHP-DEV] Fw: [PATCH] Fix for inconsistent float-int converting

2001-10-18 Thread Stig S. Bakken
Hm, another way to deal with overflows could be returning null, if it's acceptable to return a different type than expected at least. With 0 or max/min, it won't be possible for a program to detect overflows. With null it would be. - Stig Jeroen van Wolffelaar wrote: On Fri, 19 Oct 2001,

[PHP-DEV] Bug #9938 Updated: Incorrect documentation in Spanish Session handler fuctions

2001-10-18 Thread sander
ID: 9938 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Suspended Status: Closed Bug Type: Documentation problem Operating System: LINUX PHP Version: 4.0.4pl1 New Comment: Should we just close this bug... it is reverted now. There are still lot's of pages that should be

[PHP-DEV] erratic escaping backslashes in all PHP output on the whole system

2001-10-18 Thread Joerg Dechert
Help! Erratic Behaviour with PHP 4.06 on Apache 1.3.20: in unreproduceable intervals (1 out of 10 page requests), all PHP output will have single and double quotes escaped by backslashes - no matter if the output is produced by echo, readfile, include, or any other PHP command. No special

  1   2   >