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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

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

c# - Search and Add Comment with OpenXML for Word -