Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old June 14th, 2000, 06:49 PM
bydavid bydavid is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Location: USA
Posts: 67 bydavid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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

Reply With Quote
  #2  
Old June 15th, 2000, 05:54 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>how would i add or subtract from this ?
What do you mean? Or can you specify exactly what are you trying to do?

Reply With Quote
  #3  
Old June 16th, 2000, 01:48 AM
kudinov kudinov is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 19 kudinov User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0

Reply With Quote
  #4  
Old June 16th, 2000, 05:42 PM
bydavid bydavid is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Location: USA
Posts: 67 bydavid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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

Reply With Quote
  #5  
Old June 17th, 2000, 01:11 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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">

Reply With Quote
  #6  
Old June 18th, 2000, 04:37 PM
bydavid bydavid is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Location: USA
Posts: 67 bydavid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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

Reply With Quote
  #7  
Old June 18th, 2000, 05:16 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>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.

Reply With Quote
  #8  
Old June 22nd, 2000, 02:44 AM
kudinov kudinov is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 19 kudinov User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
<<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.



Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > altering the STDIN


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway