hi,
i've defined a constant name in 1.php
eg. define("SITE_URL", "http://www.abc.com/");
i tried to add this constant in 2.php but encounter difficulties.
eg. i try to include 3.php
include_once ('SITE_URL/3.php'); ok
require_once ('SITE_URL/3.php'); not ok
eg. i try to redirect user to another page
header('Location: http://www.abc.com/index.php'); ok
header('Location: SITE_URL/company/index.php'); not ok
Am i missing out something when using the constant name?