|
Posted by Simon on 01/12/06 17:31
>
> The problem isn't file() or fopen(), but include() and require().
> Remote inclusion is the typical way a PHP worm deploys its payload.
> Currently the only way to disable that is allow_url_fopen, which of
> course disables everything. The good news is that a separate option
> will be added sometime in the future and it'll be off by default.
No, it has nothing to do with include() or require().
They are not even used for the same thing.
The problem is that I am trying to use fopen(...) or file(...) to read the
content of another site but if that site is down then they simply don't
return.
I want a way, (other than system(...) and shell_execute(...)), to test if a
domain is up.
Simon
Navigation:
[Reply to this message]
|