Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ljgww opened this issue Dec 2, 2011 · 2 comments

Comments

@ljgww
Copy link

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
Copy link
Author

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.

@SpEcHiDe
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants