Re: My code has problem.
| From: | Curt Zirzow | Date: | Tue, 31 Aug 2004 06:14:17 +0000 |
| Subject: | Re: My code has problem. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195246@lists.php.net to get a copy of this message | ||
* 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!