[PHP-DEV] Re: MSSQL extension BugFix FreeTDS, datetime withmilliseconds

2003-03-02 Thread Frank M. Kromann
Hi Michael, Thanks. I'll have a look at the patch when I get back to the US (I'm in Denmark right now). I have one comment though: Compiling FreeTDS with the option --enable-msdblib will change FreeTDS to return the month as specified by Microsoft. FreeTDS 0.61 has a new feature where we can chec

RE: [PHP-DEV] Make Windows PHP Fork

2003-02-06 Thread Frank M. Kromann
Hi, For the PHP-GTK project I have created a small wrapper application called php_win.exe. It is used to launch a GTK script without showing the "DOS" box. You can download a copy from http://kromann.info/php-gtk.php and see if it does the trick for you. - Frank > This requires some Win32 magic

[PHP-DEV] Win32 crash (HEAD + ZE2)

2003-01-12 Thread Frank M. Kromann
Hi, This code works fine But this does not: where test.inc contains It works with other data types and I have tested it in Linux where it works. Any ideas ? - Frank -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] What Changed ?

2003-01-11 Thread Frank M. Kromann
Hi, After checking out PHP5 from cvs I'm having some strange problems. I'm building on Mandrake 9.0 and Win32 and everything builds fine. When running scripts through Apache 1.3.27 I get core dumps. Running the same script with the CLI version works fine. Other (simpler) scripts work fine in both

Re: [PHP-DEV] Non threadsafe Windows build

2003-01-10 Thread Frank M. Kromann
Hi, I have not used non thread safe versions since PHP3, and I think most users would like to see a working ISAPI or Apache version where we need the thread safe versions. - Frank > The project file(s) for the non threadsafe Windows build are out of > sync with the thread safe one(s). > >

Re: [PHP-DEV] What headers/libs does Win32 Snaps builduse?

2003-01-07 Thread Frank M. Kromann
The solution for this would be to create and maintain HOW-TO files for all the extensions requireing an external library. Many if these libs. can be downloaded and build from source files. Only a few requires commercial libraries. - Frank > Yes, Steph is right, the set of libraries used on the s

[PHP-DEV] Happy New Year

2002-12-31 Thread Frank M. Kromann
Hi All, It is still 2002 in California, and a few other parts of the world :-). I wish all of you a happy new year and I'm looking forward to be working on PHP in 2003. - Frank -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: #21139 [Ctl]:zlib.output_compression + windows failure

2002-12-26 Thread Frank M. Kromann
> On Thursday 26 December 2002 21:14, Frank M. Kromann wrote: > > > I think this is a good idea too, but on my system zlib.dll is required to > > run php.exe. If this is the case with the official build we might have a > > support issue. This could be a local problem wi

Re: [PHP-DEV] Re: #21139 [Ctl]:zlib.output_compression + windows failure

2002-12-26 Thread Frank M. Kromann
Hi, I think this is a good idea too, but on my system zlib.dll is required to run php.exe. If this is the case with the official build we might have a support issue. This could be a local problem with the way I compile the Zlib library ? - Frank > On Thu, 26 Dec 2002, Edin Kadribasic wrote: > >

Re: [PHP-DEV] Re: ground rules

2002-12-21 Thread Frank M. Kromann
Hi, It was decided to move php_printer.dll, as well as other extensions (iisfunc and ixsfunc) from the php repository to PECL. This was not caused by instability. These extensions all work fine (AFAIK). They were moved from php to PECL to reduce the size of PHP and tehreby reduce the time needed

Re: [PHP-DEV] RC4: ground rules

2002-12-21 Thread Frank M. Kromann
Just create php.exe (CLI version) in Debug_TS\cli, Release_TS\cli and Release_TS_inline\cli - Frank > On Fri, 20 Dec 2002, Frank Kromann wrote: > > Hi Andrei, > > > > Should I commit a small fix to the Windows projects to avoid having the > > CGI and CLI produce php.exe to the same directory ? >

Re: [PHP-DEV] RC4: ground rules

2002-12-20 Thread Frank M. Kromann
Hi Andrei, Should I commit a small fix to the Windows projects to avoid having the CGI and CLI produce php.exe to the same directory ? - Frank > Everyone, > > I have just released 4.3.0RC4. Despite the quote in my signature, I am > determined to keep this one the very last final RC of the inter

[PHP-DEV] CLI php.exe on WIn32

2002-12-20 Thread Frank M. Kromann
Hi, The latest changes to the project files under WIn32, creates name conflict, by having php.exe created from two different projects in the same directory. I suggest that we move the cli version from ..\Release_TS to ..\Release_TS\cli And the same for Debug_TS and Release_inline_ts builds. - F

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-19 Thread Frank M. Kromann
Edin, Are you doing the changes on Win32 also _ If not I'll make the changes. - Frank > > Here is the patch against PHP_4_3 that implements the Unix side of > changes. > > Edin > > > On Thu, 19 Dec 2002, Andrei Zmievski wrote: > > > This gets my complete support. Let's go ahead with the ch

RE: [PHP-DEV] php.exe - php-cgi.exe

2002-12-09 Thread Frank M. Kromann
> > As Leon has suggested, why not just compile the variants into different > directories? Say add a "cli/" (since the CLI is newer). Only one directory > would go into the PATH (presumably). > That would also affect the ini setting for extension_dir. The default value is ./ indicating the sam

Re: [PHP-DEV] php.exe - php-cgi.exe

2002-12-09 Thread Frank M. Kromann
> > Please mention the name change at least in the NEWS file and maybe php-cli > could even output a readable error when beeing called as cgi. These are good points. - Frank -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] php.exe - php-cgi.exe

2002-12-09 Thread Frank M. Kromann
Hi, How big can this problem be ? There is basically only a few ways to install or upgrade PHP. 1) Installing from source or binaries, in this case you would have to know at least a minimum about how the system works and it is very easy to rename php-cgi.exe to php.exe on these these systems. 2

Re: [PHP-DEV] useless config.w32.h and solutions

2002-12-01 Thread Frank M. Kromann
t;))?getenv("PHP_LIBDIR"):"c:\\php4" #define PHP_LOCALSTATEDIR (getenv("PHP_LOCALSTATEDIR"))?getenv("PHP_LOCALSTATEDIR"):"c:\\php4" #define PHP_PREFIX (getenv("PHP_PREFIX"))?getenv("PHP_PREFIX"):"c:\\php4" #define PHP_SYSCONFDIR (

Re: [PHP-DEV] useless config.w32.h and solutions

2002-12-01 Thread Frank M. Kromann
We could change it to something like this: #define PEAR_INSTALLDIR (getenv("PEAR_INSTALLDIR"))?getenv("PEAR_INSTALLDIR"):"c:\\php4\\pear" #define PHP_BINDIR (getenv("PHP_BINDIR"))?getenv("PHP_BINDIR"):"c:\\php4" #define PHP_CONFIG_FILE_PATH (getenv("PHP_CONFIG_FILE_PATH"))?getenv("PHP_CONFIG_FILE_

Re: [PHP-DEV] [PATCH 4.3.0] Win32 CoInitalize/CoUninitialize Call Move

2002-11-25 Thread Frank M. Kromann
+1 Looking through som old multithreaded code for other projects tells me this is the way to do it. - Frank > While stess testing the recent threading fixes under the ISAPI module I > was seeing a lot of instability in IIS after the testing finished. > While the PHP pages would continue to loa

Re: [PHP-DEV] Extending DB2 odbc support

2002-11-08 Thread Frank M. Kromann
Hi, To my knowledge IBM uses a Client Level Interface CLI and the specifications for CLI is exactly the same as ODBC. Compiling the ODBC extension with CLI and some other form of ODBC library would make sence if you wanted to use native IBM code and other ODBC at the same time. This was the case

Re: [PHP-DEV] ticks - broken in win32?

2002-05-20 Thread Frank M. Kromann
I get Notice: Undefined index: tick in ticks.php on line 4 - Frank > Can anyone else reproduce this? > > function tickit() > { >$GLOBALS["tick"]++; > } > > register_tick_function("tickit"); > > declare(ticks=2) { > $a = 1; > $b = 2; > $c = 3; > } > ?> > > I get a segfault

Re: RE: [PHP-DEV] Command line compilation under win32

2002-05-17 Thread Frank M. Kromann
Hi, I have been building php binaries for core and extension automaticaly for more than a year, without any problems. I have a set of scripts (.cmd files) that updates my cvs tree, builds core and extensions and then copies the files to my website. The scripts are run each morning a 4am by the

Re: [PHP-DEV] Error Linking Win32 Extensions

2002-04-24 Thread Frank M. Kromann
It is not enough to define COMPILE_DL<(MODULENAME> you also need this section #if COMPILE_DL_ ZEND_GET_MODULE() #endif and you need to define the module. I suggest you take a look at some of the other extensions 'ctype" is a good place to start. It is a simple wrapper extension with only tw

[PHP-DEV] Re: [PHP-DB] MSSQL DB Connect

2001-12-21 Thread Frank M. Kromann
Hi Jerry, You need to have the Client Tools for MS SQL Server installed on your PHP4 box. These tools is found on the CD, or you can just copy ntwdblib.dll fom one system to another. The default communication protocol will be netbios, if you want to change that to tcp/ip you need to install th

[PHP-DEV] File upload on Win32

2001-12-03 Thread Frank M. Kromann
Hi, Is it me or is upload broken in 4.2.0-dev from cvs ? php.exe hangs after uploading the first 8.192 bytes. Nothing happens, no cpu usage. - Frank -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

[PHP-DEV] Re: [PHP-WIN] How to compile PHP with cygwin?

2001-11-15 Thread Frank M. Kromann
Hi, Only MS VC++ is supported at this point. - Frank > Hi > > I wonder if anyone have managed to compile PHP with cygwin. I get > several errors when doing this. > > I also wonder if I intend to make a dll to extend PHP for windows, > should I then compile PHP with cygwin or with MS Visual C

[PHP-DEV] Benjamin Kromann

2001-11-01 Thread Frank M. Kromann
Hi, It is getting late now in CA, but I have to tell you all about Benjamin Kromann, our new son :-) He was born last night at 11:23pm and he is a healthy boy 50 cm long and he weighs 3550 g. Mis mom is doing very well allthough we all need some sleep now. Happy hacking to all of you and I'll

Re: [PHP-DEV] Sybase and Sybase-CT and MSSQL, oh my?

2001-09-06 Thread Frank M. Kromann
/Unix. This would allow the client to request data from the broker and the broker could query any OLE DB provider available. - Frank > Hi Frank, > > On Wed, 5 Sep 2001, Frank M. Kromann wrote: > > > > I can't help but notice that MSSQL, Sybase, and Sybase CT-Lib eac

Re: [PHP-DEV] Sybase and Sybase-CT and MSSQL, oh my?

2001-09-05 Thread Frank M. Kromann
> I can't help but notice that MSSQL, Sybase, and Sybase CT-Lib each have their > own PHP extension. What I wonder if many people have /not/ noticed is that > two of these extensions implement the same C API on different platforms (mssql > targetted for Windows systems, sybase targetted for Unix

[PHP-DEV] Latest CVS on Win32

2001-08-01 Thread Frank M. Kromann
Hi All, PHP crashes on Win32 with the following code class c1 { var $a = null; var $b = null; function c1($a, $b) { $this->a = $a; $this->b = $b; } } $handler = new c1("1", ""); changing the code to this seams to fix the

Re: [PHP-DEV] Re: Engine problem

2001-07-17 Thread Frank M. Kromann
To my knowledge 4.0.6 works fine, but the latest cvs does not. - Frank > That's not what I asked :) I played with this code (a bit) a couple of > days ago. Can you verify whether this problem is happening in the old > (say, 4.0.6) version..? > > At 22:49 17/07/2001, Andrei Zmievski wrote: >

Re: [PHP-DEV] PHP Working Groups

2001-07-09 Thread Frank M. Kromann
> On Tue, Jul 10, 2001 at 07:51:14AM +0300, Andi Gutmans wrote: > > > I think it's something we should consider. From what Joey wrote it sounds > > as if the PHP Group is perceived as something *above* php-dev in the > > community. I don't think this is a good thing and therefore most > > di

Re: [PHP-DEV] [UPDATE] NGScan

2001-07-09 Thread Frank M. Kromann
Hi All, This has been an interesting discussion to follow all day, and it sure took the focus away from my ordinary work for quite some time :-) If we all could think before sending mails and perhaps wait a while before reacting emotional I think threads like this could be avoided. Many of the

Re: [PHP-DEV] unix install paths changed

2001-04-23 Thread Frank M. Kromann
These have to be defined on Win32 as well. In order to compile I can just put some default definitions in config.w32.h. I'm getting another error though: D:\php\php4\main\php_ini.c(190) : error C2065: 'llist_dtor_func_t' : undeclared identifier There is llist_dtor_func_t defined ? - Frank

[PHP-DEV] Re: [PHP-WIN] Dynamic Pulldown lists

2001-04-19 Thread Frank M. Kromann
You can do this by reloading the page when the first list is changed or by applying all the different values for the second list in JavaScript arrays and have some JavaScript code to populate the second list. - Frank > A little help from anyone please. > > I know this was discussed before but

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-18 Thread Frank M. Kromann
> [Ron Chmara <[EMAIL PROTECTED]>] > > "Frank M. Kromann" wrote: > > > > > > Is there a list of modules that stays ? > > > > One of the things I've noticed on this topic is that a few > > folks tend to think that their part

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-17 Thread Frank M. Kromann
Is there a list of modules that stays ? I would like to see a way to make sure modules (I maintain) is not falling to far behind main releases. - Frank > We need to think about it. I think that keeping the release cycle of this > selected set of modules in sync with the PHP releases is actua