fopen opens php file and don't open sql file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
KhasDenis
Forum Newbie
Posts: 1
Joined: Mon Aug 18, 2003 9:52 am

fopen opens php file and don't open sql file

Post by KhasDenis »

I've the following problem ...
I need to open file test.sql over http
fopen ("$base_url/setup/test.sql", "r") ... here is I have false result
but if I replace test.sql to test.php ... all ok ....
Have I problem in apache settings ? What is the problem ?
Thanks in advance..
PS. Files (test.sql and test.php) have the same set of permissions.
Post Reply