quick PHP question.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • colpanic
    Confirmed User
    • May 2004
    • 1007

    #1

    quick PHP question.

    This should be easy.. but I don't know PHP (I know about 10 other languages though )

    How the hell do I print to STDERR??? I figured it would be

    print STDERR "blah";

    But I keep getting a weird error...

    Help!
    I like ducks.
  • Repetitive Monkey
    Confirmed User
    • Feb 2004
    • 3505

    #2
    fopen("php://stderr","w");
    Last edited by Repetitive Monkey; 11-27-2004, 03:11 PM.

    Comment

    • colpanic
      Confirmed User
      • May 2004
      • 1007

      #3
      Wow,

      thanks, that worked... but holy over complicated mechanism batman!!!

      Most languages just have STDERR always there by default... that is really irratating.

      Anyway, thanks again.
      T
      I like ducks.

      Comment

      Working...