RE: [PHP-DEV] advice

2001-03-19 Thread Marc Boeren
Hi If there aren't any guides, then some sample code would be much appreciated :) I can give you some samples for creating an object and adding members, but I haven't added any member functions, but this shouldn't be more difficult, I feel... if (object_init(return_value) != SUCCESS) {

[PHP-DEV] Re: PHP 4.0 Bug #9493 Updated: compilation and make with ldap ok but problem during make with apache

2001-03-19 Thread Alain Defrance
thanks for your reply... all works fine now... have a good day ID: 9493 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: LDAP related Assigned To: Comments: Where in your system are the libldap.a(or .so) and liblber.a(or so) located? Try adding

[PHP-DEV] PHP 4.0 Bug #9830: There is a problem with HTTP POST method.

2001-03-19 Thread serg
From: [EMAIL PROTECTED] Operating system: Suse Linux PHP version: 4.0.4pl1 PHP Bug Type: HTTP related Bug description: There is a problem with HTTP POST method. Here comes POST request: telnet www.spylog.ru 80 - POST /log_post.phtml HTTP/1.1 Host:

[PHP-DEV] PHP 4.0 Bug #9831: Include files are not processed

2001-03-19 Thread msalam
From: [EMAIL PROTECTED] Operating system: win2000 server PHP version: 4.0.4pl1 PHP Bug Type: *General Issues Bug description: Include files are not processed Hello, i'm a Software Eng. and doing a research on PHP and MYSQL , but i have 2 questions... 1- in a .php page i'm

[PHP-DEV] PHP 4.0 Bug #9831 Updated: Include files are not processed

2001-03-19 Thread derick
ID: 9831 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *General Issues Assigned To: Comments: This is not a bug, please read www.php.net/include and www.php.net/require as these pages clearly explain how it all works. Previous Comments:

[PHP-DEV] Zend build

2001-03-19 Thread Edin Kadribasic
Is there something wrong with build of Zend as of this morning? I get: $ make Making all in Zend make[1]: Entering directory `/data/src/cvs-php/Zend' make[1]: *** No rule to make target `@MAINTAINER_MODE_TRUE@', needed by `Makefile.in'. Stop. make[1]: Leaving directory `/data/src/cvs-php/Zend'

Re: [PHP-DEV] feature request

2001-03-19 Thread Phil Driscoll
$a = 1; $b = 2; $d = 4; $play_nice = isSet($a, $b, $c, $d); if (!$play_nice) { print "The variable missing is in position "; print ($play_nice*-1); } And it would print 3, in which case we would know $c is not set. I'm not that sure about this approach, seems like a hack, It is a

[PHP-DEV] PHP 4.0 Bug #9832: httpd memory problem with informix

2001-03-19 Thread hoefler
From: [EMAIL PROTECTED] Operating system: Linux 2.2.x PHP version: 4.0.3pl1 PHP Bug Type: Informix related Bug description: httpd memory problem with informix After successfully getting data from an Informix IDS2000 Database the httpd never frees his used memory. (After a

[PHP-DEV] PHP 4.0 Bug #9833: mail.c:28: sysexits.h: No such file or directory

2001-03-19 Thread ioda
From: [EMAIL PROTECTED] Operating system: Unixware 7.1.1 PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: mail.c:28: sysexits.h: No such file or directory Pb still occurs : php 4.0.4pl1,gcc 2.95.2,unixware 7.1.1 ./configure --with-mysql=/appl/mysql

[PHP-DEV] PHP 4.0 Bug #9834: Unable to handle double variables

2001-03-19 Thread jan . wurl
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.4pl1 PHP Bug Type: Math related Bug description: Unable to handle double variables I try to set a variable with a double value: $a=2.54; $b="2.54" but PHP ignores everything after the point echo

[PHP-DEV] PHP 4.0 Bug #9769 Updated: Compile faliure --with-nsapi

2001-03-19 Thread dortega
ID: 9769 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Compile Problem Description: Compile faliure --with-nsapi I installed GCC 2.7.2.1 and i tried to compile the 15/3/2001 CVS version. ./configure --with-gd=no --with-nsapi=/opt/netscape/suitespot

[PHP-DEV] PHP 4.0 Bug #9835: problems with multiple /* comments

2001-03-19 Thread tf
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.3pl1 PHP Bug Type: Scripting Engine problem Bug description: problems with multiple /* comments seems, that the parser has problems with different /* */ in the source e.G. ... /* ... $req="select

[PHP-DEV] PHP 4.0 Bug #9835 Updated: problems with multiple /* comments

2001-03-19 Thread stas
ID: 9835 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: Yes, PHP does not support nested comments. Previous Comments: ---

[PHP-DEV] PHP 4.0 Bug #9766 Updated: IRCG trouble

2001-03-19 Thread dickmeiss
ID: 9766 Updated by: dickmeiss Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproduceable crash Assigned To: Comments: Crash was due to stack overflow. The initial stack size was set to 4000 bytes in call to st_thread_create in irc_connect in line 104 of IRCG-2.1/src/irc_connect.c

[PHP-DEV] PHP 4.0 Bug #9766 Updated: IRCG trouble

2001-03-19 Thread dickmeiss
ID: 9766 Updated by: dickmeiss Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Reproduceable crash Assigned To: Comments: Closed. Previous Comments: --- [2001-03-19 07:35:49] [EMAIL PROTECTED]

[PHP-DEV] Antwort: [PHP-DEV] PHP 4.0 Bug #9835: problems with multiple /* comments

2001-03-19 Thread ExperTeam Henze
Hi, I dont think it's a bug. Nested comments didn't work on any C compiler I have seen in the last 12 years, nor does it work in Java. After the first /*, the parser just waits for */, ignoring other /* on the way, and ignoring other */ after that. So the comment ends after the first */.

[PHP-DEV] PHP 4.0 Bug #9836: php unexpectedly ends on too long scripts

2001-03-19 Thread jack
From: [EMAIL PROTECTED] Operating system: linux 2.2.18 PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: php unexpectedly ends on too long scripts we have some long computer generated scripts on our system. when we run such a long script, php

RE: [PHP-DEV] feature request

2001-03-19 Thread Zeev Suraski
I don't think that in that context, that semantics makes much sense. isset() for multiple variables as a 'all or nothing' checking method makes sense. But if you want to know which variable failed, use multiple isset()'s. As for negative numbers, they are and are to stay boolean true

Re: [PHP-DEV] feature request

2001-03-19 Thread Zeev Suraski
Phil is right. The only thing that may be both useful and practical would be isset() on multiple variables, returning either true or false. Zeev At 11:31 19/3/2001, Phil Driscoll wrote: $a = 1; $b = 2; $d = 4; $play_nice = isSet($a, $b, $c, $d); if (!$play_nice) { print "The

Fw: [PHP-DEV] feature request

2001-03-19 Thread Boian Bonev
oops, forgot the list. i think no lang extension is needed. here is my reason - you can very easy test for isset, what about !isset? then the condition will be or not and and all the thing becomes messy. b. - Original Message - From: "Boian Bonev" [EMAIL PROTECTED] To: "Gavin Sherry"

[PHP-DEV] PHP 4.0 Bug #9837: Cannot connect with a remote MTS server

2001-03-19 Thread jrodriguez
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.4pl1 PHP Bug Type: COM related Bug description: Cannot connect with a remote MTS server We try the following code to obtain a com object: $com_object = new com("comObj.classObj","server"); And , if

[PHP-DEV] PHP 4.0 Bug #9838: PHP crashes with any extensions turned on...

2001-03-19 Thread pkclark
From: [EMAIL PROTECTED] Operating system: Win2K PHP version: 4.0.4pl1 PHP Bug Type: Apache related Bug description: PHP crashes with any extensions turned on... i know this has been touched on a number of times, but here goes... i am trying to config PHP to work with MSSQL

[PHP-DEV] preg_grep bug?!?

2001-03-19 Thread William N. Zanatta
Hello ppl, I have a dropdown menu which lists some countries. These countries are also in a database and each of them have an ID number used for control. Well, when I insert an entry for each of the countries in the database, the next time I click on the dropdown this country must not appear

RE: [PHP-DEV] feature request

2001-03-19 Thread Chris Newbill
That is the only thing that I see of any real use as well. I was just humoring Andi and his idea that we would soon be requesting that feature of knowing which one failed the test. -Chris -Original Message- From: Zeev Suraski [mailto:[EMAIL PROTECTED]] Sent: Monday, 19 March, 2001

Re: [PHP-DEV] preg_grep bug?!?

2001-03-19 Thread Andrei Zmievski
On Mon, 19 Mar 2001, William N. Zanatta wrote: Hello ppl, I have a dropdown menu which lists some countries. These countries are also in a database and each of them have an ID number used for control. Well, when I insert an entry for each of the countries in the database, the next time I

[PHP-DEV] PHP 4.0 Bug #9839: opendir() before mysql_fetch_assoc() returns non-associative array

2001-03-19 Thread marshall
From: [EMAIL PROTECTED] Operating system: Linux 6.2 on Alpha PHP version: 4.0.4pl1 PHP Bug Type: Directory function related Bug description: opendir() before mysql_fetch_assoc() returns non-associative array ?php // If the opendir call is before the connect, an

[PHP-DEV] PHP 4.0 Bug #9493 Updated: compilation and make with ldap ok but problem during make with apache

2001-03-19 Thread sniper
ID: 9493 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: LDAP related Assigned To: Comments: User feedback: -- thanks for your reply... all works fine now... - Closed. --Jani Previous Comments:

[PHP-DEV] PHP 4.0 Bug #9840: seg fault on apache

2001-03-19 Thread tdavis
From: [EMAIL PROTECTED] Operating system: Linux Slackware 7.1 PHP version: 4.0.4pl1 PHP Bug Type: Apache related Bug description: seg fault on apache here is my configure line: ./configure --with-zlib --with-mm --with-mysql=/usr/local/mysql --with-mcal=../libmcal

[PHP-DEV] PHP 4.0 Bug #9769 Updated: Compile faliure --with-nsapi

2001-03-19 Thread sniper
ID: 9769 Updated by: sniper Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Compile Problem Assigned To: Comments: Are you sure you're compiling with gcc? Check that configure check for it says you're really using gcc. And remember to delete config.cache before configure!!

[PHP-DEV] PHP 4.0 Bug #9834 Updated: Unable to handle double variables

2001-03-19 Thread sniper
ID: 9834 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Math related Assigned To: Comments: Works for me just fine. But I think it's some locale thingie. You might have ',' as the decimal separator. Try setting the locale correctly:

[PHP-DEV] PHP 4.0 Bug #9836 Updated: php unexpectedly ends on too long scripts

2001-03-19 Thread sniper
ID: 9836 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Scripting Engine problem Assigned To: Comments: RTFM: http://www.php.net/manual/en/function.set-time-limit.php Previous Comments:

Re: [PHP-DEV] PHP 4.0 Bug #9766: IRCG trouble

2001-03-19 Thread Adam Dickmeiss
Hi Sasha, bug is closed. It was a stack overflow which is why it was so difficult to track. Refer to the bug database. Cheers, Adam On Fri, Mar 16, 2001 at 04:56:28PM +0100, Sascha Schumann wrote: Hi Adam, the good thing is that the binary works! I am, however, still unable to

[PHP-DEV] PHP 4.0 Bug #9830 Updated: There is a problem with HTTP POST method.

2001-03-19 Thread sniper
ID: 9830 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: HTTP related Assigned To: Comments: Please try the latest CVS snapshot from http://snaps.php.net/ as there have been fixes in the post handling since 4.0.4pl1 was released. --Jani

[PHP-DEV] PHP 4.0 Bug #9838 Updated: PHP crashes with any extensions turned on...

2001-03-19 Thread sniper
ID: 9838 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Apache related Assigned To: Comments: Please try the 4.0.5-RC1 from http://www.php4win.de/ as there has been fixes regarding the extension handling in it. --Jani Previous Comments:

[PHP-DEV] PHP 4.0 Bug #9841: Undefined Function

2001-03-19 Thread donnaber
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: DBM/DBA related Bug description: Undefined Function ?php $data = dbmopen("/var/lib/apache/htdocs/phpdev/lol", c); ? ./configure --with-mysql --with-apxs=/var/lib/apache/sbin/apxs

[PHP-DEV] PHP 4.0 Bug #9836 Updated: php unexpectedly ends on too long scripts

2001-03-19 Thread jack
ID: 9836 User Update by: [EMAIL PROTECTED] Status: Bogus Bug Type: Scripting Engine problem Description: php unexpectedly ends on too long scripts I know of time limit, smart guy. But I don't have it set to 1 sec -- that is approximately the time in which php terminates. (I hope you mark

[PHP-DEV] PHP 4.0 Bug #9842: Unresolved automake value

2001-03-19 Thread andrei
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0 Latest CVS (19/03/2001) PHP Bug Type: Compile Problem Bug description: Unresolved automake value Doing a fresh checkout from CVS and then running 'buildconf', 'configure' and trying to compile results in

[PHP-DEV] PHP 4.0 Bug #9841 Updated: Undefined Function

2001-03-19 Thread hholzgra
ID: 9841 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: DBM/DBA related Assigned To: Comments: please have a look at your configure log and phpinfo() output was [g]dbm support found and activated by configure? Previous Comments:

[PHP-DEV] GD configure slightly broken.

2001-03-19 Thread Fredrik Ohrn
If I do a ./configure --with-gd Without actually having GD installed in a standard location the configure script decides to statically link it instead of raising an error: checking whether to include GD support... yes (static) And then the make will bomb when gcc can't find the gd

Re: [PHP-DEV] GD configure slightly broken.

2001-03-19 Thread Alexander Feldman
This is not the only problem with the gd extension configuration. On some platfomrs (FreeBSD) we need the -lm library for this extension when linking (it is important if you build a dynamic gd.so extension). Also there is no proper testing for setting the HAVE_GD_XBM constant. I will fix this

RE: [PHP-DEV] feature request

2001-03-19 Thread Andi Gutmans
:) Andi At 08:25 AM 3/19/2001 -0700, Chris Newbill wrote: That is the only thing that I see of any real use as well. I was just humoring Andi and his idea that we would soon be requesting that feature of knowing which one failed the test. -Chris -Original Message- From: Zeev

Re: [PHP-DEV] Zend build

2001-03-19 Thread david
Is there something wrong with build of Zend as of this morning? I get: $ make Making all in Zend make[1]: Entering directory `/data/src/cvs-php/Zend' make[1]: *** No rule to make target `@MAINTAINER_MODE_TRUE@', needed by `Makefile.in'. Stop. make[1]: Leaving directory

[PHP-DEV] Help required

2001-03-19 Thread julian.chamberlain
Hi there, i am in need of some help with PHP programming. Do you know anyone that can help me or can you? Many thanks Kind regards Julian Chamberlain

[PHP-DEV] PHP 4.0 Bug #9842 Updated: Unresolved automake value

2001-03-19 Thread sniper
ID: 9842 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Compile Problem Assigned To: Comments: Fixed. --Jani Previous Comments: --- [2001-03-19 12:16:40] [EMAIL

[PHP-DEV] PHP 4.0 Bug #9840 Updated: seg fault on apache

2001-03-19 Thread sniper
ID: 9840 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Apache related Assigned To: Comments: First get the latest CVS snapshot from http://snaps.php.net/ and then configure it using the same configure line you have included here but add

[PHP-DEV] PHP 4.0 Bug #9390 Updated: PHPSESSID adds itself to $HTTP_POST_VARS

2001-03-19 Thread aaron . lake
ID: 9390 User Update by: [EMAIL PROTECTED] Old-Status: Closed Status: Open Bug Type: *Session related Description: PHPSESSID adds itself to $HTTP_POST_VARS Thanx Jani, As suggested: In php.ini: url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" Remove the last

[PHP-DEV] PHP 4.0 Bug #9836 Updated: php unexpectedly ends on too long scripts

2001-03-19 Thread sniper
ID: 9836 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Bogus Status: Feedback Bug Type: Scripting Engine problem Assigned To: Comments: With that limited information you gave in the first comments I couldn't know that. Ok, so it doesn't crash? Just stops? Computer generated

Re: [PHP-DEV] Zend build

2001-03-19 Thread Andrei Zmievski
On Mon, 19 Mar 2001, [EMAIL PROTECTED] wrote: Is there something wrong with build of Zend as of this morning? I get: $ make Making all in Zend make[1]: Entering directory `/data/src/cvs-php/Zend' make[1]: *** No rule to make target `@MAINTAINER_MODE_TRUE@', needed by

[PHP-DEV] PHP 4.0 Bug #9390 Updated: PHPSESSID adds itself to $HTTP_POST_VARS

2001-03-19 Thread sniper
ID: 9390 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Session related Assigned To: Comments: Both environments run same php.ini? Same version of PHP? Same configure line used on building both PHP's? --Jani Previous Comments:

[PHP-DEV] PHP 4.0 Bug #9390 Updated: PHPSESSID adds itself to $HTTP_POST_VARS

2001-03-19 Thread aaron . lake
ID: 9390 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: *Session related Description: PHPSESSID adds itself to $HTTP_POST_VARS Thanx Jani, As suggested: In php.ini: url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" Remove the

[PHP-DEV] PHP 4.0 Bug #9390 Updated: PHPSESSID adds itself to $HTTP_POST_VARS

2001-03-19 Thread aaron . lake
ID: 9390 User Update by: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Session related Description: PHPSESSID adds itself to $HTTP_POST_VARS both production and development environments are using identical versions and configurations of apache web server 1.3.14 and php 4.0.4

Re: [PHP-DEV] Zend build

2001-03-19 Thread Alexander Bokovoy
On Mon, Mar 19, 2001 at 01:12:05PM -0600, Andrei Zmievski wrote: On Mon, 19 Mar 2001, [EMAIL PROTECTED] wrote: Is there something wrong with build of Zend as of this morning? I get: $ make Making all in Zend make[1]: Entering directory `/data/src/cvs-php/Zend'

Re: [PHP-DEV] Zend build

2001-03-19 Thread Andrei Zmievski
On Mon, 19 Mar 2001, Alexander Bokovoy wrote: PHP4 has no means except AC_OUTPUT() to replace variables in header files through templates in modules. If I'm using PHP_SUBST and PHP_OUTPUT then php_midgard.h didn't generated from php_midgard.in. The only way to generate it is to use AC_OUTPUT

RE: [PHP-DEV] feature request

2001-03-19 Thread Andi Gutmans
isset($var1, $var2,...) is in the CVS now. If everyone is happy with it and doesn't want it to make coffee I think it should stay in. If not we have lots of time to revert the patch before 4.0.6 :) Andi At 08:25 AM 3/19/2001 -0700, Chris Newbill wrote: That is the only thing that I see of any

[PHP-DEV] PHP 4.0 Bug #9390 Updated: PHPSESSID adds itself to $HTTP_POST_VARS

2001-03-19 Thread aaron . lake
ID: 9390 User Update by: [EMAIL PROTECTED] Old-Status: Closed Status: Open Bug Type: *Session related Description: PHPSESSID adds itself to $HTTP_POST_VARS Woops! No it still doesnt work. Aaron. Previous Comments: ---

[PHP-DEV] PHP 4.0 Bug #9390 Updated: PHPSESSID adds itself to $HTTP_POST_VARS

2001-03-19 Thread sniper
ID: 9390 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Session related Assigned To: Comments: Stupid question: did you restart your apache after adding that php.ini directive? And did your restart it like this: ./apachectl stop ./apachectl

[PHP-DEV] PHP 4.0 Bug #9390 Updated: PHPSESSID adds itself to $HTTP_POST_VARS

2001-03-19 Thread aaron . lake
ID: 9390 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: *Session related Description: PHPSESSID adds itself to $HTTP_POST_VARS both production and development environments are using identical versions and configurations of apache web server 1.3.14 and php

[PHP-DEV] PHP 4.0 Bug #9390 Updated: PHPSESSID adds itself to $HTTP_POST_VARS

2001-03-19 Thread aaron . lake
ID: 9390 User Update by: [EMAIL PROTECTED] Old-Status: Closed Status: Open Bug Type: *Session related Description: PHPSESSID adds itself to $HTTP_POST_VARS Jani, That is correct, I did explicitly stop and start the web server (prod and dev) using the ./apachectl stop ... start. Dev works

[PHP-DEV] PHP 4.0 Bug #9843: Decrement Operator

2001-03-19 Thread jplock
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: Decrement Operator I believe there is a problem with the decrement operator. http://www.artemisgroup.com/test.php $percentchange = .30; while

[PHP-DEV] PHP 4.0 Bug #9390 Updated: PHPSESSID adds itself to $HTTP_POST_VARS

2001-03-19 Thread sniper
ID: 9390 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Session related Assigned To: Comments: I suggest you check that they REALLY are identical. And I guess you're trying with same scripts? :) --Jani Previous Comments:

[PHP-DEV] PHP 4.0 Bug #9843 Updated: Decrement Operator

2001-03-19 Thread hholzgra
ID: 9843 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: theese are typical rounding errors that occure when dealing with decimal fractions on binary based machines Previous Comments:

Re: [PHP-DEV] feature request

2001-03-19 Thread Phil Driscoll
My earlier post to the list doesn't seem to have arrived yet, so here it is again. You'll note from the posting that I'm not keen on the patch staying in. There are considerable efforts being made by several of us on the QA team trying to make the language more orthogonal, and this kind of ad hoc

[PHP-DEV] PHP 4.0 Bug #9844: MIME type gets added to variable using POST method

2001-03-19 Thread roy
From: [EMAIL PROTECTED] Operating system: RedHat Linux 7 PHP version: 4.0.4pl1 PHP Bug Type: *Directory/Filesystem functions Bug description: MIME type gets added to variable using POST method Every time I try to use POST to submit variables or files to a form it seems to

Re: [PHP-DEV] feature request

2001-03-19 Thread Andi Gutmans
At 07:58 PM 3/19/2001 +, Phil Driscoll wrote: My earlier post to the list doesn't seem to have arrived yet, so here it is again. You'll note from the posting that I'm not keen on the patch staying in. There are considerable efforts being made by several of us on the QA team trying to make the

Re: [PHP-DEV] feature request

2001-03-19 Thread Jason Greene
Perhaps isset should be branched to form a separate function to handle multi args, we could offer things in the new function such as an optional argument that passes back an array of results. -Jason - Original Message - From: "Phil Driscoll" [EMAIL PROTECTED] To: "Chris Newbill"

Re: [PHP-DEV] feature request

2001-03-19 Thread Andi Gutmans
Ugh, that's exactly what I didn't want to get into. If you want an array of results you're better of doing a few if() statements. It's faster and writes much nicer code. Andi At 02:08 PM 3/19/2001 -0600, Jason Greene wrote: Perhaps isset should be branched to form a separate function to

[PHP-DEV] PHP 4.0 Bug #9844 Updated: MIME type gets added to variable using POST method

2001-03-19 Thread sniper
ID: 9844 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Directory/Filesystem functions Assigned To: Comments: This is fixed in CVS. Try latest CVS snapshot from http://snaps.php.net/ --Jani Previous Comments:

Re: [PHP-DEV] feature request

2001-03-19 Thread Jason Greene
After thinking about it more, it seems that in every scenario I could think of where you wanted an array of results, you should not be using independent vars in the first place. It would seem much more reasonable to use an array of combined values, and then parse those accordingly. I don't

Re: [PHP-DEV] feature request

2001-03-19 Thread Zeev Suraski
I don't see the negative aspect of having it accept multiple variables. Is there one? If there isn't, then there's no need to invent a problem... Zeev At 22:08 19/3/2001, Jason Greene wrote: Perhaps isset should be branched to form a separate function to handle multi args, we could offer

Re: [PHP-DEV] feature request

2001-03-19 Thread Zeev Suraski
At 22:41 19/3/2001, Jason Greene wrote: I don't, but I could see that viewpoint where Phil is coming from when he talks about the fact that functions can end up with 2 different goals, and then when we want to enhance them we end up with multiple behaviors in a single function and way too many

RE: [PHP-DEV] feature request

2001-03-19 Thread Chris Newbill
No doubt, clean code is king! And we don't want more work for Andi! :) Basically I see this functionality as filling a niche and nothing more. It's not a wonder-drug, it just makes certain situations a little more readable/maintainable IMHO. -Chris -Original Message- From: Andi

[PHP-DEV] PHP 4.0 Bug #9846: fopen() fails and gives Error 0 on NoContent URLs

2001-03-19 Thread bloch
From: [EMAIL PROTECTED] Operating system: linux,irix,tru64 PHP version: 4.0.4pl1 PHP Bug Type: Filesystem function related Bug description: fopen() fails and gives Error 0 on NoContent URLs This bug might belong in the URL-related section. I believe it to be a generic

[PHP-DEV] PHP 4.0 Bug #9847: fopen() fails with Error 0 on Forbidden URLs

2001-03-19 Thread bloch
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.4pl1 PHP Bug Type: Filesystem function related Bug description: fopen() fails with Error 0 on Forbidden URLs Perhaps this belongs in the URL related functions. When fopen()-ing an URL that responds with an HTTP

[PHP-DEV] PHP 4.0 Bug #9551 Updated: False boolen input/output doesn't work

2001-03-19 Thread phanto
ID: 9551 Updated by: phanto Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: COM related Assigned To: Comments: this is not a bug, this is how php handles booleans. try echo gettype($COMOBJ-SetBoolean); or echo (int)$COMOBJ-SetBoolean; and you'll see that all is

[PHP-DEV] Extension help

2001-03-19 Thread Barry Mitchelson
hey, I'm writing an extension which defines a class. In the constructor, I'd like to create a member variable which I can then access with the other member functions in my extension. In php it would be like : class foo { var $m_bar; function foo() {

[PHP-DEV] PHP 4.0 Bug #9848: memory leak

2001-03-19 Thread dean
From: [EMAIL PROTECTED] Operating system: Windows 98 SE PHP version: 4.0.4pl1 PHP Bug Type: Performance problem Bug description: memory leak Every time I get memory loss if I run php.exe at the command line like this: C:\php index.html I use "System Monitor" to check

[PHP-DEV] PHP 4.0 Bug #9849: Square boxes?

2001-03-19 Thread jason . gulledge
From: [EMAIL PROTECTED] Operating system: WIn98 (IE) PHP version: 4.0.4pl1 PHP Bug Type: Documentation problem Bug description: Square boxes? Is there a reason there are so many square blocks of useless data on this website I'm trying to install PHP/Apache and get a Core

[PHP-DEV] Re: PHP 4.0 Bug #9849 Updated: Square boxes?

2001-03-19 Thread Jason Gulledge
This webpage is what I'm using to install php4 / Apache 1.3.19 http://www.php.net/manual/kr/install.apache.php and there squares everywhere on the page from what I can see Jason __ Reply Separator

[PHP-DEV] Re: PHP 4.0 Bug #9849 Updated: Square boxes?

2001-03-19 Thread Jason Gulledge
Nevermind... i replaced http://www.php.net/manual/kr/install.apache.php with http://www.php.net/manual/en/install.apache.php Sorry for the waste of your time Jason __ Reply Separator

[PHP-DEV] PHP 4.0 Bug #9849 Updated: Square boxes?

2001-03-19 Thread sniper
ID: 9849 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Bogus Bug Type: Documentation problem Assigned To: Comments: Previous Comments: --- [2001-03-19 17:25:23] [EMAIL PROTECTED] Is there

Re: [PHP-DEV] feature request

2001-03-19 Thread Phil Driscoll
Zeev said: Define 'change their behavior' though? 'change their behavior' === 'change their behavior' in a subtle way :) Almost all SQL functions take an optional argument which is the link id. That is by design, and doesn't really mean anything here, I'm not saying it does mean anything

Re: [PHP-DEV] Re: PHP 4.0 Bug #9849 Updated: Square boxes?

2001-03-19 Thread eschmid+sic
On Mon, Mar 19, 2001 at 05:01:00PM -0600, Jason Gulledge wrote: This webpage is what I'm using to install php4 / Apache 1.3.19 http://www.php.net/manual/kr/install.apache.php and there squares everywhere on the page from what I can see I have seen such square rectangles with

[PHP-DEV] PHP 4.0 Bug #9845 Updated: win2k CRASH when PHP run on a localhost from IE

2001-03-19 Thread sniper
ID: 9845 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Reproduceable crash Assigned To: Comments: Not enough info. --Jani Previous Comments: --- [2001-03-19 16:21:49]

RE: [PHP-DEV] Re: PHP 4.0 Bug #9849 Updated: Square boxes?

2001-03-19 Thread Chris Newbill
Those square boxes are shown when IE cannot find the character in the particular font/language set. If you enable "Install on demand" it will usually prompt you to download the language pack for whatever language you are trying to view. -Chris -Original Message- From: [EMAIL

[PHP-DEV] PEAR (was: Re: [PHP-CVS] cvs: php4 /ext/midgard config.m4)

2001-03-19 Thread Jani Taskinen
On Mon, 19 Mar 2001, Rasmus Lerdorf wrote: PEAR will be separate at some point, but let's not go overboard here. The midgard stuff adds a total of 76K to the tar.gz file. Big deal. I was talking in general, not only midgard. The pear stuff takes a lot more than 76k..and this has been pushed

Re: [PHP-DEV] Independent comments on a bug.

2001-03-19 Thread php4
** Reply to note from Jani Taskinen [EMAIL PROTECTED] Sun, 18 Mar 2001 23:33:46 +0100 (CET) A few thoughts on this subject... Anyone should be able to comment on any bug report. Anyone who comments on a bug report (that is not a developer) should get an email when the status of the bug

[PHP-DEV] Re: PEAR (was: Re: [PHP-CVS] cvs: php4 /ext/midgard config.m4)

2001-03-19 Thread Zeev Suraski
I agree. At 01:33 20/3/2001, Jani Taskinen wrote: On Mon, 19 Mar 2001, Rasmus Lerdorf wrote: PEAR will be separate at some point, but let's not go overboard here. The midgard stuff adds a total of 76K to the tar.gz file. Big deal. I was talking in general, not only midgard. The pear stuff

[PHP-DEV] Re: PEAR (was: Re: [PHP-CVS] cvs: php4 /ext/midgard config.m4)

2001-03-19 Thread Emiliano
Rasmus Lerdorf wrote: Having midgard in the PEAR infrastructure makes sense once the PEAR infrastructure is such that it is easy to install PEAR components that include C bits. And yes, perhaps the midgard folks are the right people to push this along, if they are willing and able. Someone

Re: [PHP-DEV] Re: PEAR (was: Re: [PHP-CVS] cvs: php4 /ext/midgardconfig.m4)

2001-03-19 Thread Rasmus Lerdorf
On Mon, 19 Mar 2001, Rasmus Lerdorf wrote: Because the whole point of this was to make life easier on midgard users. So you're saying that every widely used external (at the moment) php-extension should be put into PHP CVS? :) If it will help users and there is demand for it, sure. Like

[PHP-DEV] PHP 4.0 Bug #9850: Apache dies

2001-03-19 Thread cjc
From: [EMAIL PROTECTED] Operating system: Red Hat, 6.2 linux 2.2.17-14smp PHP version: 4.0.4pl1 PHP Bug Type: Apache related Bug description: Apache dies I am trying to upgrade from php-4.02 and have this problem. Below are the specs on my system. It works find with 4.02,

Re: [PHP-DEV] Re: PEAR (was: Re: [PHP-CVS] cvs: php4 /ext/midgard config.m4)

2001-03-19 Thread Zeev Suraski
At 02:04 20/3/2001, Rasmus Lerdorf wrote: No, we need tighter integration. We want to be able to do something along the lines of "pear pear.php.net/midgard" and it would go and fetch the the component, build it and install it. I completely agree with Andi about this. If it won't be simple, it

Re: [PHP-DEV] Re: PEAR (was: Re: [PHP-CVS] cvs: php4 /ext/midgardconfig.m4)

2001-03-19 Thread Rasmus Lerdorf
See pear/scripts/pear The framework is there. On Tue, 20 Mar 2001, Zeev Suraski wrote: At 02:04 20/3/2001, Rasmus Lerdorf wrote: No, we need tighter integration. We want to be able to do something along the lines of "pear pear.php.net/midgard" and it would go and fetch the the component,

[PHP-DEV] PHP 4.0 Bug #9850 Updated: Apache dies

2001-03-19 Thread sniper
ID: 9850 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Apache related Assigned To: Comments: 1. delete config.cache 2. add --enable-debug into your configure line 3. after configure: 'make clean ; make ; make install' 4. then try generating gdb

Re: [PHP-DEV] Re: PEAR (was: Re: [PHP-CVS] cvs: php4/ext/midgard config.m4)

2001-03-19 Thread Emiliano
Zeev Suraski wrote: At 02:04 20/3/2001, Rasmus Lerdorf wrote: No, we need tighter integration. We want to be able to do something along the lines of "pear pear.php.net/midgard" and it would go and fetch the the component, build it and install it. I completely agree with Andi about this.

Re: [PHP-DEV] Re: PEAR (was: Re: [PHP-CVS] cvs: php4 /ext/midgard config.m4)

2001-03-19 Thread Zeev Suraski
That's great, but it shouldn't be the starting point for the project... Jani is right that whenever we speak about separating PEAR, or putting extensions in it, it's always at some point in the future. Opensource projects usually start up and roll once they reach some critical mass, and

Re: [PHP-DEV] Re: PEAR (was: Re: [PHP-CVS] cvs: php4 /ext/midgardconfig.m4)

2001-03-19 Thread Rasmus Lerdorf
That's great, but it shouldn't be the starting point for the project... Jani is right that whenever we speak about separating PEAR, or putting extensions in it, it's always at some point in the future. Opensource projects usually start up and roll once they reach some critical mass, and

Re: [PHP-DEV] Re: PEAR (was: Re: [PHP-CVS] cvs: php4/ext/midgard config.m4)

2001-03-19 Thread Jani Taskinen
On Tue, 20 Mar 2001, Emiliano wrote: Zeev Suraski wrote: At 02:04 20/3/2001, Rasmus Lerdorf wrote: No, we need tighter integration. We want to be able to do something along the lines of "pear pear.php.net/midgard" and it would go and fetch the the component, build it and install it. I

Re: [PHP-DEV] Extension help

2001-03-19 Thread Sterling Hughes
On Mon, 19 Mar 2001, Barry Mitchelson wrote: hey, I'm writing an extension which defines a class. In the constructor, I'd like to create a member variable which I can then access with the other member functions in my extension. In php it would be like : class foo { var

[PHP-DEV] PHP 4.0 Bug #9851: getenv() functions do not return variables.

2001-03-19 Thread kabal
From: [EMAIL PROTECTED] Operating system: Solaris 2.6/2.7 PHP version: 4.0.3pl1 PHP Bug Type: Other web server Bug description: getenv() functions do not return variables. The getenv() function does not return a value. machine info: [root@wink]# uname -a SunOS wink 5.6

[PHP-DEV] PHP 4.0 Bug #9852: Header redirect and db connection cause CGI misbehaved

2001-03-19 Thread ron . baldwin
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.4pl1 PHP Bug Type: IIS related Bug description: Header redirect and db connection cause "CGI misbehaved" Under the category of "You Can Never Have Too Much Information On A Bug", here is my experience

  1   2   >