I'm trying to provide the path in PHP to download the file from Gmail and save it inside desktop folder name "Attachment"
$fp = fopen('C:\\Users\\Akash Atri\\Desktop\\Attachment' . $email_number . "-" . $filename, "w+")
But file saved to desktop not inside "Attachment" folder
Also tried,
$fp = fopen('C:\\Users\\Akash Atri\\Desktop\\Attachment\\' . $email_number . "-" . $filename, "w+")
but this also saving file inside desktop
Please help me out!!!