Reply to DNS lookups only sometimes

Your name:

Reply:


Posted by Jadel Menard on 10/07/05 22:54

I have an email validation script written in PHP that works on most
Apache machines I try it on, with the exception (of course) of my production
box that it needs to go on. This production machine is a Slackware 10.2 box,
running Apache 1.33 and PHP 4.4.0.

The script works if I call it from the command line with "php -f
filename" however, if I try to call the same script from a browser (served by
httpd) the DNS check is never made, and the script returns that the domain of
the email address is invalid.

The httpd people tell me that once Apache calls a .php page, PHP
handles the actual parsing of that page, so if these DNS queries aren't
happening when the page is called through a browser, what is changing from
when they are called from the command line?

Thoughts?

Best,
Jadel

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация