I am trying to include a php file using a MAMP localised server:
$path = "../function/function.php";
include_once($path);
This path just doesn't seem to work. What paths do I need to use in order to include php files into other php files using MAMP locally?
The path that works when I type in the browser is:
http://localhost:8888/function/function.php