Vote count:
0
I've got an issue with XAMPP. I've got two files: client.php and index.html.
Client.php connects to a mysql database and returns back a dump in json format. Index.html makes an ajax request (using jquery) to request that same json dump.
When I run client.php in my browser, everything works - I see the json printed out on the page. But when I run index.html, I get the source code of the php file.
I've tried navigating XAMPP to add in configuration to apache to prevent this, but I can't figure it out - php is clearly running, but the module isn't even loaded in my httpd.conf file?
Anyone know how to solve this issue?
asked 36 secs ago
Using XAMPP, ajax query returning php source code
Aucun commentaire:
Enregistrer un commentaire