I am trying to run a script via an ajax call in jquery; however, I am getting no result and seeing a "(canceled)" status in chrome's network view. This only happens when I request the `.php` script, but works fine if I request just a `.txt` file for example; I get an alert of `one\ntwo\nthree` when I change the url to "test.txt" in by `test.html` file below. My webserver is configured correctly and permissions of files are all appropriate. If I request my `.php` script from my browser, it returns "hello" as expected. Below are my three files, why do I get a cancelled request for `test.php` but not for `test.txt`?

test.html
---------

```
<!DOCTYPE html>
<html lang="en">
   <head>
      <meta charset="UTF-8">
      <link rel="shortcut icon" href="/favicon.ico">
      <script src="http://code.jquery.com/jquery.min.js" type="text/javascript"></script>
      <title>test</title>
   </head>
   <body>
      <button id="b">click</button>
      <script>
         $("#b").bind("click", function() {
            $.ajax({
               url: "test.php", // test.txt works fine
               type: "GET",
               cache: false,
               success: function(data) {
                  alert(data);
               }
            });
         });
      </script>
   </body>
</html>

```

test.txt
--------

```
one
two
three

```

test.php
--------

```
<?php
echo "hello";
?>

```

As mentioned, I get the correct "hello" output if I request `test.php` with my browser so it is executing fine.

`-rwxr-xr-x 1 me me 22 Oct 1 02:49 test.php`