Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested CGI Solutions: 51 - 75 of 292
 
Looking for a way to find out if a named subroutine exists. If I use the following string to invoke test.cgi: test.cgi?act=response and within test.cgi I have the code: some cmd li...
I have an existing Excel template file, and I would like to update it via web form. How can this be done?
My Perl script looks like this: -------------------- #!/usr/bin/perl $net=39; my $vatpercent = 17.5; my $vatprice = $vatpercent*($net/100); my $vat = sprintf "%.2f", ($vatprice); my $to...
Hi, I'm working on a perl program that will take input from various text box form fields and do some processing.  I was parsing the POST information myself, but was advised, on this site an...
Im using cgi in Python. I want to save the contents of an uploaded file to a specified folder on my server. My code is as follows: form = cgi.FieldStorage() for name in form:         field...
Hi,      I am writing a script to enable file upload from a web browser. I am writing it in C++ as itn will be incorporated into a search engine I have written in this lang, and also I don't know...
Here is a snipit of my script: foreach my $lib (@tables){     print $q->br, a({href=>'set_search.pl?LIBRARY=$lib', -target=>'search'}, "$lib"), }; I need to pass whatever the $lib is a...
I am using a current version of Apache. I have set up the UserDir directive such that every user that has a public_html directory will have a website. I am trying to set it up so that a user...
Date manipulation:  how to add/subtract date? i need to add/subtract a date and get a result date. for example (anydate) + 1 = ?  (anydate) - 5 = ?
I'm just trying to troubleshoot a perl problem for a client - it won't work on our server - gives error 500's. I've check the error log and the error message was "Premature end of script he...
I need to encode stuff to use the query url method as I want to use the same encoding as I do in perl as standard.  My query will be something like name=Philip M Jones&question=How do I do th...
Hi, I need to pass an array as an input to an perl script something like this sending file <a href="testsum_pc.pl?path=$path" target="pathcommand">Path</a> receiving file $path_command=$q...
I am trying to run a php file upload script that has a progress bar, it uses a perl script. The file works on my linux host, but I also want to get it working on my pc (Windows XP SP2) M...
Hi, I have a series of cgi pages (totally work in IE) that generate valid 4.01 html and a client running safari only sees  the html text.  I reduced the cgi code to the bare minimum and it st...
Hey experts! I need to download some documents from this website...there are 851 in all. I thought that I could use "wget" with an input file to do this, but all I am able to download is a ...
Dear Experts, What is faster for the end user and why? CGI written in Perl CGI written in Python CGI written in C++ CGI written in C PHP Is there anything faster than the above fo...
i have the following: test.html form radio button 1 = blue radio button 2 = red radio button 3 = green [ client selects this color button ] next page button = go to test2.html test2...
I have a perl script to get a database value and print on browser.This script is running successfully Linux Server.But when i run this script in windows server it gives HTTP header error.i use...
I am trying to set up a CGI routine on a windows 2003 running IIS. When I allow all CGI extensions on the Web Server Extensions screen I get the above message. The cgi is a VB.net console app:...
Hi All, Basically i'm trying to install the script at the link below but i keep getting errors.  The script basically just uploads files from your harddrive onto the server while presenting...
I am writing a perl script that sends the parameter results from an HTML form to another HTML page.  What is the best way to extract the value for "id" in the "addedit.html" page?  I have show...
    I have a form with input type as textarea which can contain up to 10 rows of 78 chars message. I key in the message without break/hard return. Afer submit, I get the param'message');. Af...
I have the code #!/usr/bin/perl -w use CGI; use Frontier::Client; use XML::Generator; my $cgi = new CGI(); my $x = $cgi->param('from'); my $y = $cgi->param('to'); my @args=($x,$y,1...
I have a page that's dynamically generated by cgi and I pass variables to the next page with a link like this generate_next_page.cgi?val1=$value1&val2=$value2 where $value1 and $value2 ...
I am having troubles getting some variables with my login script. It just post to itself.  I cannot seem to get the username var and the password var. Please help! Here is the script...