PEAR and problems with Inc.

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
User avatar
Assured99
Forum Commoner
Posts: 81
Joined: Wed Jul 12, 2006 11:48 am
Location: California

PEAR and problems with Inc.

Post by Assured99 »

I am trying to run a script for a log in auth and im getting this error:

Warning: include(functions.inc) [function.include]: failed to open stream: No such file or directory in c:\Inetpub\wwwroot\double_form.inc on line 6

Warning: include() [function.include]: Failed opening 'functions.inc' for inclusion (include_path='.;C:\PHP\pear') in c:\Inetpub\wwwroot\double_form.inc on line 6


Line 6 is part of 4 other lines that note the script??

any ideas what this could possibly be???

Thanks

~Snapple
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

it means it can't find or read the file.

pear actually has nothing to do with this. the only reason it mentions pear is because pear is included in your 'includes' section in php.ini.

you might verify that the file is in the location from which you're trying to include it and make sure that it has read permission.
User avatar
Assured99
Forum Commoner
Posts: 81
Joined: Wed Jul 12, 2006 11:48 am
Location: California

Post by Assured99 »

Well i checked the Permissions and they are Read, but it still cant find it they are all in the wwwroot folder

This is Fustrating
User avatar
Assured99
Forum Commoner
Posts: 81
Joined: Wed Jul 12, 2006 11:48 am
Location: California

Post by Assured99 »

It accually looks like i am having problems with all my INC files.

I am sucha noob
Post Reply