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...
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 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'm trying to setup a simple script where some data is sent using the jQuery .ajax function to a Python CGI script. The Python script would just make the data posted to it uppercase, and then return that data to the HTML file, where a div would b...
Is it possible to include JQuery in the here-doc section of perl. I tried but no success. Here is my code.  my $cgi = CGI->new();print header();print start_html("JQuery in perl");  print <<JS; <script src="//ajax.googleapis.co...
I want to create a authentication mechanism in which the client side is JavaScript and it fetches the password and username from the client and post it to the CGI Perl script.  The problem is that the username and password is free text. I want to mak...
I want to call a perl script from javascript. I have tried this using AJAX:  function create_request(obj) {   var req = \"id=\"+0;   var req_http =new XMLHttpRequest();   req_http.open(\"POST\", \"create_file.pl\", false);   r...
I have a CGI script that does a lot things.  I'm trying to keep the script very simple and portable.  I just need some way for the user to send a message to the server without having to lose the current page.  So far, I have the following process...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.