Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
PHP stderr
Name: ShaqDiesel Date: July 13, 2006 at 11:58:50 Pacific OS: NYB CPU/Ram: NYB Product: NYB
Comment:
How do you direct something to stderr in php, as opposed to the default stdout? Thank you.
Name: tonysathre Date: July 13, 2006 at 14:05:08 Pacific
Reply:
What are you trying to redirect? An error, or something else?
I'm not sure in Windows, but in Unix/Linux Bash you can use > to redirect to stdout and 2> to redirect to stderr.
I have NOT lost my mind — I have it backed up on tape somewhere
0
Response Number 2
Name: ShaqDiesel Date: July 13, 2006 at 16:21:50 Pacific
Reply:
If PHP throws an exception, I would like that to go to std err so I can do the 2>. Or, I would like to catch the error somehow and append it to a file.
0
Response Number 3
Name: anonproxy Date: July 14, 2006 at 17:02:21 Pacific
Summary: I'm trying to make a PHP form that e-mail me and this is what happend... I'm sure I'm doing something stupid and it's probley easy to fix but her it is... //My HTML Email: Message: //My PHP No...
Summary: Hey All, Small snippet of code....keep getting a parse error and CANNOT see anything wrong with the code. It is driving me nuts! **** signifies parse error line... <- are HTML/PHP tags...what ha...