7

Is it possible to send custom headers through regular html form submit and javascript?Ajax(xmlhttprequest) is not an option, I can use iframes and javascript but not xmlhttprequest. Is it possible to do?

2

1 Answer 1

0

This is not possible with only HTML. You need something to act server-side to grab the proper header file. If your host supports PHP, the solution is relatively easy. If you want to use forms, you can submit their info to a PHP file and use that to generate the proper include.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.