I have a problem output my log file to my Desktop. I am using Windows 7.
<?php
$log = "All the log file !";
$file_name = 'data.txt';
$file_path = 'Desktop\\test\\'.$file_name;
file_put_contents($file_path, $log );
On my Desktop already have a test folder.
when I open it, nothing is there
What did I do wrong - here ?