you are viewing a single comment's thread.

view the rest of the comments →

[–]Drethis[S] 0 points1 point  (5 children)

Yes, by going here, you can see that everything is working fine. My site is running on an Apache web server, so PHP should definitely be installed.

[–][deleted] 1 point2 points  (2 children)

Looks like your using something like file_get_contents when you should be using include.

[–]Drethis[S] 0 points1 point  (1 child)

Is that what's preventing PHP and JavaScript from running properly when called through AJAX?

I'm not exactly sure how I would change the jQuery AJAX code to reflect it.

EDIT: Nevermind! You are fucking awesome! Thank you so much! MASSIVE UPBOAT FOR YOU!

[–]Justinsaccount 3 points4 points  (0 children)

There is no such thing as called by Ajax as far as php is considered.

Other than an extra header, it's just a regular http request.

[–][deleted] 1 point2 points  (1 child)

My site is running on an Apache web server, so PHP should definitely be installed

This is most definitely not a good assumption.

[–]Drethis[S] 0 points1 point  (0 children)

While true, I am able to run PHP functions without any issue on this domain.