Where does admin.php live?
Is it in /www/inc?
If not, either move it there, or change your include_path in php.ini to be:
include_path = "./:/www/inc"
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Balaji Ankem <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 19, 2001 3:35 AM
Subject: prob with include file
> Hi!
>
> same is working on windows but on Lynux giving the following
> problem..
>
> Warning: Failed opening 'admin.php' for inclusion
(include_path='/www/inc')
> in /www/imac/authentication.php on line 46
>
> ----------------------------------------------
> if ($row->user_type=='A')
> {
> file://close mysql connection
> mysql_close($connection);
> include('admin.php');
> exit;
>
> }
> else if ($row->user_type=='S')
> {
> file://close mysql connection
> mysql_close($connection);
> include('super.php');
> exit;
> }
> else if ($row->user_type=='O')
> {
> file://close mysql connection
> mysql_close($connection);
> include('ordinary.php');
> exit;
>
> }
>
> -----------------------------------------
>
> And i tried this also include('./admin.php');
>
> ------------------------------
>
> Thanks in advance
>
> Regards
> -Balaji
>
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]