> -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
> 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)...
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
> 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
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
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
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
> 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
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
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
10 matches
Mail list logo