View Single Post
  #1 (permalink)  
Old 12-27-2007, 10:51 PM
Caterwomtious Caterwomtious is offline
Junior Member
 
Join Date: Dec 2007
Posts: 2
Default Missing files for top level domains?

I'm just starting to replace a few bits of old code with ZF alternatives, and I'm trying to replace my validation of email addresses. Using the first code example on Zend Framework: Documentation I get the following error:

Code:
fopen(Zend/Validate/Hostname/Com.php) [function.fopen]: failed to open stream: No such file or directory
Sure enough, that file doesn't exist in the copy of ZF I downloaded from Zend Framework: Downloads.

Looking into the ZF code /Zend/Validate/Hostname.php line 325 says:

PHP Code:
$classFile 'Zend/Validate/Hostname/' ucfirst($this->_tld) . '.php'
It looks like there should be one file for each top level domain in that folder, but there are only files for eight of them.

Is the ZF missing something, or am I?
Reply With Quote