why am I getting a 'failed to open stream error'

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

User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

in order to see what realpath returns, you need to echo/print/var_export/var_dump it.
mudvein
Forum Commoner
Posts: 45
Joined: Wed Mar 16, 2005 4:39 pm

Post by mudvein »

Warning: main(SSI/footer.htm): failed to open stream: No such file or directory in c:\inetpub\wwwroot\Administration\Staff_Appreciation_Awards.php on line 219
This tells you that you are not in the correct folder... cuz you just said that it was in localhost/SSI, and this says that youa re trying to access it in http://localhost/Administration/SSI... which, according to your first statement, means that isn't looking in the right place...
Post Reply