RE: [PHP-WIN] two questions: error_log and timeout

2003-02-03 Thread Svensson, B.A.T. (HKG)
> -Original Message- > From: Henrik Hornemann [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 2:04 PM > To: '[EMAIL PROTECTED]' > Subject: SV: [PHP-WIN] two questions: error_log and timeout > > > Hi, > > > -Oprindelig med

RE: [PHP-WIN] two questions: error_log and timeout

2003-02-03 Thread Svensson, B.A.T. (HKG)
> From: Luis Ferro [mailto:[EMAIL PROTECTED]] > > Svensson, B.A.T. (HKG) wrote: > > >Q&A 1: Have you checked the file in a hex editor/viewer? > > > > > Another solution is to open the file with wordpad instead of notpad... > (wordpad knows what are unix delimited files, and notepad doesn't)...

SV: [PHP-WIN] two questions: error_log and timeout

2003-02-03 Thread Henrik Hornemann
Hi, > -Oprindelig meddelelse- > Fra: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]] > Sendt: 3. februar 2003 13:03 > Til: Henrik Hornemann; [EMAIL PROTECTED] > Emne: RE: [PHP-WIN] two questions: error_log and timeout > > > Q&A 1: Have you checked the

RE: [PHP-WIN] two questions: error_log and timeout

2003-02-03 Thread Sjon
> Is there a way to force line breaks in the error log? write your own error_log wrapper. I usually do something like this: function error ($msg) { error_log(sprintf('[%s] %s %s', date('d-m-Y H:i:s'), $msg, "\r\n"), 3, 'D:/path/to/error.log'); } > CGI Timeout > The specified CGI applicati

Re: [PHP-WIN] two questions: error_log and timeout

2003-02-03 Thread Luis Ferro
Svensson, B.A.T. (HKG) wrote: Q&A 1: Have you checked the file in a hex editor/viewer? Another solution is to open the file with wordpad instead of notpad... (wordpad knows what are unix delimited files, and notepad doesn't)... Cheers, Luis Ferro Teladigital.net --- [This E-mail scanned f

RE: [PHP-WIN] two questions: error_log and timeout

2003-02-03 Thread Svensson, B.A.T. (HKG)
m: Henrik Hornemann [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 12:39 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] two questions: error_log and timeout > > > Hi all, > > I hope you can help me. > I'm running php 4.3 as ISAPI under IIS on Windows 200

[PHP-WIN] two questions: error_log and timeout

2003-02-03 Thread Henrik Hornemann
Hi all, I hope you can help me. I'm running php 4.3 as ISAPI under IIS on Windows 2000, SP3 MS-SQL Server 2000, SP2. I have these two problems that has been bugging me for some time: I'm logging php errors and warnings to a log file. But mostly there are no line breaks in the resulting file, whi

[PHP-WIN] Re: R: [PHP-WIN] Two questions

2001-01-18 Thread andy
> The second question sound strange: > try: > include("myinc.php") /* think double quotes are needed */ > ?> > > myfunc(); /* myfunc defined in myinc.php */ > ?> > > Normal HTML stuff goes here > myfunc(); > ?> Silly me: First I forgot those quotes when I was typing the example, and then I

[PHP-WIN] R: [PHP-WIN] Two questions

2001-01-18 Thread Ermanno Iannacci
I think "\r\n" should work. The second question sound strange: try: Normal HTML stuff goes here > I'm a newcomer to PHP, and I'm trying to use it to simplify the process of > creating an HTML help file. > I have two questions: the first is, is there any way to change the newline > string t

[PHP-WIN] Two questions

2001-01-18 Thread andy
I'm a newcomer to PHP, and I'm trying to use it to simplify the process of creating an HTML help file. I have two questions: the first is, is there any way to change the newline string that the "\n" escape produces? At the moment it is outputting 0x0A, while I would prefer it if it would produc