When I try posting data to my CGI file, my CGI file says the actual post data is invalid. I am using HTML/JavaScript for the front end and Python for the backend.   Works:  <form name="login" action="/cgi-bin/register.py" method=&#...
Is it possible for a perl cgi script to segment its AJAX responses into numerous individual HTTP responses?  Say I have this code:  xmlhttp=new XMLHttpRequest(); xmlhttp.onreadystatechange=function() {     if (xmlhttp.readyState==4 && xmlhttp...
I have a form that is used to upload the file and a CGI program in the server side to process the uploaded file. The file will be renamed to a different file name that I want to pass back to the client, I want to use JSON to return the result, but th...
The client has a simple form that takes a text and a file:  <form name="add_show" id="add_show" action="" method="GET">      <label class="text-info">Show Name:</label>     <input type="...
Is it possible to force file download to user's browser (with the standard dialog prompt of course)? To be triggered by the server. Basically I'm thinking of pushing a file to the browser coming from server filesystem. Or is this not possible...
I've written a JavaScript-based Website that is able to enter, edit and solve Nonograms. As you may know, solving a nonogram is an NP-complete problem.  My first attempt was pure (single threaded) JavaScript. But on larger nonograms, Chrome showe...
Hello I'm working with ajax that submits to a C++ cgi program. The problem that I am having is the readyState is always 1. I don't get what I am doing wrong.       var asyncRequest; // XMLHttpRequest object      try         {             asyn...
I have a cgi script written in Python. There are two drop down menus and then a submit button. I'd like to be able to make a selection from the first menu, and based off that choice, have the second drop down menu dynamically populate new choices...
I think the question is pretty self explanitory, but I'm using perl to generate a webpage. Starts off using:   $cgi->start_html(-title=>'myPage',-style=>{-src=>'style.css'},  -script=>{-type=>'JAVASCRIPT'...
I'm trying to make a file uploader page that will prompt the user for a file and will upload while displaying progress.   At the moment I've managed to make a simple HTML page that can calls my python script. The python script will then get t...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.