The next step could be modify the file and read it in order to find if the client input are already in the file.
Could someone help me? thank you very much
What server-side programming languages can you use? PHP? Python? Perl?
Thank you very much for your answer. I tried with AJAX method but always appears in visual studio code the following error:
Failed to load resource: the server responded with a status of 405 (Method Not Allowed) [http://127.0.0.1:5500/test.php];
could some one help me to solve also this problem? I read about web.config file but I don't know if it could be usefull and how to create and call it from html page in visual studio code.
Thank you very much
When I've seen 405 Method Not Allowed, it has been either because a form was trying to POST to a static web page that could only be retrieved via GET, or because a link was trying to access a form-handling URL via GET when the server-side program would accept only POST.
I've seen the '405 Method Not Allowed' error when the page is .htm or .html and it tries to make a POST ajax call. I use IIS web server so I've run into it. I think IIS only allows GET ajax calls (unless you reconfigure the web server).
Does anyone know where the format of the input to the server script is detailed? That is, the server script reads from the standard input and the sections are delimited by headers such as:
Content-Disposition: form-data; name="userfile"; filename="test.txt"
but I can't find where this is documented. It doesn't seem to be in RFC3875.
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)