954,176 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Getting a value into HTML form.

Hello,

I've a question: is it possible to pass a variable from perl script to HTML form.
I want this variable $ztable value to be send to this form.
its post method form.

Thank you in advance.

shiq
Newbie Poster
3 posts since Jul 2005
Reputation Points: 10
Solved Threads: 0
 

Hello,

I've a question: is it possible to pass a variable from perl script to HTML form. I want this variable $ztable value to be send to this form. its post method form.

Thank you in advance.

What is stopping you from something like

print "<input name=\"dirname\" size=15 value=\"$ztable\">"


(Assuming you've already replaced <, >, &, and " in $ztable with <, >, &, and ")

Rashakil Fol
Super Senior Demiposter
Team Colleague
2,658 posts since Jun 2005
Reputation Points: 1,135
Solved Threads: 176
 

Hello,

Sorry, I was not able to put forward my question properly.
I mean i want to export this variables value to the external html form (upload_file.html)
which is under the menubar of this perl script.
This html-form is not inside the script it's external.
Any way?

shiq
Newbie Poster
3 posts since Jul 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You