Ok, this is what I'm using
Code: Select all
$url = $config['server_protocol'].$config['server_name'].$config['script_path'];
I'm not sure if I'll need to check the value of $config['script_path'] to see if I need to append a "/" for when I extend the URL to include a file/folder.