944,079 Members | Top Members by Rank

Ad:
  • Perl Discussion Thread
  • Unsolved
  • Views: 6042
  • Perl RSS
Aug 14th, 2005
0

Getting a value into HTML form.

Expand Post »
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.
<input name="dirname" size=15> its post method form.

Thank you in advance.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
shiq is offline Offline
3 posts
since Jul 2005
Aug 14th, 2005
0

Re: Getting a value into HTML form.

Quote originally posted by shiq ...
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.
<input name="dirname" size=15> its post method form.

Thank you in advance.
What is stopping you from something like

Perl Syntax (Toggle Plain Text)
  1. print "<input name=\"dirname\" size=15 value=\"$ztable\">"

(Assuming you've already replaced <, >, &, and " in $ztable with &lt;, &gt;, &amp;, and &quot;)
Team Colleague
Reputation Points: 1135
Solved Threads: 172
Super Senior Demiposter
Rashakil Fol is offline Offline
2,479 posts
since Jun 2005
Aug 16th, 2005
0

Re: Getting a value into HTML form.

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?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
shiq is offline Offline
3 posts
since Jul 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Perl Forum Timeline: Remote Execution
Next Thread in Perl Forum Timeline: Download links script





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC