[PHP-DEV] Bug #12264 Updated: PATH_INFO and PATH_TRANSLATED not being correctly set

2001-07-19 Thread jah
ID: 12264 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IIS related Operating System: Win2K Server PHP Version: 4.0.6 New Comment: Hmm, looks like my patch thing didn't quite work [for one, PATH_INFO isn't being set right, then I think there are also so

[PHP-DEV] Bug #12270: php4ts.dll crashes due to null-pointer assignment on shutdown

2001-07-19 Thread zimpel
From: [EMAIL PROTECTED] Operating system: Win32 PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: php4ts.dll crashes due to null-pointer assignment on shutdown The crash may be only reproducible in release builds with activated bcmath. (In debug builds th

[PHP-DEV] Sorry

2001-07-19 Thread Er Galvão Abbott
On Fri, 20 Jul 2001 14:02:25 +1000 (EST), [EMAIL PROTECTED] (Gavin Sherry) wrote: >Er Galv=E3o Abbott, > >Please direct this to the correct list - PHP General Users List. The >developer's list is for people interested in/working on the PHP hypertext >processor itself. > >Gavin > I'm very sorry.

[PHP-DEV] Bug #12269: session/oracle

2001-07-19 Thread hjhuangjun
From: [EMAIL PROTECTED] Operating system: win2000 PHP version: 4.0.6 PHP Bug Type: OCI8 related Bug description: session/oracle win2000+php4.06+apache1.3.20 1,"c:\php\php_oci8.dll" file Exists but systemp report cannot load c:\php\php_oci8.dll module. 2,session cannot pas

Re: [PHP-DEV] Simple (I hope) updating contents question

2001-07-19 Thread Gavin Sherry
Er Galvão Abbott, Please direct this to the correct list - PHP General Users List. The developer's list is for people interested in/working on the PHP hypertext processor itself. Gavin -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

[PHP-DEV] Simple (I hope) updating contents question

2001-07-19 Thread Er Galvão Abbott
Greetings. First of all I'm a PHP bginner so take it easy on me :) I'm trying to make a script that does the following: * open a text file * read its contents * For each line on the file make a input tag with its contents, like * Take the modified contents - modifyied in the input fields - and

Re: [PHP-DEV] Application Function

2001-07-19 Thread Hartmut Holzgraefe
Patrick Pease wrote: > Could you guys implement a function from asp? > > the Application() function (i dont realy know what it > does) but i need it for a chat app. sounds like a task for ext/cristalball to me ;) -- Hartmut Holzgraefe [EMAIL PROTECTED] http://www.six.de +49-711-99091-77 --

[PHP-DEV] Application Function

2001-07-19 Thread Patrick Pease
Could you guys implement a function from asp? the Application() function (i dont realy know what it does) but i need it for a chat app. thanks Patrick -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

[PHP-DEV] Bug #12268 Updated: Security bug in php 4.0.5+

2001-07-19 Thread rasmus
ID: 12268 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: *Mail Related Operating System: Any PHP Version: 4.0.5 New Comment: Fixed a while ago in CVS Previous Comments: [2001-07

Re: [PHP-DEV] === Question

2001-07-19 Thread John Donagher
Check out: http://www.php.net/manual/en/language.operators.comparison.php Also, this list is for the development of the language, not development with the language. You probably want to be at php-general. John On Thu, 19 Jul 2001, Patrick Pease wrote: > What does the === operator do > > and

[PHP-DEV] === Question

2001-07-19 Thread Patrick Pease
What does the === operator do and whats the difference between == and ===? any help? Thanks Patrick PEase -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-m

Re: [PHP-DEV] ext_skel and php_.c vs. .c

2001-07-19 Thread Jon Parise
On Thu, Jul 19, 2001 at 05:50:42PM -0600, Joey Smith wrote: > I had thought the decision was that php_.c was the correct way > to name the .c file for an extension, so that we are less likely to > conflict with any files from the package itself? > > ext_skel creates a .c file using the bare extn

[PHP-DEV] ext_skel and php_.c vs. .c

2001-07-19 Thread Joey Smith
I had thought the decision was that php_.c was the correct way to name the .c file for an extension, so that we are less likely to conflict with any files from the package itself? ext_skel creates a .c file using the bare extname. -- PHP Development Mailing List To unsubs

Re: [PHP-DEV] namespace/package feature in PHP 5?

2001-07-19 Thread Zeev Suraski
Sure, [EMAIL PROTECTED] At 23:39 19/07/2001, James E. Flemer wrote: >Are (any of) the Zend lists public? (either to browse or >submit.) > >-James > >On Thu, 19 Jul 2001, Zeev Suraski wrote: > > > Language-level things like this one are being discussed at > > [EMAIL PROTECTED] This feature was ac

[PHP-DEV] Bug #12268: Security bug in php 4.0.5+

2001-07-19 Thread hard . disk
From: [EMAIL PROTECTED] Operating system: Any PHP version: 4.0.5 PHP Bug Type: *Mail Related Bug description: Security bug in php 4.0.5+ http://www.net-security.org/text/bugs/995534103,28541,.shtml: PHP Mail Function Vulnerability Posted on 19.7.2001 php mail() functi

Re: [PHP-DEV] Bug #12267 Updated: Session (concurrency ?) problem

2001-07-19 Thread Sascha Schumann
> The fact is a similar problem is happening with the mm module, > but here I can't insert error_log to be sure... is this session > handler "race safe" ? Nope. > And I'm surprised that this concurrency issue has to be solved > on a per handler basis : isn't it functionnality duplication ? >

[PHP-DEV] Bug #12267 Updated: Session (concurrency ?) problem

2001-07-19 Thread thomas . morin
ID: 12267 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: Linux PHP Version: 4.0.6 New Comment: The fact is a similar problem is happening with the mm module, but here I can't insert error_log to be sure... is this sessio

Re: [PHP-DEV] namespace/package feature in PHP 5?

2001-07-19 Thread James E. Flemer
Are (any of) the Zend lists public? (either to browse or submit.) -James On Thu, 19 Jul 2001, Zeev Suraski wrote: > Language-level things like this one are being discussed at > [EMAIL PROTECTED] This feature was actually discussed quite a lot in > > Zeev -- PHP Development Mailing List

Re: [PHP-DEV] persistent mysql connection on a LAMP-System

2001-07-19 Thread Zeev Suraski
At 23:18 19/07/2001, Rasmus Lerdorf wrote: > > "A pconnect has a running time of 8 hours. > >There is no such time limit. There is, actually (MySQL imposes it, it can be configured). > > Apache has a threading concept, which doesn't cancel the thread. You can > > configure it but the thread will

[PHP-DEV] Bug #12255 Updated: (In safe mode) The UID check in chdir don't test the good directory

2001-07-19 Thread jflemer
ID: 12255 Updated by: jflemer Reported By: [EMAIL PROTECTED] Old Status: Open Status: Duplicate Bug Type: Directory function related Operating System: Debian GNU/Linux sid PHP Version: 4.0.6 New Comment: I fixed this in CVS. This is a duplicate bug report. Previous Comments:

Re: [PHP-DEV] persistent mysql connection on a LAMP-System

2001-07-19 Thread Rasmus Lerdorf
> "A pconnect has a running time of 8 hours. There is no such time limit. > A close function will be ignored. True > Apache has a threading concept, which doesn't cancel the thread. You can > configure it but the thread will live till the last connection is closed. > ( 8 hours after a pconnect

[PHP-DEV] Bug #12168 Updated: mysql_select_db() won't work

2001-07-19 Thread DeadEye5000
ID: 12168 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: MySQL related Operating System: Windows 2000 PHP Version: 4.0.6 Previous Comments: [2001-07-14 12:24:43]

[PHP-DEV] Re: URL rewriter outputs a spurious " /"

2001-07-19 Thread colin mcdonald
I'm not sure what the url rewriter does, but I know XHTML and XML requires a trailing slash in tag that have no end tags (like img, input, etc) something like this is valid: maybe that is what this code is writing? my 2c, colin [EMAIL PROTECTED] wrote: > From: [EMAIL PROTECTE

[PHP-DEV] Bug #12168 Updated: mysql_select_db() won't work

2001-07-19 Thread DeadEye5000
ID: 12168 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Operating System: Windows 2000 PHP Version: 4.0.6 New Comment: i actually fixed the problem...i dunno if this is why it wasn't working, but all i did was delete the mysql_connect() th

[PHP-DEV] Re: Bug #12264: PATH_INFO and PATH_TRANSLATED not being correctly set

2001-07-19 Thread colin mcdonald
just to confirm, I'm using php 4.0.6 with IIS as an ISAPI module and I get this error when using this url: url: ev.php/hello/world Warning: Failed opening 'c:\inetpub\wwwroot\EV30\ev.php\hello\world' for inclusion (include_path='.') in Unknown on line 0 [EMAIL PROTECTED] wrote: > From:

Re: [PHP-DEV] Bug #12267: Session (concurrency ?) problem

2001-07-19 Thread Sascha Schumann
> This "solved" the problem and I concluded the bug was only due to my fault > : I should have locked my session table (or row...) to avoid race > conditions and concurrency problems. That is right. The session storage handlers have to perform locking themselves, if they are supposed to

[PHP-DEV] Bug #12267 Updated: Session (concurrency ?) problem

2001-07-19 Thread thomas . morin
ID: 12267 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Old Bug Type: Unknown/Other Function Bug Type: Session related Operating System: Linux PHP Version: 4.0.6 New Comment: Sorry for the layout, my 2 columns are broken. I also changed the 'Type' of the bug to '

[PHP-DEV] Bug #12267: Session (concurrency ?) problem

2001-07-19 Thread thomas . morin
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: Session (concurrency ?) problem While testing a php apllication, I found that I had some trouble with session variables (php4 native sessions, not phplib'

[PHP-DEV] Header with target

2001-07-19 Thread Cleberson
Hello: How I send a header with location and target ? -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] persistent mysql connection on a LAMP-System

2001-07-19 Thread Mark Walter
I was informed from a local provider about the following issue concerning pconnects with php: "A pconnect has a running time of 8 hours. A close function will be ignored. Apache has a threading concept, which doesn't cancel the thread. You can configure it but the thread will live till the last

[PHP-DEV] Bug #12266 Updated: max execution time reached during session_start with mm session handler

2001-07-19 Thread sas
ID: 12266 Updated by: sas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Session related Operating System: Linux PHP Version: 4.0.6 New Comment: Can you give today's snapshot a try? The mm storage module has been improved considerably and should not produce such errors

[PHP-DEV] Bug #12266: max execution time reached during session_start with mm session handler

2001-07-19 Thread thomas . morin
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: Session related Bug description: max execution time reached during session_start with mm session handler In have a bunch of those errors in my logs : PHP Fatal error: Maximum execution ti

Re: [PHP-DEV] Reworking DOMXML

2001-07-19 Thread Joey Smith
OK, for those who actually commented, there seems to be a consensus. Glad I asked. :) On Thu, 19 Jul 2001, Colin Viebrock wrote the following to Paul Marquis,...: > > I prefer style #1 as well -- it preserves backward compatability and > > is consistent with the libxml2 docs. > > Plus, it is th

[PHP-DEV] Bug #12265: ImageTTFText says can't open/find font with GD 2.0

2001-07-19 Thread JamesHeinrich
From: [EMAIL PROTECTED] Operating system: Windows NT 4.0 Workstation (PWS) PHP version: 4.0.6 PHP Bug Type: GD related Bug description: ImageTTFText says can't open/find font with GD 2.0 Using the precompiled php_gd.dll that comes with PHP 4.0.6 (GD v2.0) ImageTTFText() repo

[PHP-DEV] Bug #11970 Updated: SEPARATE_ZVAL_TO_MAKE_IS_REF doesn't like 0x0

2001-07-19 Thread zeev
ID: 11970 Updated by: zeev Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Open Bug Type: Scripting Engine problem Operating System: SuSE7.0 PHP Version: 4.0.6 New Comment: The fixes so far were bad; They were reverted, and this bug is no reopened. Previous Comments: -

[PHP-DEV] Bug #12264: PATH_INFO and PATH_TRANSLATED not being correctly set

2001-07-19 Thread jah
From: [EMAIL PROTECTED] Operating system: Win2K Server PHP version: 4.0.6 PHP Bug Type: IIS related Bug description: PATH_INFO and PATH_TRANSLATED not being correctly set Hello, The scripts that we are running use PATH_INFO to determine where a user is trying to access, a

[PHP-DEV] Bug #12263: odbc_tables(), odbc_results()

2001-07-19 Thread mklangem
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.6 PHP Bug Type: ODBC related Bug description: odbc_tables(), odbc_results() I am trying to get the table names from an Access database using odbc_tables() and then using odbc_fetch_row() and odbc_result(

[PHP-DEV] Bug #12262: php.exe - Entry Point Not Found

2001-07-19 Thread mclerc
From: [EMAIL PROTECTED] Operating system: Windows 2000 Server, IIS5.0 PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: php.exe - Entry Point Not Found After installing PHP4.0.6 over the old PHP 4.0.4, I was getting CGI Incorrect Header errors from my php

[PHP-DEV] Bug #12261: xml_parser_get_option doesn't get all option that xml_parser_set_option can set

2001-07-19 Thread francisf
From: [EMAIL PROTECTED] Operating system: linux rh 6.2 2.2.19 PHP version: 4.0.6 PHP Bug Type: *XML functions Bug description: xml_parser_get_option doesn't get all option that xml_parser_set_option can set You can do xml_parser_set_option($parser,XML_OPTION_SKIP_WHITE,0);

Re: [PHP-DEV] Reworking DOMXML

2001-07-19 Thread Colin Viebrock
> I prefer style #1 as well -- it preserves backward compatability and > is consistent with the libxml2 docs. Plus, it is then similar to other PHP functions that use an "object" or "handle" as the first argument (e.g. mysql_, fopen, fwrite, curl, etc.). - Colin -- PHP Development Mailing Lis

[PHP-DEV] Bug #12260: Compile failure --with-oci8 and Oracle 8.0.4

2001-07-19 Thread michael
From: [EMAIL PROTECTED] Operating system: Solaris 7 and 8 PHP version: 4.0.6 PHP Bug Type: OCI8 related Bug description: Compile failure --with-oci8 and Oracle 8.0.4 Compilation failes --with-oci8 and ORACLE_HOME pointing to oracle 8.0.4 installation. A typedef and define fo

[PHP-DEV] Bug #12259: segmentation fault apache - pgsql

2001-07-19 Thread r . bhatia
From: [EMAIL PROTECTED] Operating system: SuSE 7.2 PHP version: 4.0.5 PHP Bug Type: Apache related Bug description: segmentation fault apache - pgsql php compiled with --with-pgsql=/usr (apache version pgsql (v7.1.1) compiled with ./configure --enable-locale --with-perl

[PHP-DEV] Bug #11970 Updated: SEPARATE_ZVAL_TO_MAKE_IS_REF doesn't like 0x0

2001-07-19 Thread zeev
ID: 11970 Updated by: zeev Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Scripting Engine problem Operating System: SuSE7.0 PHP Version: 4.0.6 New Comment: My initial fix was bogus, as I misdiagnosed what was going on. The current fix is to allow returning of plain variables only (i.e

[PHP-DEV] XML and PHP-4.0.6

2001-07-19 Thread sensei
Hello, I don't know if I'm in the right place to say what I have to say... I use php 4.0.6 on a FreeBSD 4.3 system... I asked the FreeBSD to configure php to compile with xml... the phpinfo() screen tells '--with-xml=/usr/local', so it seems to be ok... But in fact, the compiler doesn't go int

[PHP-DEV] Bug #12258: ns-http won't start: Dies in thread-init code

2001-07-19 Thread sybalsky
From: [EMAIL PROTECTED] Operating system: Solaris 7 PHP version: 4.0.6 PHP Bug Type: iPlanet related Bug description: ns-http won't start: Dies in thread-init code Compiled PHP with ./configure --with-nsapi=/opt/netscape --without-mysql --enable-libgcc --with-tsrm-pth

[PHP-DEV] Bug #12257: list() construct doesn't work as expected.

2001-07-19 Thread daniel_sevcik
From: [EMAIL PROTECTED] Operating system: W2000, Debian PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: list() construct doesn't work as expected. 1, "test"=>2); list($xx,$yy)=$tmp; echo("$xx, $yy"); ?> ---Output:start--- 1,

[PHP-DEV] Bug #12256: Error tracking:pass the line number of the function call instead of fun.defin

2001-07-19 Thread sivasubraj
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: Error tracking:pass the line number of the function call instead of fun.defin divide_by(4,2) . "\n"; // ok print $n->divide_by(4,0) . "\n"; // Here's the err

[PHP-DEV] Bug #12255: (In safe mode) The UID check in chdir don't test the good directory

2001-07-19 Thread benoit
From: [EMAIL PROTECTED] Operating system: Debian GNU/Linux sid PHP version: 4.0.6 PHP Bug Type: Directory function related Bug description: (In safe mode) The UID check in chdir don't test the good directory In safe mode, when you chdir a specific directory, it does not test

[PHP-DEV] Bug #12254: PHP/gd compilation problems - gd.c:95: conflicting types for `gdIOCtx'

2001-07-19 Thread alex
From: [EMAIL PROTECTED] Operating system: Linux 2.2.19 PHP version: 4.0.6 PHP Bug Type: *Compile Issues Bug description: PHP/gd compilation problems - gd.c:95: conflicting types for `gdIOCtx' Using gd 1.8.4 , php 4.0.6 ./configure --with-mysql --with-fastcgi --with-gd=/u

[PHP-DEV] Bug #12252 Updated: URL rewriter outputs a spurious " /"

2001-07-19 Thread swm
ID: 12252 Updated by: swm Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Session related Operating System: linux suse 6.4 PHP Version: 4.0.6 New Comment: Now closed. Previous Comments: [2001-07-19

[PHP-DEV] Bug #12252 Updated: URL rewriter outputs a spurious " /"

2001-07-19 Thread swm
ID: 12252 Updated by: swm Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: linux suse 6.4 PHP Version: 4.0.6 New Comment: I don't think it is. Here is the code: static inline void handle_form(STD_PARA) { if (ctx->tag.len == 4 && strncasecmp(ctx->tag

[PHP-DEV] Bug #12252 Updated: URL rewriter outputs a spurious " /"

2001-07-19 Thread cynic
ID: 12252 Updated by: cynic Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Open Bug Type: Session related Operating System: linux suse 6.4 PHP Version: 4.0.6 New Comment: actually that _is_ a bug. form is _not_ an empty element. Previous Comments: -

[PHP-DEV] function similar to get_html_translation_table

2001-07-19 Thread Jack Dempsey
Hi there, I've recently had a need for a function that can translate html code such as  and œ, etc...I've found the trick of flipping the resulting array from get_html_translation_table and using strtr to translate characters, but I've found nothing to deal with these other html quantities. I kn

Re: [PHP-DEV] Question regarding zend's _efree implementation

2001-07-19 Thread Holger Zimmermann
Hi Zeev, > > Release build assumes no bugs, and thus doesn't try to help you to solve > bugs, and favours performance. In release builds, we don't perform slow > checking of every memory block. If an invalid block was passed - it'd > cause a crash (most probably). In debug builds, which can b

[PHP-DEV] Bug #12252 Updated: URL rewriter outputs a spurious " /"

2001-07-19 Thread swm
ID: 12252 Updated by: swm Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Session related Operating System: linux suse 6.4 PHP Version: 4.0.6 New Comment: This is not a spurious slash. This slash is present to make PHP XHTML 1.0 compliant. See more at: http://www.w3.org/

[PHP-DEV] URL rewriter outputs a spurious " /"

2001-07-19 Thread dans
From: [EMAIL PROTECTED] Operating system: linux suse 6.4 PHP version: 4.0.6 PHP Bug Type: Session related Bug description: URL rewriter outputs a spurious " /" the rewriter adds a " /" befor the closing bracket in the rewriting. following a diff to patch it. sincerely Danie

Re: [PHP-DEV] namespace/package feature in PHP 5?

2001-07-19 Thread Zeev Suraski
At 16:28 19/07/2001, Dean Hall wrote: >Greetings. > >First of all, if anyone can direct me to a centralized place that will tell >me what features the developers are considering for PHP 5, I'd appreciate >it. Language-level things like this one are being discussed at [EMAIL PROTECTED] This feat

Re: [PHP-DEV] Reworking DOMXML

2001-07-19 Thread Paul Marquis
I prefer style #1 as well -- it preserves backward compatability and is consistent with the libxml2 docs. On Thursday 19 July 2001 07:44, Gavin Sherry wrote: > Hi Joey, > > Good to see some work going on with DOMXML =). > > On Wed, 18 Jul 2001, Joey Smith wrote: > > I think it is a good idea to

[PHP-DEV] namespace/package feature in PHP 5?

2001-07-19 Thread Dean Hall
Greetings. First of all, if anyone can direct me to a centralized place that will tell me what features the developers are considering for PHP 5, I'd appreciate it. Secondly, I'd like to make a request for real namespace support (a la Perl or even Java) in PHP 5. I think this is one of the most

[PHP-DEV] Bug #8784 Updated: using Informix with PHP CGI

2001-07-19 Thread verrue . jean-pierre
ID: 8784 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Informix related Operating System: AIX 4.3.2 PHP Version: 4.0.4 New Comment: the 'diff -u' output is : --- --- if

Re: [PHP-DEV] Question regarding zend's _efree implementation

2001-07-19 Thread Zeev Suraski
At 16:22 19/07/2001, Holger Zimmermann wrote: >Hi, > >I don't understand the purpose of the following code in zend_alloc.c: > >8< snip > >ZEND_API void _efree(void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) >{ > zend_mem_header *p = (zend_mem_header *) ((char *)ptr - > sizeof(zend_mem

[PHP-DEV] Question regarding zend's _efree implementation

2001-07-19 Thread Holger Zimmermann
Hi, I don't understand the purpose of the following code in zend_alloc.c: 8< snip ZEND_API void _efree(void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) { zend_mem_header *p = (zend_mem_header *) ((char *)ptr - sizeof(zend_mem_header) - PLATFORM_PADDING); DECLARE_CACHE_VARS

Re: [PHP-DEV] Bug #12251: Error with zend_hash.c after writing a file

2001-07-19 Thread Thies C. Arntzen
On Thu, Jul 19, 2001 at 12:46:40PM -, [EMAIL PROTECTED] wrote: > From: [EMAIL PROTECTED] > Operating system: > PHP version: 4.0CVS-2001-07-19 > PHP Bug Type: Scripting Engine problem > Bug description: Error with zend_hash.c after writing a file > > Fatal error: ht=0012

RE: [PHP-DEV] Zend engine: unresolved external _zend_assign_to_va riable_reference?

2001-07-19 Thread Marc Boeren
> If you want the values to be connected to each other > (changing one will change the other), you need to set > is_ref to 1. Otherwise, you don't. In > any case, you must update the refcount. OK, thanks. I'll update it now, and once I have my machine back in order again I'll commit it, so

[PHP-DEV] Bug #12251: Error with zend_hash.c after writing a file

2001-07-19 Thread bjorn . dunk
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0CVS-2001-07-19 PHP Bug Type: Scripting Engine problem Bug description: Error with zend_hash.c after writing a file Fatal error: ht=001262d4 is already destroyed in zend_hash.c:852 in Unknown on line 0 Fatal error:

RE: [PHP-DEV] Zend engine: unresolved external _zend_assign_to_va riable_reference?

2001-07-19 Thread Zeev Suraski
At 15:36 19/07/2001, Marc Boeren wrote: > > >(*actual_ptr)->refcount++; > > >(*actual_ptr)->is_ref =1; > > > (a) You only have to set is_ref once. > >I only set it once... or is increasing the refcount enough? No, if you just increase refcount and is_ref is not set, the values will not be refer

RE: [PHP-DEV] Zend engine: unresolved external _zend_assign_to_va riable_reference?

2001-07-19 Thread Marc Boeren
> >(*actual_ptr)->refcount++; > >(*actual_ptr)->is_ref =1; > (a) You only have to set is_ref once. I only set it once... or is increasing the refcount enough? > (b) If you don't increase the refcount, the behavior is > undefined, and is likely to end up crashing PHP. > Not increasing refcou

RE: [PHP-DEV] Zend engine: unresolved external _zend_assign_to_va riable_referen ce?

2001-07-19 Thread Zeev Suraski
At 14:36 19/07/2001, Marc Boeren wrote: > > When you build the result hash, use the same zval * in both > > places (don't forget the right refcount), it should work. > > >Yes, just use the same zval *, increase refcount accordingly, and set the > > is_ref bit. It'd be much faster (and also more

[PHP-DEV] Bug #12250: Segfault when using FreeTDS connect

2001-07-19 Thread dmit
From: [EMAIL PROTECTED] Operating system: Linux 2.4.5 Slackware 8.0 PHP version: 4.0.6 PHP Bug Type: Any Bug description: Segfault when using FreeTDS connect Linux 2.4.5 Slackware 8.0 FreeTDS 0.52: ./configure --with-tdsver=4.2 --enable-msdblib --enable-dbmfix --with-gnu

[PHP-DEV] Bug #12249: Error compiling Apache 1.3.19

2001-07-19 Thread din
From: [EMAIL PROTECTED] Operating system: AIX 4.3 PHP version: 4.0.4pl1 PHP Bug Type: Apache related Bug description: Error compiling Apache 1.3.19 Hi, I got a error (bottom) when make "make" after "configure" in Apache 1.3.19. My system was OK, then I needed install mod_

Re: [PHP-DEV] Reworking DOMXML

2001-07-19 Thread Gavin Sherry
Hi Joey, Good to see some work going on with DOMXML =). On Wed, 18 Jul 2001, Joey Smith wrote: > I think it is a good idea to keep both the "procedural" > and "object oriented" interfaces in the code. This should be kept, at least up until a new major PHP release occurs. > Style #1: > The dom

RE: [PHP-DEV] Zend engine: unresolved external _zend_assign_to_va riable_referen ce?

2001-07-19 Thread Marc Boeren
> When you build the result hash, use the same zval * in both > places (don't forget the right refcount), it should work. >Yes, just use the same zval *, increase refcount accordingly, and set the > is_ref bit. It'd be much faster (and also more correct) than using the > assign_to_variable_

[PHP-DEV] Bug #12248: Page hangs as soon as I have added the _gd extension in php.ini

2001-07-19 Thread ake . lundsten
From: [EMAIL PROTECTED] Operating system: Win 95 PHP version: 4.0.6 PHP Bug Type: GD related Bug description: Page hangs as soon as I have added the _gd extension in php.ini I have modified the php.ini file to include the php_gd extension. As soon as I have done that it is

[PHP-DEV] Bug #12247: ternary ?: loses references

2001-07-19 Thread nick
From: [EMAIL PROTECTED] Operating system: Solaris PHP version: 4.0.6 PHP Bug Type: Variables related Bug description: ternary ?: loses references This may be a subtlety of the ?: operator that I failed to spot - then again it may just be a bug. Using ?: with references lose

[PHP-DEV] CVS Account Request

2001-07-19 Thread CVS Account Request
Full name: Marco Cucinato Email: [EMAIL PROTECTED] ID:cucinato Purpose: I\'m one of the italian translators of phpdoc tree, I\'m maintaining three sections and I\'m going to get some more. I would update the sections directly without passing through Luca Perigini (Luca himself su

[PHP-DEV] Bug #12245: gettype(true && true) returns "integer"!

2001-07-19 Thread nick
From: [EMAIL PROTECTED] Operating system: Solaris PHP version: 4.0.6 PHP Bug Type: Variables related Bug description: gettype(true && true) returns "integer"! The && operator (and ||) returns an integer value even when both arguments are boolean. Thus the following code:

Re: [PHP-DEV] Zend engine: unresolved external _zend_assign_to_va riable_referen ce?

2001-07-19 Thread Zeev Suraski
Yes, just use the same zval *, increase refcount accordingly, and set the is_ref bit. It'd be much faster (and also more correct) than using the assign_to_variable_reference() function... Zeev At 12:30 19/07/2001, Stanislav Malyshev wrote: >MB>> I want the fieldname to be a true reference to

Re: [PHP-DEV] mail() and windows

2001-07-19 Thread Hartmut Holzgraefe
colin mcdonald wrote: > I've been reading about (and experiencing) the problems with sending > mail on windows. > Question: Are there any plans in the near future to clean/rewrite this > code? I keep seeing the comment that "mail() badly needs a rewrite on > windows". somehow, i have plans

Re: [PHP-DEV] Zend engine: unresolved external _zend_assign_to_variable_referen ce?

2001-07-19 Thread Stanislav Malyshev
MB>> I want the fieldname to be a true reference to the value, so MB>> if I modify dbx_result->data[0][0] (in a php-script, I mean), MB>> and access it through dbx_result->data[0]['fieldname'], I MB>> want to get the modified value. When you build the result hash, use the same zval * in both plac

Re: [PHP-DEV] Zend engine: unresolved external _zend_assign_to_variable_referen ce?

2001-07-19 Thread Marc Boeren
> It's kind-of odd that you use this function in a module, it's > not really an > API function that's useful outside the context of the engine. > Are you sure > that's the right thing to do in there..? Well, I'm no expert on the zend engine or anything, but I can describe what I try to ach

Re: [PHP-DEV] Zend engine: unresolved external _zend_assign_to_variable_referen ce?

2001-07-19 Thread Zeev Suraski
It's kind-of odd that you use this function in a module, it's not really an API function that's useful outside the context of the engine. Are you sure that's the right thing to do in there..? Zeev At 11:58 19/07/2001, Marc Boeren wrote: >Hi, > >If I build the dbx module I get the following

[PHP-DEV] ZEND_DEBUG issue (more)

2001-07-19 Thread Marc Boeren
Hi, I forgot to mention that I run WinNT4sp6... Cheerio, Marc. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] Zend engine: unresolved external _zend_assign_to_variable_reference?

2001-07-19 Thread Marc Boeren
Hi, If I build the dbx module I get the following error: dbx.obj : error LNK2001: unresolved external symbol _zend_assign_to_variable_reference ..\..\Release_TS/php_dbx.dll : fatal error LNK1120: 1 unresolved externals This is with a clean checkout of php4, zend and tsrm on a windows box. I no

Re: [PHP-DEV] Help wanted: Operator -> and a class in a PHP extension

2001-07-19 Thread David Eriksson
Quoting David Eriksson <[EMAIL PROTECTED]>: > First, look att this piece of pure PHP code: > > > > > class S > { > var $a; > var $x; > } > > $s1 = new S(); > $s1->a = 42; > > $s2 = new S(); > > $s2->a = 4711; > $s2->x = $s1; > > echo $s1->a."\n"; > > $s3 = $s

[PHP-DEV] ZEND_DEBUG issue

2001-07-19 Thread Marc Boeren
Hi, I noticed something really odd with a fresh cvs checkout of php4, zend en tsrm: if I compile the Release_TS php4ts project and the Release_TS mssql module, I get the following error when I try to run php: mssql: Unable to initialize module Module compiled with debug=0, thread-safety=1 modu

Re: [PHP-DEV] $argv and $argc registration

2001-07-19 Thread Zeev Suraski
ini_set() cannot be used to handle register_globals or register_argc_argv, because by the time this function gets called - it's already 'too late' for doing these tasks. You have to use a method of setting these directives before the script even begins to execute, via php.ini, httpd.conf or .h

[PHP-DEV] Bug #12244 Updated: Short form of if-clause

2001-07-19 Thread cynic
ID: 12244 Updated by: cynic Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Scripting Engine problem Operating System: RedHat Linux 7.0 PHP Version: 4.0.6 New Comment: please read the trinary op. man page carefully. you obvously misunderstood its purpose. Previous Comment

[PHP-DEV] Bug #12244: Short form of if-clause

2001-07-19 Thread soenke
From: [EMAIL PROTECTED] Operating system: RedHat Linux 7.0 PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: Short form of if-clause Hi there, not a bug, but a suggestion: if ($foo==4) $foo=3; in short form: $foo==4 ? $foo=3 : 1; it wo

Re: [PHP-DEV] Bug #12223: ldap rebind procedure implementation

2001-07-19 Thread Enrik Berkhan
On Wed, Jul 18, 2001 at 02:41:56AM -0700, Ron Chmara wrote: > [EMAIL PROTECTED] wrote: > > A ldap rebind procedure for automatical referral chase is > > not provided in php4. The solution of #9704 doesn't work > > "ldap result". This is an inherent problem with synchronous > > ldap calls. > a) po

[PHP-DEV] $argv and $argc registration

2001-07-19 Thread J. Jones
I am not subscribed to this list, so please CC: or reply directly to me. Thanks! I may be doing something wrong.. I'm not real sure. Neither $argc or $argv seem to be registered with the cgi version of php 4.0.6 and up. The test script: exits with the following: Warning: Undefined variable: