ajax form submit in index.php returns shorten.php source instead of shortened url #6

ljgww opened this Issue Dec 2, 2011 · 2 comments


None yet
2 participants

ljgww commented Dec 2, 2011

its puzzling as to why shorten.php do not get executed in ajax call. PHP works fine. Scripts do not raise exceptions.

ljgww commented Dec 2, 2011

guessed jquery may be the issue i have tried with more recent version of jQuery (http://code.jquery.com/jquery-1.7.1.min.js) however no go... same thing happens. Source is "printed" back in the form. I'm on Mac, tested Chrome, Camino, Firefox and Safari - all do the same.

I think maybe the server executing the PHP does not have permission to execute PHP. This happens if you try to run this on Github Pages!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment