0

I am making a html5 app in android, I had to change my html file extension to .php for it to work. I don't want to do that. How do I get php to work w/o changing my whole file? thanks

<?php

$myarray[] = "noticable";
$filename = "geo.php";
$mystring = implode("\n", $myarray);
$numbytes = file_put_contents($filename, $mystring . "\n",    FILE_APPEND);
print "$numbytes bytes written\n";

?>

I want index.html not index.php

stUrb
  • 5,635
  • 5
  • 35
  • 63
Joe Luna
  • 1
  • 1

0 Answers0