Hello Guys,
I'm having problems with PHP + Ajax.
The problem is that I am not knowing where to put my. Php
I made an example by putting the folder C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ htdocs \ construct, but failed.
Can anyone help me?
IMAGE
imagebam.com/image/ffa2ae185798372
PHP
<?php
if ($_GET['mode']=="save") {
$score = $_GET['score'];
}
$fp = fopen("testFile.txt", "a");
$escreve = fwrite($fp, "Test MSG");
fclose($fp);
?>