View Single Post
  #7 (permalink)  
Old 08-20-2008, 12:40 PM
NicP NicP is offline
Junior Member
 
Join Date: Apr 2008
Posts: 9
Default

I tried this

PHP Code:
<?php


    
include_once 'Zend/Loader.php';

    
$path 'Form/Element/';
    
$classFile 'Submit.php';
    if(
Zend_Loader::isReadable($path $classFile)) {
        Echo 
'Yes<hr>';
    } else echo 
'No<hr>';
include_once 
$path $classFile;
and get this

Yes

Warning: include_once(Form/Element/Submit.php) [function.include-once]: failed to open stream: No such file or directory in I:\ws2\chunt\test.php on line 11

Warning: include_once() [function.include]: Failed opening 'Form/Element/Submit.php' for inclusion (include_path=';I:/ws2;I:/ws2/Library') in I:\ws2\chunt\test.php on line 11

That is the cause of my problem
Reply With Quote