Getting a value into HTML form.

Reply

Join Date: Jul 2005
Posts: 3
Reputation: shiq is an unknown quantity at this point 
Solved Threads: 0
shiq shiq is offline Offline
Newbie Poster

Getting a value into HTML form.

 
0
  #1
Aug 14th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 2,039
Reputation: Rashakil Fol is just really nice Rashakil Fol is just really nice Rashakil Fol is just really nice Rashakil Fol is just really nice 
Solved Threads: 139
Team Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Super Senior Demiposter

Re: Getting a value into HTML form.

 
0
  #2
Aug 14th, 2005
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

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

(Assuming you've already replaced <, >, &, and " in $ztable with &lt;, &gt;, &amp;, and &quot;)
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 3
Reputation: shiq is an unknown quantity at this point 
Solved Threads: 0
shiq shiq is offline Offline
Newbie Poster

Re: Getting a value into HTML form.

 
0
  #3
Aug 16th, 2005
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?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC