i am creating file upload script and saving the file path to the sql, i use this script
$location = 'files/' . $file_name; $full_path = realpath($location);
It return
D:xampphtdocsau
why theres no slash, am i doing it wrong