Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

$Zip_Code=$FORM{'Zip_Code'}; question?

Status
Not open for further replies.

KattyKatty

Programmer
Nov 10, 2003
91
TH
Hello,

Can I pass the information directly to variable Zip_code ?
Because I want to create my own Flash form, not the PHP form of this script.

Thank you,
Kathryn
 
I don't quite understand what you are trying to do. It looks like you are trying to retrieve information from a form in which case you would need to use the cgi.pm module. The code to do this would look something like this:

Code:
#!/usr/bin/perl
print "Content-type: text/html\n\n";

use CGI;
my $GET = new CGI;
my $zip_code=$GET->param('zip_code'); 
print "$zip_code";

zip_code being the name of the input field of the form. If this sin't want you want please elaborate on what your trying to do.
 
Thank you rob51383, I think I should use their form of this script for now, when I understand some of cgi script better, I will change this form to my FLASH form later.

Merrry Christmas.
Kathryn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top