Can't require 'config.php'? -


is config.php reserved name or why following not working me?

i have following files:

/test.php:

echo "test<br/>"; require("php/session.php"); 

/php/session.php:

echo "session<br/>"; require("connect.php"); 

/php/connect.php:

echo "connect<br/>"; require("config.php"); 

/php/config.php:

echo "config<br/>"; 

if open /test.php, prints test, session , connect. if rename config.php else , change require in connect.php, works.


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -