[PHP-DEV] Photos from the Conference

2002-11-06 Thread Sebastian Bergmann
http://www.sebastian-bergmann.de/gallery/phpconference2002 -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP Development Mailing List To unsu

Re: [PHP-DEV] Documentation for Zend API for PHP Extensions

2002-11-06 Thread Diggy Bell
Thanks Maxim... I had found that page, but there are a number of functions (add_assoc_*()) that aren't covered there. But after a bit of header file scrambling, I managed to get it working. Thanks again! "Maxim Maletsky" <[EMAIL PROTECTED]> wrote in message news:20021105125029.1C09.MAXIM@;php.n

Re: [PHP-DEV] Please help document headers_sent()

2002-11-06 Thread Philip Olson
On Wed, 6 Nov 2002, Ilia A. wrote: > On November 6, 2002 07:10 pm, Philip Olson wrote: > > I get a Segmentation fault with this script using > > PHP CLI: > > > > > headers_sent($file, $line); > > ?> > > philip@rock:~$ php test.php > > Segmentation fault > > > > That's when no headers are

Re: [PHP-DEV] Please help document headers_sent()

2002-11-06 Thread Ilia A.
On November 6, 2002 07:10 pm, Philip Olson wrote: > I get a Segmentation fault with this script using > PHP CLI: > > headers_sent($file, $line); > ?> > philip@rock:~$ php test.php > Segmentation fault > > That's when no headers are sent before the call. But if > headers are sent beforehan

Re: [PHP-DEV] Please help document headers_sent()

2002-11-06 Thread nicos
Anyway to get a gdb backtrace please? -- M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. "Philip Olson" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > > I get a Segmentation fault with this script using > PHP CLI: > > headers_s

Re: [PHP-DEV] Please help document headers_sent()

2002-11-06 Thread Philip Olson
I get a Segmentation fault with this script using PHP CLI: philip@rock:~$ php test.php Segmentation fault That's when no headers are sent before the call. But if headers are sent beforehand, it works: philip@rock:~$ php test.php foo test.php : 2 With a fairly (a few weeks old) ve

Re: [PHP-DEV] Please help document headers_sent()

2002-11-06 Thread Philip Olson
> On Wed, 6 Nov 2002, Wez Furlong wrote: > if (headers_sent($file, $line)) { > echo "headers were sent by $file:$line"; > } [snip] Hello Wez- Ahh, that makes sense. I was a little off base on that one! :) Will add an example now. Regards, Philip -- PHP Development Mailing List

Re: [PHP-DEV] Please help document headers_sent()

2002-11-06 Thread Wez Furlong
Hi Philip, I think the idea is that you do this: if (headers_sent($file, $line)) { echo "headers were sent by $file:$line"; } Both $file and $line are optional. --Wez. On 06/11/02, "Philip Olson" <[EMAIL PROTECTED]> wrote: > Hello- > > headers_sent() has two new parameters as of PHP > 4.3.

Re: [PHP-DEV] Weird problem with version 4.2.3!

2002-11-06 Thread Daniele Baroncelli
I have found the archive. It seems that's the problem! Cheers Daniele "Daniele Baroncelli" <[EMAIL PROTECTED]> wrote in message news:20021106224708.99053.qmail@;pb1.pair.com... > Hi Paul, > > Thanks for your help! > > Can you tell me how to look for the message in the archive, please? > > > C

Re: [PHP-DEV] Java Extension

2002-11-06 Thread Dan Kalowsky
Hello Roshan, At the current time there is no real administrator for the ext/java system. It's pretty much no longer worked on. There have been a few patches to make it work with XYZ, but nothing in terms of stability or even close to moving it from EXPERIMENTAL. There is work towards making an

Re: [PHP-DEV] Weird problem with version 4.2.3!

2002-11-06 Thread Daniele Baroncelli
Hi Paul, Thanks for your help! Can you tell me how to look for the message in the archive, please? Cheers Daniele "Paul Nicholson" <[EMAIL PROTECTED]> wrote in message news:200211062209.gA6M94n10781@;WPD01.network.webpowerdesign.net... > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > He

[PHP-DEV] Please help document headers_sent()

2002-11-06 Thread Philip Olson
Hello- headers_sent() has two new parameters as of PHP 4.3.0, these are passed in by reference. I see no need to have to do: $file = 'file.php'; $line = 4; headers_sent($file, $line); When one could simply do this: headers_sent('file.php', 4); But we can't, we get this error: Fat

Re: [PHP-DEV] Weird problem with version 4.2.3!

2002-11-06 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, Your problem has something to do with "--enable-mbstr-enc-trans"you need to remove it. Check the archives for more info. HTH! ~Paul On Wednesday 06 November 2002 05:00 pm, Daniele Baroncelli wrote: > Hi guys, > > I have a very weird problem.

[PHP-DEV] Weird problem with version 4.2.3!

2002-11-06 Thread Daniele Baroncelli
Hi guys, I have a very weird problem. I have installed the PHP version 4.2.3 on the LINUX virtual server of my web project. Previously I had the PHP version 4.0.6. The error I get is very weird. When I insert a record with the phpMyAdmin, the first 4 characters of each field don't get saved. Sam

[PHP-DEV] Re: [PHP-DOC] Re: Manual page suggestions (was: dba_open...)

2002-11-06 Thread Philip Olson
> Some function return NULL some return FALSE and some return > either FALSE or NULL in case of an error. And some return -1, some iirc return 0. I believe this is because PHP is open source and developers provide return values based on their personal preferences. But I'm not a php-dev guy so a

RE: [PHP-DEV] compiling on windows vc++ bison error ?

2002-11-06 Thread Dave Viner
also, can you let me know what version of bison you are using ? thanks dave -Original Message- From: Dave Viner [mailto:dviner@;yahoo-inc.com] Sent: Wednesday, November 06, 2002 10:15 AM To: [EMAIL PROTECTED] Cc: Php-Dev@lists. php. net Subject: RE: [PHP-DEV] compiling on windows vc++ bi

[PHP-DEV] Java Extension

2002-11-06 Thread NAIK,ROSHAN (HP-Cupertino,ex1)
I was wondering what the current status of Java extension is. I know its still marked experimental.. Do the developers think it is reaching stability. It would be great for us to know if there is any clear intentions (if any) as of now to revamp it or change its api ? There has been some demand

RE: [PHP-DEV] compiling on windows vc++ bison error ?

2002-11-06 Thread Dave Viner
i have added c:\cygwin\bin to the vc++ directories>executables. below is the complete error message when i set ZendTS as the active configuration. It appears that bison simply isn't properly generating the .c and .h files. Both zend_language_parser.{h,c} and zend_ini_parser.c appear to be missing.

Re: [PHP-DEV] compiling on windows vc++ bison error ?

2002-11-06 Thread Maxim Maletsky
you need to make sure VC can find bison. What is the error exactly? -- Maxim Maletsky [EMAIL PROTECTED] "Dave Viner" <[EMAIL PROTECTED]> wrote... : > Hi, > I'm having difficulty compiling the PHP source code on Win2K with VC++ 6.0. > I've followed the instructions on the website, but I

[PHP-DEV] compiling on windows vc++ bison error ?

2002-11-06 Thread Dave Viner
Hi, I'm having difficulty compiling the PHP source code on Win2K with VC++ 6.0. I've followed the instructions on the website, but I keep getting errors compiling the ZendTS project. It appears that bison is not actually generating the zend_language_parser.{h,c} at all. However, from the

Re: [PHP-DEV] MySQL UDF that runs PHP

2002-11-06 Thread Adam Voigt
I'm very intrigued, this looks pretty cool. I don't suppose there's anyway you could link in the connectivity to the MySQL engine so you didn't have to have the same connection overhead as external mysql connections from standard PHP pages? Cause that would just be sweet. Adam Voigt [EMAIL PROTECT

Re: [PHP-DEV] Compile PHP-CODE

2002-11-06 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://pear.php.net/bcompiler ? ~Paul On Wednesday 06 November 2002 12:30 pm, Maxim Maletsky wrote: > oh ... I got it now - you want to compile the PHP code, not C code in > which PHP is written. Answer is: NO, you can't. > > You really should have se

RE: [PHP-DEV] Compile PHP-CODE

2002-11-06 Thread Peter Petermann
Hey, > > >Does anybody know about the possibilities of compliling the php > > > source code > > Yes, it's true, it is possible to compile PHP source code. > > My best friend's sisters' boyfriend's brother knew this guy who saw > > this other guy compile it once at 31 flavors.* > Hey, I know th

Re: [PHP-DEV] Compile PHP-CODE

2002-11-06 Thread Maxim Maletsky
oh ... I got it now - you want to compile the PHP code, not C code in which PHP is written. Answer is: NO, you can't. You really should have sent this to the general list, not dev - here we get confused :) -- Maxim Maletsky [EMAIL PROTECTED] Maxim Maletsky <[EMAIL PROTECTED]> wrote... : > >

Re: [PHP-DEV] Compile PHP-CODE

2002-11-06 Thread Pierre-Alain Joye
On Wed, 6 Nov 2002 16:16:23 +0100 "Betim Deva" <[EMAIL PROTECTED]> wrote: >Does anybody know about the possibilities of compliling the php >source code You cannot. But you can encode if this is what you need, check zend products or equivalent. If the goals are performances, look at Zend

Re: [PHP-DEV] Compile PHP-CODE

2002-11-06 Thread Maxim Maletsky
"Betim Deva" <[EMAIL PROTECTED]> wrote... : > Hey, I know that it;s not compiled,, You can have windows version already compiled - php.net/downlods for compiling on Linux look into the INSTALL file of the PHP distribution (which you can still get within the link above) > I just ask about pos

Re: [PHP-DEV] Compile PHP-CODE

2002-11-06 Thread Betim Deva
Hey, I know that it;s not compiled,, I just ask about possibilities... Becuse this is the only place where i can talk about these kind of problems - Original Message - From: "Dan Kalowsky" <[EMAIL PROTECTED]> To: "Betim Deva" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday,

Re: [PHP-DEV] dir() class suggestion

2002-11-06 Thread Maxim Maletsky
bugs.php.net is kind of a better place... As of your question: I disagree there should be a sorting feature. You can use your own sorting logic while looping the returned array, not telling PHP how to give you the directory contents. How would you go with limiting size? You'd need to specify so

Re: [PHP-DEV] Compile PHP-CODE

2002-11-06 Thread Dan Kalowsky
Yes, it's true, it is possible to compile PHP source code. My best friend's sisters' boyfriend's brother knew this guy who saw this other guy compile it once at 31 flavors.* On Wednesday, November 6, 2002, at 10:16 AM, Betim Deva wrote: Does anybody know about the possibilities of compliling

[PHP-DEV] dir() class suggestion

2002-11-06 Thread Boris Penck
Hi there, today I was playing around with dir() and my problem is that there is no chance to tell dir() weather to sort the files and directories. Sure, I'm able to read, dump all entries to an array, sort and print out the result. In cases with recursive directory trees a very bad ide

[PHP-DEV] CVS Account Request: phpclub

2002-11-06 Thread Alexandr Smirnov
Russian doc & other http://www.phpclub.net/ -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Compile PHP-CODE

2002-11-06 Thread Betim Deva
Does anybody know about the possibilities of compliling the php source code

RE: [PHP-DEV] Bug in PHP

2002-11-06 Thread Mike Robinson
Markus Fischer writes: > > You can use PHP as CGI on Win32/IIS platform which proves to > be far more stable or use Apache instead of IIS. > > The combination you're using is known to have serious > problems and is not recommended. > Is this documented anywhere? Regards Mike R

Re: [PHP-DEV] Bug in PHP

2002-11-06 Thread Markus Fischer
You can use PHP as CGI on Win32/IIS platform which proves to be far more stable or use Apache instead of IIS. The combination you're using is known to have serious problems and is not recommended. On Mon, Nov 04, 2002 at 05:36:53PM -0200, Domingos Teruel wrote : > Dear Sir, > >

[PHP-DEV] Bug in PHP

2002-11-06 Thread Domingos Teruel
Dear Sir, I am PhP programmer and have encountered the following error quite often: PHP has encountered an Access Violation at 77FCBAAC What could be causimg this errors? I have just installed the version 4.3 pre 1 after encountering the samen problems with the version 4.2.3. I have already

Re: [PHP-DEV] Undefined index: HTTP_IF_NONE_MATCH

2002-11-06 Thread Laurent FOINEL
php 4.2.2 and apache 1.3.26 on FreeBSD configure command: ./configure' '--with-apache=../apache_1.3.26/' '--with-mysql=/usr/local/mysql' '--with-ctype' '--with-zlib' '--with-gmp' '--with-mhash' '--with-ming=../ming-0.2a' '--with-regex=system' '--enable-wddx' '--with-xmlrpc' '--with-iconv=/usr/loca

[PHP-DEV] shtool update to 1.6.2?

2002-11-06 Thread Marcus Boerger
Will we update shtool from 1.5.4 (our current version) to 1.6.2 (actual version)? I just tried it and it seems to work. But i would like to here other meanings before commiting. marcus ChangeLog Changes between 1.6.1 and 1.6.2 (12-Jul-2002 to 02-Nov-2002): *) Map "shtool install -d [...]"

Re: [PHP-DEV] Undefined index: HTTP_IF_NONE_MATCH

2002-11-06 Thread Maxim Maletsky
Is it supported by your configuration? What's your system? -- Maxim Maletsky [EMAIL PROTECTED] "Laurent FOINEL" <[EMAIL PROTECTED]> wrote... : > > I would like to access to variable: > $HTTP_SERVER_VARS["HTTP_IF_NONE_MATCH"] > > but I have this error: > "Notice: Undefined index: HTTP_IF

[PHP-DEV] Re: Manual page suggestions (was: dba_open...)

2002-11-06 Thread Marcus Boerger
After the message from Philip Olson i was reminded that i had a little discussion about return values but could not find everything i collected. Some function return NULL some return FALSE and some return either FALSE or NULL in case of an error. I allways used to check for xxx() !== false since

Re: [PHP-DEV] PHP CLI environment variables

2002-11-06 Thread Pierre-Alain Joye
On Wed, 6 Nov 2002 14:11:03 +0100 Kjartan Mannes <[EMAIL PROTECTED]> wrote: > Doesn't this make things overly complex? Any good reason why the > missing values in variables_order don't just get automatically > appended to the end? It is just faster to check if the var exists and returns it inste

[PHP-DEV] Undefined index: HTTP_IF_NONE_MATCH

2002-11-06 Thread Laurent FOINEL
I would like to access to variable: $HTTP_SERVER_VARS["HTTP_IF_NONE_MATCH"] but I have this error: "Notice: Undefined index: HTTP_IF_NONE_MATCH in file..." why can't i access do this var ? My configuration is php 4.2.2 and apache 1.3.26 on FreeBSD -- PHP Development Mailing List

Re: [PHP-DEV] empty variables_order, was PHP CLI environment variables

2002-11-06 Thread Marcus Boerger
Interesting, i have $_ENV when variables_order is empty in ini using cli. But i still do get memory leaks. However i do get the expected result when i use -d option for the call. I also tested all the possible version to get this failed. [marcus@zaphod php4-HEAD]$ php -d "variables_order=\"\"" -r

Re: [PHP-DEV] PHP CLI environment variables

2002-11-06 Thread Kjartan Mannes
Wednesday, November 6, 2002, 1:54:21 PM, Pierre-Alain Joye wrote: > As far as I remember, this a knonw problem due to the variables order or > something like that. We ve got it in PEAR a few weeks ago, solved by > using a simple: > $foo = isset($_ENV['foo'])?$_ENV['foo']:getenv('foo'); > See php

Re: [PHP-DEV] empty variables_order, was PHP CLI environment variables

2002-11-06 Thread Melvyn Sopacua
At 13:52 6-11-2002, Marcus Boerger wrote: When ini setting variables_order is empty there are memory leaks in cgi as well as cli version. See below: marcus [marcus@zaphod marcus]$ echo "" ==> $_ENV isn't set in /bin/sh So memleaks on var_dump(void) Met vriendelijke groeten / With kind rega

Re: [PHP-DEV] PHP CLI environment variables

2002-11-06 Thread Kjartan Mannes
Wednesday, November 6, 2002, 1:46:25 PM, Marcus Boerger wrote: > Does ini setting variables_order include E? Does now and it works as expected. Thanks. > At 13:30 06.11.2002, Kjartan Mannes wrote: >>I just tried using php-cli from the latest cvs and am a little confused >>by the placement of shel

Re: [PHP-DEV] PHP CLI environment variables

2002-11-06 Thread Pierre-Alain Joye
On Wed, 6 Nov 2002 13:30:03 +0100 Kjartan Mannes <[EMAIL PROTECTED]> wrote: > I just tried using php-cli from the latest cvs and am a little > confused by the placement of shell environment variables. $_ENV is > empty, but the values are stored in $HTTP_SERVER_VARS and $_SERVER. > > Is this the p

[PHP-DEV] empty variables_order, was PHP CLI environment variables

2002-11-06 Thread Marcus Boerger
When ini setting variables_order is empty there are memory leaks in cgi as well as cli version. See below: marcus [marcus@zaphod marcus]$ echo "" | /usr/src/php4-ZE1/sapi/cgi/php-cgi /home/marcus/-(1) : Warning - Wrong parameter count for var_dump() Status: 200 Content-type: text/html X-Powered-

Re: [PHP-DEV] PHP CLI environment variables

2002-11-06 Thread Marcus Boerger
Does ini setting variables_order include E? At 13:30 06.11.2002, Kjartan Mannes wrote: I just tried using php-cli from the latest cvs and am a little confused by the placement of shell environment variables. $_ENV is empty, but the values are stored in $HTTP_SERVER_VARS and $_SERVER. Is this the

[PHP-DEV] PHP CLI environment variables

2002-11-06 Thread Kjartan Mannes
I just tried using php-cli from the latest cvs and am a little confused by the placement of shell environment variables. $_ENV is empty, but the values are stored in $HTTP_SERVER_VARS and $_SERVER. Is this the proper behavior? -- Kjartan <[EMAIL PROTECTED]> (http://natrak.net/) :: "Women are mad

Re: [PHP-DEV] [PATCH] A suggested fix for bug #19943 (Re: [PHP-DEV] bug #19943)

2002-11-06 Thread Maxim Maletsky
I *very slightly* tested it and it worked for me. Not sure of the old code though. -- Maxim Maletsky [EMAIL PROTECTED] "Ilia A." <[EMAIL PROTECTED]> wrote... : > On November 5, 2002 09:44 pm, Moriyoshi Koizumi wrote: > > Ilia, thank you for double-checking. > > > > Since I have no access to Z

[PHP-DEV] dba and db extensions

2002-11-06 Thread Marcus Boerger
Hi Markus, The main difference left between dba and db is that dba does not do any locking. We could easily add this by copying the necessary parts from the db extension. However we would need to change the resource type to also keep the lock information. Otherwise a crashed php or one that does n

Re: [PHP-DEV] CyberMut and SPPLUS

2002-11-06 Thread Markus Fischer
On Wed, Nov 06, 2002 at 04:04:48AM +0100, [EMAIL PROTECTED] wrote : > I really dont see why CyberMut should have one and not its > concurrent. There's nothing like commercial competition. This is an OS project. Due it's limited audience it fits perfectly into PECL and it's integration

Re: [PHP-DEV] CyberMut and SPPLUS

2002-11-06 Thread DJ Anubis
Le Mercredi 6 Novembre 2002 04:04, [EMAIL PROTECTED] a écrit : > Hello, Hi, > I see that CyberMut a paiement system from one of our french bank has > got its own extension. I'm working for SPPLUS one of an another bank in > France. I was wondering if we could also add an extension for it... I