php - How do I require_once() this file? -

i want require_once() dbconnect.php in register.php . how do that? tried require_once('../dbconnect.php') not work (though work @ register level.
require_once("../../dbconnect.php"); 
i want require_once() dbconnect.php in register.php . how do that? tried require_once('../dbconnect.php') not work (though work @ register level.
require_once("../../dbconnect.php");
Comments
Post a Comment