Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

using CGI module
I need to access a variable like this:  $cgi->param($variable);
This doesn't work.
But this works: $cgi->param('name');

The first try ($cgi->param($variable)) ends with a "Internal server error".

Thank you.

Report this thread to moderator Post Follow-up to this message
Old Post
Victor
11-16-04 08:55 PM


Re: using CGI module
Victor wrote:
> I need to access a variable like this:  $cgi->param($variable);
> This doesn't work.
> But this works: $cgi->param('name');
>
> The first try ($cgi->param($variable)) ends with a "Internal server error".[/color
]

Please post a short but complete program that illustrates your observation.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

Report this thread to moderator Post Follow-up to this message
Old Post
Gunnar Hjalmarsson
11-16-04 08:55 PM


Re: using CGI module
"Internal server error" usually happens when Perl produces an error, and you
 can find the real error in your CGI error log (it's usually a lot more help
ful.) Or, if you don't mind visitors seeing the error messages, put

use CGI::Carp qw/fatalsToBrowser/;

at the top of your page and the ISE message will include the error Perl retu
rned.

Report this thread to moderator Post Follow-up to this message
Old Post
pickleman
04-30-06 04:38 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL CGI Beginners archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:14 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.