[PHP-DEV] MFH policy

2003-02-19 Thread Marc Boeren
Hi, What is the official MFH policy? Are all bugfixes MFH-ed? Cheerio, Marc. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] MFH policy

2003-02-19 Thread Marc Boeren
Hi, > > What is the official MFH policy? Are all bugfixes MFH-ed? > > Normally, yes. Except when we're close to release (which we are not > right now). How does this work? Add -r PHP_4_3 to the mfh-commit? Cheerio, Marc. -- PHP Development Mailing List To unsubscribe,

RE: [PHP-DEV] dbx question - specifying a port for pgsql

2002-09-27 Thread Marc Boeren
Hi, > However, on one of our servers, we have to run Postgres on a > port other than 5432. > It looks to me that in dbx_mysql.c, you can use the MySQL > "host:port/host:socket" syntax. Is there any possibility > that this syntax or a variation of it could be used throughout > dbx? You c

[PHP-DEV] bug in PHPAPI char *php_str_to_str() function?

2002-10-30 Thread Marc Boeren
Hi, If I call the internal (string.c) php_str_to_str function PHPAPI char *php_str_to_str(char *haystack, int length, char *needle, int needle_len, char *str, int str_len, int *_new_length) with an empty haystack string (""), it returns NULL instead of an empty (smart_)string. This co

[PHP-DEV] database abstraction layers [from: MySQL feature/bug]

2001-01-31 Thread Marc Boeren
>I have been crafting my own database abstraction layer, and in doing so >create an array of the results of a query. Is this an db abstraction layer written in php (script), or written as a module for php (C)? I was thinking of writing an (open source) db-abstraction module (that uses existing

RE: [PHP-DEV] database abstraction layers [from: MySQL feature/bug]

2001-01-31 Thread Marc Boeren
>there exists a db abstraction layer in the PEAR (pear.php.net) I know, but this is done in php-script, not as a php-module... wouldn't a php-module be more efficient (faster?) and less hassle to use for people (php compiled with dbal-module and eg mysql-module, users just type $handle=dbal_conn

RE: [PHP-DEV] database abstraction layers [from: MySQL feature/bug]

2001-02-01 Thread Marc Boeren
> do a search on Google for SQL Relay ... I have (just now), but it seems to do a great deal more than I have in mind (plus it needs daemons running that only run on linux/unix-like systems) and it uses it's own database functions instead of the modules that are already available to PHP... Che

RE: [PHP-DEV] database abstraction layers [from: MySQL feature/bug]

2001-02-01 Thread Marc Boeren
Hi, >I need to spend some time with the Zend API to see if it's really worth it >for my time to go about doing it, but yes, I am very much considering >turning it into C. >I've really been hoping that someone was going to take an intermediately >complex Zend extension and put together a how-to

RE: [PHP-DEV] [Fwd: Re: [PHP] Howto return multidimensional arrays from a PHP module]

2001-02-05 Thread Marc Boeren
>I were refered to this list... >I found an old entry in the dev archive, explaining that I could achieve >my goals, by "for each inner array you >allocate a zval*, initialize it, add data to it, and add it to the >return value." >But how exactly do I add a zval? >My guess is add_assoc_resource b

[PHP-DEV] when to duplicate string using add_index_string?

2001-02-08 Thread Marc Boeren
Hi! I'm using add_index_string and add_assoc_string to build an array, and these functions expect a 'duplicate' argument. When should I set this to 1 and when to 0? Right now I'm setting it to 1 on the first call (add_index_string) and to zero for the second (add_assoc_string). Does it matter i

RE: [PHP-DEV] when to duplicate string using add_index_string?

2001-02-08 Thread Marc Boeren
>>I'm using add_index_string and add_assoc_string to build an array, and these >>functions expect a 'duplicate' argument. When should I set this to 1 and >>when to 0? >First of all, it definitely matters. Sending the right value is extremely >important. If you send 1 instead of 0, then you wo

RE: [PHP-DEV] when to duplicate string using add_index_string?

2001-02-08 Thread Marc Boeren
>'duplicate' does mean 'duplicate me'. >If duplicate is set to 0, then you tell the engine not to duplicate the >string, but use it as-is. If it's set to 1, then you tell the engine to >duplicate it, because this string is either static, or already referenced >by other things in PHP. Now I'm

[PHP-DEV] how-to get array[0] and array["name"] to actually reference only 1 value?

2001-02-09 Thread Marc Boeren
What I'm trying to do is get the following php-script to work... (the only thing about this that doesn't work is in the fourth 'echo' line...) $db = dbx_connect("mysql", "localhost", "username", "password"); // works $result = dbx_query($db, "use dbname"); // works $q = dbx_query($db, "select id

[PHP-DEV] database abstraction module under construction...

2001-02-09 Thread Marc Boeren
Hi! > I've started work on a database abstraction module (written in C) and was > wondering if anybody had any thoughts to add to mine in order to develop a > good solution. > The working name for this is the dbx-module. > The dbx-module will become available under an Open Source license (not >

RE: [PHP-DEV] Function request

2001-02-12 Thread Marc Boeren
>I think this would be nice. To be able to pull a multi-dimentional array >from a mysql result. I'm working on a database abstraction module that does exactly this, and should support every database module that is loaded into php. I've already got it doing what you describe, only I return an obj

RE: [PHP-DEV] how-to get array[0] and array["name"] to actually reference only 1 value?

2001-02-12 Thread Marc Boeren
>Also, even though [0] and ['id'] initially contain the same value, they are >not bound together in any way. You may be able to accomplish what you >desire by using references. (See the manual section on references for more >information. >ie. $q->data[0]["id"] =& $q->data[0][0]; How can I cre

RE: [PHP-DEV] how-to get array[0] and array["name"] to actually reference only 1 value?

2001-02-12 Thread Marc Boeren
>not bound together in any way. You may be able to accomplish what you >desire by using references. (See the manual section on references for more >information. > ie. $q->data[0]["id"] =& $q->data[0][0]; After looking for references in the php-code, I found something that seems to work ok (ze

RE: [PHP-DEV] how-to get array[0] and array["name"] to actually reference only 1 value?

2001-02-12 Thread Marc Boeren
OK, zend_hash_find and zend_hash_index_find do the trick... Cheerio, Marc. >This leads me to another question: how do I obtain the x_ptr (from the example) if the zend_hash_update was done elsewhere and no ptr was passed then??? >zend_hash_update(return_value->value.obj.properties, "x", s

RE: [PHP-DEV] how-to get array[0] and array["name"] to actually reference only 1 value?

2001-02-12 Thread Marc Boeren
>Well, I guess that hacking the php source would work. :) However, I was >just thinking that you Could do something like this: >while (list ($key, $value) = mysql_fetch_array ($result, MYSQL_ASSOC)) { >$data[] =& $data[$key] = $value; >} I could, but since I'm writing a database abstractio

[PHP-DEV] license question for a module...

2001-02-19 Thread Marc Boeren
Hi! I've finished a first version of the dbx module (database abstraction (in C)) and I want to open-source this module (as a self-contained extension). What license should I use? I want it to be very open, but maintain a copyright notice (much like the PHP license). Or better, can I donate th

[PHP-DEV] ZEND_MINIT_FUNCTION and ZEND_INIT_MODULE_GLOBALS question

2001-02-27 Thread Marc Boeren
Hi! I'm writing a php-module that uses some globals. I use the ZEND_MINIT_FUNCTION as sort of a constructor, and call ZEND_INIT_MODULE_GLOBALS here. When my module ends, the ZEND_MSHUTDOWN_FUNCTION is called, but the globals are already destroyed by then! In ZEND_INIT_MODULE_GLOBALS, I've def

[PHP-DEV] ZEND_MINIT_FUNCTION and ZEND_INIT_MODULE_GLOBALS question: additional info

2001-02-27 Thread Marc Boeren
I can see where the problem is coming from: the global that is freed is of type zval * and allocated (eg in the ZEND_MINIT_FUNCTION) using MAKE_STD_ZVAL... the auto-cleanup works per request, and cleans up everything that is allocated with emalloc... also what was intended to be global. This

[PHP-DEV] selective display of ini-entries using phpinfo()

2001-03-02 Thread Marc Boeren
Hi! What code/functions must I use to hide some ini-entries from showing up in phpinfo() ? Right now, I don't use DISPLAY_INI_ENTRIES() in ZEND_MINFO_FUNCTION(modulename), but this hides _all_ ini-entries. Thanks, Marc. -- PHP Development Mailing List To unsubscrib

[PHP-DEV] customized usort && pass by reference... addendum

2001-03-06 Thread Marc Boeren
I know that if I set allow_call_time_pass_reference = On in the ini file and call my c-function with a reference, it works ok. But since this is deprecated, I need some help to set it up correctly for the new situation... Cheerio, Marc. -- PHP Development Mailing List

[PHP-DEV] customized usort && pass by reference...

2001-03-06 Thread Marc Boeren
Hi! In my (C-)module I'm building a customized usort function, that accepts an object as the first argument, and a user-defined function as the second. The object contains an array that I want to sort using the user-defined compare function. If I simulate this in PHP-script, the behaviour sho

RE: [PHP-DEV] PHP 4.0 Zend API

2001-03-08 Thread Marc Boeren
>I am building my custom php extension. For the windows platform it went >fine, but I still have a problems on Linux. I had a couple of problems as well, but managed it after a while. Please read the README.SELF-CONTAINED-EXTENSIONS in the php-folder, as it helps. In short, create a config.m

[PHP-DEV] extension developer list?

2001-03-08 Thread Marc Boeren
Hi! I for one wouldn't mind a separate mailing list for developers of php extensions. I would subscribe to both the php-dev and php-ext (?) mailing-lists, so I would still receive the same amount of mail, but the mails about extending php wouldn't be cluttered by bug reports or discussions abou

RE: [PHP-DEV] PHP 4.0 Zend API

2001-03-08 Thread Marc Boeren
>My module has to be linked with some external libraries such as >OpenSSL. >What I need is a static link (I guess). > >Note: Compiling and linking manually as a static module into the PHP binary >involves very long instructions and thus is not discussed here. (It's not very >ef

[PHP-DEV] dbx module (database abstraction) available

2001-03-13 Thread Marc Boeren
Hi! The dbx module (database abstraction module in C, supports ODBC and MySQL (for now :-)) is available at http://www.guidance.nl/php/dbx/ Source is available in zip and tar.gz formats. Documentation (both user docs and docs about extending the database support) is also available is zip and tar

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) {

RE: [PHP-DEV] Extension help

2001-03-20 Thread Marc Boeren
>zend_hash_find(obj->value.obj.properties,"foo",sizeof("foo"),(void**)&tmpSt ring); You're almost correct, sizeof("foo") should be sizeof("foo")+1 Cheerio, Marc. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

RE: [PHP-DEV] Extension help

2001-03-20 Thread Marc Boeren
>> You're almost correct, sizeof("foo") should be sizeof("foo")+1 >hmm... still not working :( My fault for not reading on beyond the first typo: >zend_printf("foo = %s",tmpString); should probably be zend_printf("foo = %s", (*tmpString)->value.str.val); but I may be wrong on the level of i

RE: [PHP-DEV] Extension help

2001-03-20 Thread Marc Boeren
> Hi! > > >even though i did convert_to_string_ex(tmpString) ? > You should still do that, but the only thing that really does is set the zval type to IS_STRING, and the value union is set accordingly (instead of e.g. a long in value.lval, you get the value as a string in value.str.val (and the

RE: [PHP-DEV] Extension help

2001-03-20 Thread Marc Boeren
>BTW, (*tmpString)->value.str.val == Z_STRVAL_PP(tmpString) but the >latter looks much nicer :) Granted, but that's what happens if you just examine the code and don't read the documentation :-) Cheerio, Marc. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAI

[PHP-DEV] Extension help && mailing list???

2001-03-20 Thread Marc Boeren
> >is there full documentation of the Zend API - i found the stuff on the > zend website to be useful, but didn't cover everything. > > If there is, I couldn't find it either. > So it's that and the source code itself. > > If anyone knows about more documentation, could someone put it up (or

[PHP-DEV] config.m4 file

2001-03-21 Thread Marc Boeren
Hi! Just thought I'ld mention that the config.m4 file needs to be in Unix fileformat, not PC (different CRLF...) It took me some time to figure this out, ./configure just returned : command not found Sometimes it is quite annoying to be working with both Windows and Linux boxes. Sorry, had to

[PHP-DEV] patch for bug #9272

2001-03-26 Thread Marc Boeren
Attached patch solves bug 9272, warning issued on closing persistent odbc connection Cheerio, Marc. <> php_odbc.c.diff -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list ad

[PHP-DEV] please remove pgsql warning on fetch_row - includes diff

2001-03-26 Thread Marc Boeren
Hi! The PostgreSQL module issues a warning when trying to fetch a row with an invalid rownumber. pg_fetch_row also returns false. I would ask if someone could remove the warning that is issued. The docs says the function returns false, this should be enough, I think. I would really like to cons

RE: [PHP-DEV] please remove pgsql warning on fetch_row - includes diff

2001-03-26 Thread Marc Boeren
> while (@pg_fetch_row()) { > ... > } > >will suppress the warnings just for the call to pg_fetch_row. I know, but I'm not calling it from within php-script, but from the dbx-module (in C-code). Plus, calling it with @ also suppresses any other warnings pg_fetch_row should rightly give. IM

RE: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/odbc php_odbc.c

2001-03-27 Thread Marc Boeren
>D:\Programme\MS Visual Studio\Projekte\php\php4\ext\odbc\php_odbc.c(2167) : >warning C4047: 'function' : Anzahl der Dereferenzierungen bei 'int *' und 'int ' >unterschiedlich Oops, my fault, forgot a '&'... I'm still learning this cvs and diff stuff, and am actually patching the files outside

RE: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/odbc php_odbc.c

2001-03-27 Thread Marc Boeren
>Actually might have been me doing a bad patch... but I just sent sebastian >the same fix to give a try. if that works, excellent :) I think it was my mistake. The '&' was in my working version, but not in the patch I sent. Anyway, do you know of a way to do a diff with the file currently in CV

RE: [PHP-DEV] consistent way to handle structs

2002-01-11 Thread Marc Boeren
> make much sense to me. The current way suits fine, but maybe > this should be allowed too (as Hartmut wrote): function (foo,,bar); Please don't! I cannot read code that looks like fn(foobar);, that is just a parameter-guessing-game! Then again, that probably means that fn() is badly

RE: [PHP-DEV] consistent way to handle structs

2002-01-11 Thread Marc Boeren
[fn(foobar)] > I agree on that. You really don't know which parameters it > was anymore. > You don't have this problem with hashes. > But I already see this thread won't get us anywhere :) Well, I think everybody agrees that with hashes, functions are much easier to use..

[PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/ftp ftp.c ftp.h

2002-02-05 Thread Marc Boeren
and Win2000. The code for php_connect_nonb (contributed by Wez) mentions something about not being sure on Win32 platforms... Could you look into this please? Thanks, Marc Boeren > venaasSun Jan 6 18:10:54 2002 EDT > > Modified files: > /

RE: [PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/ftp ftp.c ftp.h

2002-02-05 Thread Marc Boeren
> Hi Stig (and others, Wez for instance), > > The patch below seems to have broken the ftp_get function (I used > ftp_get($conn_id, $local_file, $remote_file, FTP_BINARY)) in Win95 and > Win98, it now displays a warning: > Warning: Type set to I. in on line and returns false. > It work

RE: [PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/ftp ftp.c ftp.h

2002-02-06 Thread Marc Boeren
>> WSAEFAULT: >> The name or the namelen parameter is not a valid part of the user >> address space, the namelen parameter is too small, or the name >> parameter contains incorrect address format for the associated address >> family. > Thanks, this helps a lot (I think). Does it work if you in

RE: [PHP-DEV] [Fwd: Re: [Zend Engine 2] Case sensitivity: Conclusion(?)]

2002-02-06 Thread Marc Boeren
> However, we need vote for if PHP5 will have case > sensitive class/function/constant names. +1 for case-sensitive everything Cheerio, Marc. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] [Fwd: Re: [Zend Engine 2] Case sensitivity: Conclus ion(?)]

2002-02-06 Thread Marc Boeren
> > +1 for case-sensitive everything > > so you volunter to rewrite all the code that uses oci or gd > extension now but uses it all lowercase? ;) I didn't say +1 for lower-case everything! (although that is my preference, for functionnames at least ;-) Cheerio, Marc. -- PHP Development Mai

RE: [PHP-DEV] [Fwd: Re: [Zend Engine 2] Case sensitivity: Conclus ion(?)]

2002-02-06 Thread Marc Boeren
> > +1 for case-sensitive everything > > -1. Differentiating two objects only by the case of their names > seems absurd to me. This is not how humans function. I don't think people should write code that differentiates by case, but case-sensitive coding leads to consistency in naming, so you w

RE: [PHP-DEV] [Fwd: Re: [Zend Engine 2] Case sensitivity: Conclusion(?)]

2002-02-06 Thread Marc Boeren
> oci and gd extensions had mixed-case names for ages, > but you see both mixed- and all-lower case usage > all over the place now OK, I see your point. I'll start writing a little shellscript that recursively crawls through your filesystem, updating every text-file against a list of function-na

RE: [PHP-DEV] 4.0.6RC4 out.

2001-06-20 Thread Marc Boeren
> Please test it http://www.php.net/~andi/php-4.0.6RC4.tar.gz Compiles just fine on my WinNT box (with the usual warnings). Could somebody with a bit more access to the cvs tree add the dbx.dsp project (in /ext/dbx) to the php_modules.dsw workspace (in /win32)? This isn't required for the 406 re

RE: [PHP-DEV] Totally Blue Sky

2001-06-25 Thread Marc Boeren
> I am pleased to announce that I dove into this new idea last night > and made my first proof-of-concept program (PoC-1) for this new > programming environment (which I am calling LocalPHP for the lack of > a better name, any suggestions?). I have a version of exactly what you wish to do rig

RE: [PHP-DEV] Totally Blue Sky

2001-06-25 Thread Marc Boeren
Hi! > I'm not sure you would be able to distribute a commercial > application that is built around PHP commercially, could you? > Isn't that what the GPL protects against? Well, PHP is just distributed as a cgi-application, with any modules compiled however you want. There are no modificatio

RE: [PHP-DEV] Totally Blue Sky / beta testers?

2001-06-26 Thread Marc Boeren
Hi! > That's excellent. Glad to see I'm not the only one who thinks this > is a cool idea. How long have you been in development of this? When > did you start? It's been a project originally to do the same thing as described, but without using php but rather a custom program that used IE a

RE: [PHP-DEV] Totally Blue Sky / beta testers?

2001-06-29 Thread Marc Boeren
Hi, > > Seriously, we could use a couple beta testers. I've been told I > > can accept 5 beta-testers. Benefits are that you can distribute > > your first project for free... Interested? > > *IF* I do not have to sign a non-compete, then count me in. If you > end up going the commercial rout

[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

[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

[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]

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_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_

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_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

RE: [PHP-DEV] Security Issues

2001-07-26 Thread Marc Boeren
Would it be a good idea to declare which parameters are allowed from outside, and which are internal to the application? If you set if ($user_string=='input' && $internal_allowed=='true') { ... } anybody can spoof $internal_allowed. However, if you must set this script up like this: a

RE: [PHP-DEV] Security Issues

2001-07-26 Thread Marc Boeren
> >>accept_parameters($user_string); // or something similar > register_globals off. > $user_string=$HTTP_POST_VARS["user_string"]; > > This accomplishes the same thing as your example, and doesn't > introduce any new syntax... I don't really see the advantage of the > "accept_parameters" idea

RE: [PHP-DEV] Security Issues

2001-07-27 Thread Marc Boeren
> Changing to register globals=off surely does very little in > terms of security for the easily fakeable GPC variables. Maybe not for these variables, but other variables used in your script cannot be faked by passing them as HTTP_POST_VARS. e.g., with register_globals=off if ($HTTP_POST_V

[PHP-DEV] 4.0.5 modules

2001-04-13 Thread Marc Boeren
Hi! Is there some policy about the inclusion of newly added modules to RC's? I'ld like to see the dbx module in the 4.0.5 release... Cheerio, Marc. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [PHP-DEV] Classes & function names

2001-05-04 Thread Marc Boeren
>IMHO, in a compatibility breaking upgrade, we should look into defaulting >to case sensitivity, while allowing case insensitivity as a non-default option. +1 Full case sensitivity is preferable, I think. Cheerio, Marc. -- PHP Development Mailing List To unsubscribe, e-

[PHP-DEV] cvs and crlf/lf

2001-05-07 Thread Marc Boeren
Hi! Is it true that CVS converts \r\n to \n and vice versa automagically for unix and windows users? Cheerio, Marc. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administra

[PHP-DEV] PHP 4.0.6RC1 - Win32 build of php4apache fails

2001-05-16 Thread Marc Boeren
> >I rolled 4.0.6RC1. It is ready for testing. > >http://www.php.net/~andi/php-4.0.6RC1.tar.gz > > > >Please everyone take sometime to make sure this is release worthy :) > > cgi version for win32 builds fine, apache module build gives errors: > > F:\home\cvs-php\php-4.0.6RC1\sapi\apache\mod_ph

[PHP-DEV] win32 php_modules.dsw and dbx.dsp

2001-05-16 Thread Marc Boeren
>I rolled 4.0.6RC1. It is ready for testing. Could someone please add the /ext/dbx/dbx.dsp to the php_modules workspace? Or give me some extra karma to write in anything besides /ext/dbx? Cheerio, Marc. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROT

[PHP-DEV] windows binary package...

2001-10-29 Thread Marc Boeren
Hi, Who is in charge of the windows binary packages? Bug id #13664 says php_dbx.dll is not included in the 4.0.6 package (and since it was EXPERIMENTAL in 4.0.6, that's ok), but it would be nice to have it in the 4.1.0 package, but I don't know where/how to do that... Cheerio, Marc. -- PHP D

RE: [PHP-DEV] 4.1.0RC2

2001-11-13 Thread Marc Boeren
> http://www.php.net/~zeev/php-4.1.0RC2.tar.gz > Do your thang :) Compiles and runs the testsets fine (winnt, cgi, mysql + dbx + proprietary extension) Cheerio, Marc. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

RE: [PHP-DEV] Some more warnings

2001-11-13 Thread Marc Boeren
> > C:\home\php\php4\ext\gd\gd.c(3537) : warning C4244: '=' : > > Conversion from 'float' to 'int', possible data loss > These definitely do not hide any sort of bug. They are > simply scaling an image and the result needs to be an int > as you can't have fractional pixels. So this data-los

RE: [PHP-DEV] sytanx again

2001-11-16 Thread Marc Boeren
> > > It's odd and inconsistent to have <%=, >I was also against >that consistency (symmetry?) is better. Let's take this one step further (into absurdity ;-) and also add = %var; just for consistency, of course :) > Now all that is left is to decide :) I think we're at a deadlock. > Who o

RE: [PHP-DEV] sytanx again

2001-11-16 Thread Marc Boeren
> > = %var; > IMHO: $var Ah well, it should have read $var of course, but the language is still 'php', not 'php='... Cheerio, Marc. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact th

RE: [PHP-DEV] sytanx again

2001-11-16 Thread Marc Boeren
> > = $var; > Why not remove this utter crap at all? =) BC! > (I know about BC, O. :) I never use the syntax, so I'm just going +1 for consistency and adding http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the l

RE: [PHP-DEV] PHP 4.1.0RC4

2001-11-30 Thread Marc Boeren
> > since news about 4.1.0 leaked out to the php-general list, > > wouldn't it make sense to call this one 4.1.1? (or 4.1.0pl1? :) +1 on 4.1.1 > Why?? Yes 4.1.0 was leaked on php-general and php-homepage.de > but both were replied to making it very clear 4.1.0 hasnt been > released yet. calli

RE: [PHP-DEV] Bug #14305 Updated: type-o on web site

2001-12-06 Thread Marc Boeren
> Quote: "IMO it's good as it is right now." > Dude, concreto is not even a word in English and the sentance > is a meaningless mess! The expression is 'in concreto' and it is probably Latin And 'in fact' seems a good translation into english, making the sentence 'good as it is right now'.

[PHP-DEV] new Zend Engine license?

2001-12-11 Thread Marc Boeren
Hi, About a month ago Zend announced that they would release the engine under a BSD-style license... I think I remember Zeev saying that the definitive version of the new license would be ready in a couple of weeks time (which could be around now :). Any updates on this issue? Cheerio, Marc.

RE: [PHP-DEV] new Zend Engine license?

2001-12-11 Thread Marc Boeren
> It still isn't in 4.1.0 because not all of the final small > issues were resolved Is that also the reason that on zend.com the old license is still listed on the products page? > but it's already in the CVS for the new version. I just updated my tree and found the modified file, thanks :)

RE: [PHP-DEV] new Zend Engine license?

2001-12-11 Thread Marc Boeren
> >This means I can link my proprietary app against 4.2.0-dev, > > but not 4.1.0, right? > No, you can and always could link anything you wanted with > PHP 4.x. The Zend Engine license had virtually no implications > for end users of PHP. This is also true if I created a modified sapi (taken

RE: [PHP-DEV] new Zend Engine license?

2001-12-11 Thread Marc Boeren
> Yep. OK, I'm happy :-) Cheers, Mc. -- 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] ftp extension for windows?

2001-12-13 Thread Marc Boeren
Hi, Is there any reason why the ftp module is not available as a msvc project in php_modules? If not, I'll add it... Cheerio, Marc. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

RE: [PHP-DEV] ftp extension for windows?

2001-12-13 Thread Marc Boeren
> it's built-in and IMO all modules that don't require external > libraries should become it too. Is there any reason to include some extensions in the core, and not others? I mostly use the win-version, but I have never used the COM or Calender or bcmath extensions, and this is the first time

RE: [PHP-DEV] PHP for Win32 without MySQL?

2001-12-18 Thread Marc Boeren
> Has anyone attempted to build a version of PHP on Win32 without MySQL? > normally until you hit php_mysql.c. Just remove the mysql files from the project and recompile? That should work, even though I didn't try it :) Cheerio, Marc. -- PHP Development Mailing List To

RE: [PHP-DEV] Re: Counterpart to htmlentities function: unhtmlentities

2002-02-27 Thread Marc Boeren
> > Yeah, but I believe both of you are _not_ agaist for having this, > > right? Having reverse order conversion function is nice when it is > > possbile to write one even if it is relatively easy to write. IMO. > > Ok, let me put it in a more blunt way then: I'm against adding > more bloat to

Re: [PHP-DEV] release process

2002-03-06 Thread Marc Boeren
> I promised to send a more detailed mail for the upcoming release process. > Please note that this is my view on it :) And your view is off by one month? ;-) [otherwise it looks fine] Cheerio, Marc. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.

RE: [PHP-DEV] cvs: ext/baby

2002-03-07 Thread Marc Boeren
> @@ -1,2 +1,6 @@ > Christine Lerdorf > Rasmus Lerdorf > +Buster (working name only) Lerdorf > +Born 13:26 PDT Wednesday March 6, 2002 > +Weight: 9.0 pounds > +Length: 19.25 inches Yea! - Marc -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/un

RE: [PHP-DEV] Vote on New Build System

2002-03-07 Thread Marc Boeren
> I'd like to get some input on the new build system. If there > are enough "yea" voices, I could merge it into 4.3.0.. Yea! - Marc. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] dbx

2002-03-07 Thread Marc Boeren
> Does anyone off hand know if dbx is supported in php version 4.0.6? It is, but Frontbase (since 4.1.0) or Sybase-CT (cvs only until the next release) support were not available back then. Cheerio, Marc. -- PHP Development Mailing List To unsubscribe, visit: http://www

RE: [PHP-DEV] cvs: php4 /main php.h

2002-03-15 Thread Marc Boeren
> Accoding to ISO9899(ANSI C) standard, NDEBUG is used for assert.h. > VC may define/use it some other reasons? I just don't have any idea. VC defines it for any(!) project you create as a compiler setting ( /D "NDEBUG" ) (for Release versions, for Debug versions it does /D "_DEBUG") As to the

Re: [PHP-DEV] DB Abstraction

2002-03-31 Thread Marc Boeren
Hi > What PHP really needs is a common C API for (1) and possibly (2) that > the database extensions themselves provide. That way there would be no > need for additional layers written in PHP or piggyback hacks like dbx > (sorry Marc :). Don't worry, I know what it is, it is still useful to me

RE: [PHP-DEV] Unsigned Right(Maybee Left) Shift [Again]

2002-04-04 Thread Marc Boeren
> Reasons expressed against it > > It is the heredoc operator > however, I need a tie breaker. Is the heredoc operator not a tie breaker (or decision maker) on it's own? No need to change the behaviour of an existing operator just for consistency, is there? Cheeri

Re: Re[3]: [PHP-DEV] Major Bug in multiple MySQL Connections?

2002-04-22 Thread Marc Boeren
> this sounds reasonable. But why don't the "connection aliases" keep > the current db they are working on and if needed, switch back - > transparently to the user? The current implementation only confuses > people. Try dbx, it does exactly that... Cheerio, Mc. -- PHP Development Mailing List

RE: [PHP-DEV] Re: Proposal

2001-07-30 Thread Marc Boeren
Hi, > force a prefix onto the variable name. I.e., > import_globals("GPC", "form_"); I like this idea (the whole idea of import_globals is good, I think, but I'd rather call it accept_globals, but more on that later :), only this would make it difficult to actually differentiate between get, p

RE: [PHP-DEV] Re: Proposal

2001-07-30 Thread Marc Boeren
> >accept_globals("GPC", 'user', 'password', 'value_*', 'more'); > I think that this is a clear example of "the enemy of good is > the even better" (I'm not sure how well this translates to > English :). Good enough to get your point :-) > behavior only prefixed, use import_globals("GPC", "

[PHP-DEV] build problem: bison.simple:99: parse error before 'do'

2001-08-08 Thread Marc Boeren
I'm trying to build the latest cvs on my Linux box, but I'm having a bit of a problem. I did a clean checkout of php4, Zend and TSRM this morning. I used the commands ./buildconf ./configure --with-mysql --enable-dbx make and what I get is Making all in Zend make[1]: Entering directory `/hom

FW: [PHP-DEV] build problem: bison.simple:99: parse error before 'do' -> \r\n or \n...

2001-08-08 Thread Marc Boeren
> -Original Message- > From: Marc Boeren > Sent: Wednesday, August 08, 2001 5:40 PM > To: 'Jani Taskinen' > Subject: RE: [PHP-DEV] build problem: bison.simple:99: parse error > before 'do' -> \r\n or \n... > > > > >

RE: FW: [PHP-DEV] build problem: bison.simple:99: parse error bef ore 'do' -> \r\n or \n...

2001-08-08 Thread Marc Boeren
> Duh! I should have read the email more carefully..I just get > this odd rash everytime I see anything that even resemple Windows.. :) I get that, too :) What is worse, though, is the multitude of stupid cross-platform incompatibilies, of which the whole EOL \r\n, \r, \n stuff is one of the mos

[PHP-DEV] compile fails on html.c (CODESET undeclared)

2001-08-08 Thread Marc Boeren
Latest cvs fails to compile on Linux (redhat 6.1) (clean checkout) ./buildconf ./configure --with-mysql --enable-dbx make produces... html.c: In function `determine_charset': html.c:232: `CODESET' undeclared (first use in this function) html.c:232: (Each undeclared identifier is reported only

  1   2   >