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

RE: CGI and variables? What´s the problem
Should be as simple as:

use CGI;
$co =3D new CGI;

## Here I grab the info from the form field named "date"
## and assign it to the variable $data

my $data =3D $co->param('date');

-----Original Message-----
From: diogo.senai@sistemafieg.org.br
[mailto:diogo.senai@sistemafieg.org.br]
Sent: Wednesday, December 29, 2004 2:14 PM
To: beginners@perl.org
Subject: CGI and variables? What=B4s the problem?


Hi guys... I=B4d like to ask you a question. Some of you might have
encountered something like this... I=B4m creating a web interface using =
CGI
library so that the user enter a data in the textfield, i put these =
values
into some variables and use them in the system... for example... I type
the new date and the script executes the date command with that value
typed in the textfield... but I just can=B4t get it done... If I give =
fixed
value to the variable, it works fine... but in the same script of the =
CGI,
it doesn=B4t...
Please, help me!

Thanks!


--=20
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Report this thread to moderator Post Follow-up to this message
Old Post
Brian Barto
12-30-04 01:55 AM


Sponsored Links




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

PERL 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 09:03 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.