php how to decect if wget faced 404 error?

Posted by Kirzilla on Stack Overflow See other posts from Stack Overflow or by Kirzilla
Published on 2010-03-29T09:43:09Z Indexed on 2010/03/29 9:53 UTC
Read the original article Hit count: 109

Filed under:
|

Hello,

I'm running wget through php's shell_exec() How could I understand that wget got 404 error getting file?

Thank you.

© Stack Overflow or respective owner

Related posts about php

Related posts about wget