Sometimes
Sometimes, PHP is really nice. It's easy to use - sometimes. The times that it isn't, is like hitting your head on a brick wall. Now that the DNS functionality has been fixed for PHP in windows (hurrah! at last!) all I need to be able to do is to somehow be able to specify timeouts for the appropriate DNS functions. Which as far as I can tell, can't be done. I guess it probably serves me right for trying to write a server application.

1 Comments:
DNS is as DNS does, for better for worse. The timeouts are set in stone unless you either rewrite gethostbyname() etc. (using wait()/sigalarm()) or set up wait()/sigalarm inside php which I suspect aren't available.
PHP is cool, but it's meant to be small and fast, not C or Perl. In fact it often amazes me how capable and feature-rich PHP actually is compared with its size.
By
nic, at 3:03 pm
Post a Comment
<< Home