AllExperts > Perl & CGI 
Search      
Perl & CGI
Volunteer
Answers to thousands of questions
 Home · More Perl & CGI Questions · Answer Library  · Encyclopedia ·
More Perl & CGI Answers
Question Library

Ask a question about Perl & CGI
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Justin Wheeler
Expertise
Any question relating to Perl including its internals, data structures, speed, memory usage, syntax, version changes, extra CPAN modules, code standards, code cleanup, or just silly problems.

Experience
I have been writing Perl code professionally for almost 10 years. I have modules on CPAN, have Perl code that's included in the latest versions of Redhat, Debian, etc. I have done professional Perl work for many household names including Ticketmaster, Interflora, and allbookstores.com.

Education/Credentials
Only work experience and a love of all things Perl.

 
   

You are here:  Experts > Computing/Technology > Perl/PHP > Perl & CGI > Testing HTML forms with cgi on Windows

Perl & CGI - Testing HTML forms with cgi on Windows


Expert: Justin Wheeler - 10/24/2009

Question
I need to test out a HTML form which has a cgi script to it on my Windows PC.

I tested the cgi out on command line and no error was returned.

However, when I tested out the HTML form on browser and click the Submit button, instead of displaying the intended HTML response, it simply displays the cgi contents.

May I know if there's something I'm doing wrong or am I not allowed to test forms on Windows?

Answer
Hi Filzah,

You'll need to run an actual webserver to run the CGI.  If it's a Perl scripts, you'll need to download a perl interpreter for windows.

Apache is open source and free, so you could install that in Windows and use it as your test server.

Justin

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.