Hi,
$httppath = “http:www.mydomain.net/dir/”.$_SERVER[‘HTTP_HOST’].dirname($_SERVER[‘PHP_SELF’]);
I’m not getting the path right because when the file is uploaded the URL
ends up being "http:www.mydomain.net/dir/file.jpghttp:www.mydomain.net/dir/file.jpg
Any help with this little error appreciated.