if I open the php file directly, it will generate the "mytest" file.
If I use ajax to call the php file however, SOMETIMES it works, but other times the "mytest" file will not be generated.
However I do receive the "hi" back from the ajax call every time.
Does anyone know why this is?
$file_path = "/mytest";
My Ajax call is copied from w3schools, and shouldn't be a problem. I also used the ajax function in jquery and the same problem.
BTW I am using windows XP and IE, running xampp as my webserver and sql on localhost.
If anyone can give me some advise it would be greatly appreciated!