Jump to content

Whats the meaning of this...


3s2ng

Recommended Posts

Hello Freaks,

I'm just a noob in PHP and I'm wondering whats the meaning of these.

[code]include ( "./defaults.php" );[/code]

As you noticed before defaults.php that it has "./" in it. What probably the meaning of it?

Becuase When I try to run the above code an error like this one

Warning: include(C:/apache/htdocs/directory./template/default/header.php) [function.include]: failed to open stream: No such file or directory in c:\apache\htdocs\directory\index.php on line 44

Thanks
MARK

Link to comment
https://forums.phpfreaks.com/topic/19824-whats-the-meaning-of-this/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.