prob with include file
| From: | Balaji Ankem | Date: | Wed, 19 Sep 2001 08:35:22 +0000 |
| Subject: | prob with include file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-67799@lists.php.net to get a copy of this message | ||
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
---------------------------------------------------------------------------------------------------------------------------------- Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailto:mailadmin@wipro.com and delete this mail from your records. ---------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------- Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailto:mailadmin@wipro.com and delete this mail from your records. ---------------------------------------------------------------------------------------------------------------------------------