|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
when submitting a form via the POST method, iknow that data is being written to the STDIN input stream handle. how would i add or subtract from this ?
thansk in advance for reading this. -bydavid |
|
#2
|
|||
|
|||
|
>>how would i add or subtract from this ?
What do you mean? Or can you specify exactly what are you trying to do? |
|
#3
|
|||
|
|||
|
|
|
#4
|
|||
|
|||
|
i am trying to call a perl file in a frame with certain parameters. such as this "myFile.pl?text=off&sound=on" BUT, i do not want the ?text=off&sound=on part to show up. so i am trying to add the
?text=off&sound=on to the STDIN |
|
#5
|
|||
|
|||
|
Make a form button and put them in hidden field:
<form method="POST" action="script.pl"> <input type="hidden" name="text" value="off"> <input type="hidden" name="sound" value="on"> <input type="submit" value="Please Click Here"> |
|
#6
|
|||
|
|||
|
okay, i can do that, but htat means that someone has to click the submit button for the script to load.
if i wanted to load without being clicked on, how would i do it? for instance if i wanted to load this perl script into a frame..... thanks |
|
#7
|
|||
|
|||
|
>>if i wanted to load this perl script into a frame
<form method="POST" action="script.pl" target="frame_name_here"> >>if i wanted to load without being clicked on Use GET method and put ?text=off&sound=on into the script so they are not visible. I don't see text=off and sound=on as sensitive data or anything secret, why you wanted to hide it? Anyway, if you don't like hidden fields, you should stick with GET method. Or use javascript to load it which isn't the right approach. |
|
#8
|
|||
|
|||
|
<<if I wanted to load without being clicked on, how would I do it?>>
<META HTTP-EQUIV="REFRESH" CONTENT="40; URL=http:/scriptname"> - it means that http:/scriptname will be load after 40 seconds of action absence on a current page. Additionally, if you don't POST parameters into the new script you can use inside default values. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > altering the STDIN |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|