Ask a Question related to Dreamweaver AppDev, Design and Development.
-
sss1983 #1
URL parameter to form
I called a html page from a Perl script and inserted URL parameters. e.g.
page.html?lastname=sam&firstname=hello
I now need to populate a form in page.html and populate the text fields. I do
not have access to the type of server (probably Apache, OS or Web server
unknown). How can I populate the text fields for editing. When the text
fields/form is complete I will be executing another Perl script to send an
email.
Thanks,
sss1983 Guest
-
Pass URL Parameter from html form to flash form
In CF, I have a link to a form to update a students attendance; takeattendancehv1.cfm?StudentID=#allstudents.StudentID# . I'm using a flash form in... -
#39427 [NEW]: cancel_upload parameter get wrong value when using multi field upload form
From: krudtaa at yahoo dot com Operating system: Windows XP Pro PHP version: 5.2.0 PHP Bug Type: HTTP related Bug... -
Parameter Search Using Form Variable
I have a connection to the SQL Server 2000 database and a data set made up a a collection of personnel records. I set up the data set with a... -
Date Parameter For Saved Parameter Queries
Hi again, I finally got to using saved parameter queries in my application (a big thank you to Bob Barrows for helping me with this). Currently... -
Parameter Reports with a form to enter in dates
I would like to create a Parameter Report. I want the user to type in/select the dates for input from another form. This could be typing in the... -
jman25 #2
Re: URL parameter to form
Have you tried the $_GET method? I use this all the time with PHP and I think
it also works with PERL. If you submit a form to a .pl script try this:
To get the values from the URL you need to assign a variable to them such as:
$lastname=$_GET[ 'lastname' ];
$firstname=$GET[ 'firstname' ];
That will get the values from the url. Now you can use $lastname and
$firstname in your new form by calling on them.
If you use the post method instead of get just change the GET to POST.
Hope this helps.
jman25 Guest



Reply With Quote

