* Thus wrote Pahlevanzadeh Mohsen:
> My code is:
> <?
>  include_once('./auth/Auth.php');
>  function x(){echo "xxxxxxxxxxxxxxxxxxx";}
> 
> 
>  $parameterforauth=array("dsn"=>"",
>                          "table"=>"usernames",
>                          "usernamecol"=>"user",
>                          "passwordcol"=>"pass");
>  $ptr_auth_C=new auth("DB",$parameterforauth,"x");
>  $ptr_auth_C->start();
> ?>
> 
> My output is :
> Warning: _factory(Auth/Container/DB.php): failed to
> open stream: No such file or directory in
> /var/www/html/forum/auth/Auth.php on line 218

Change your include_path to include:
 /var/www/html/forum/auth/


Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to