[PHP-WIN] COM extension causing Apache to crash under W2000

2003-06-26 Thread Francesco Marsan
I have been able to access COM objects from PHP under W2000 without too much problems. Recently I set up a new W2000 server and the COM extension of PHP is not working. The first 6-10 calls I do to COM (to read Excel cells) work fine, but them subsequent ones provoke Apache crashing. Can someone he

[PHP-WIN] R: [PHP-WIN] PHP randomly is not parsing a valid script

2003-09-22 Thread Francesco . Marsan
I ported all the code/data to a twin machine I have. And there everything works fine - no problems - as was also in my production machine, before the problems started to appear. The *only* difference between the 2 machines is that one has W2000 Server Italian version, and the other one the English

[PHP-WIN] R: [PHP-WIN] Re: R: [PHP-WIN] PHP randomly is not parsing a valid script

2003-09-22 Thread Francesco . Marsan
Every time it is a different error - but always a syntax error - like if the line of code contained a syntax error, which in fact it does not. E.g. I get an error that an invalid logical and (&&) is appearing (and in fact there is one in the line of code) but it is not really invalid. I just need

[PHP-WIN] R: R: [PHP-WIN] Re: R: [PHP-WIN] Re: R: [PHP-WIN] PHP randomly is no t parsing a valid script

2003-09-22 Thread Francesco . Marsan
I doubt it is a EM-radiation influence, because the twin machine that is working is in the same rack as this one. But of course it could always be another kind of hardware error, it is always possible. I don't see any other anomaly in the machine though. I haven't experienced any delays, in fact th

[PHP-WIN] R: [PHP-WIN] Re: R: [PHP-WIN] Re: R: [PHP-WIN] PHP randomly is no t parsing a valid script

2003-09-22 Thread Francesco . Marsan
Also elsewhere, like (very often): "parse error, unexpected T_ENCAPSED_AND_WHITESPACE" -Messaggio originale- Da: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED] Inviato: lunedì 22 settembre 2003 17.07 A: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Oggetto: [PHP-WIN] Re: R:

[PHP-WIN] weird random parse errors on PHP 4.1.x / Win2k

2003-10-03 Thread Francesco . Marsan
Hi Geoff, I've seen your message on the PHP/Windows list, and I'm writing because I get the **exact** same problem on my box: HP Proliant dual Xeon 2,8Mhz - 1GB RAM PHP 4.2.2 Apache 1.3.22 On myne it happens even if just one user is accessing the pages. On another server -- it is a little bit old

[PHP-WIN] R: [PHP-WIN] best php editor?

2003-11-04 Thread Francesco . Marsan
Or Ultraedit. Super-fast. -Messaggio originale- Da: Luis Moreira [mailto:[EMAIL PROTECTED] Inviato: martedì 4 novembre 2003 17.28 A: Disko_kex; 'Bobo Wieland'; [EMAIL PROTECTED] Oggetto: Re: [PHP-WIN] best php editor? There is also PHPEDIT and TEXTPAD (this one at http://www.textpad.com/

[PHP-WIN] R: [PHP-WIN] Problem No of weeks returned by date function

2004-06-10 Thread Francesco . Marsan
There are 2 different ways to calculate the week number: the date() function only provides for one. The other one (called "ISO") can be calculated using this function, taken from the online notes to the PHP manual (so always back to RTM): function ISOWeek($y, $m, $d) { $week=strftime("%W", mktim