Craig,
What does the form access?
Look in the HTML source, and in the form tag, there will be an action
attribute. You can access that normally. Say I have a form at form.html
on somedomain.com. That form takes a firstname variable. When it's
finished, it sends the information to formparser.pl. (this is specified
in the above-mentioned action attribute). Well, I can access the
formparser.pl without using form.html:
http://www.somedomain.com/cgi-bin/formparser.pl?firstname=Chris
See?
So you can put the values in a URL directly, bypassing the first web
page. Hope this is clear, if not, let me know and I'll try to re-explain
it.
(By the way, this method works only if the form's method is "get".
"post" is a different mechanism. Maybe there's something in perl to do
this, but I'm not sure... The method, by the way, is also an attribute
in the form tag. If it's not there, it defaults to "get" in which case
you'll be fine)
Chris Garaffa
[EMAIL PROTECTED]
On Thursday, September 6, 2001, at 06:37 PM, Craig Tibbitts wrote:
> I need to write a script to access a simple html form on a network
> device and perform specific functions on the form to acquire
> information.
>
> Does anyone have a sample script they would like to share? I just need
> to figure out how to access a web page and enter data into a form
> automatically.
>
> Thanks,
>
> ct
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]