RE: Copying A File From A Remote Location Through A Webpage

2002-09-02 Thread Morse, Richard E.
Have you looked at the CGI.pm docs? There are two parts to uploading docs via a webpage. First, you have supply the correct type of form on the webpage: form method=post action=url/to/your/script enctype=multipart/form-data input type=file name=myfile size=40 input type=submit value=upload

Agent to log in to a website and fetch pages

2002-09-02 Thread Hardik Oza
Hello, I am interested in creating a Perl agent to log into a website and download pages for me. Basically I want to submit a form using this agent. Thanks, Hardik __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes

open2() under Win32

2002-09-02 Thread Peter Boehm
Hi experts out there ! I'm new to perl and experienced a problem when trying to run a program capturing input and output from another prog using open2(); under UNIX it runs correctly, but not under Windows. Is there a special handling of open2 on Windows or is there another equivalent function

Re: Agent to log in to a website and fetch pages

2002-09-02 Thread $Bill Luebkert
Hardik Oza wrote: Hello, I am interested in creating a Perl agent to log into a website and download pages for me. Basically I want to submit a form using this agent. LWP is the normal tool for accessing web pages via Perl script - contained in libwww-perl bundle. Check in .../perl/site/lib

Re: Agent to log in to a website and fetch pages

2002-09-02 Thread Michael D. Smith
That is two entirely separate things. Both of which I too have been trying to figure out. As usual the documentation goes on at length, and yet somehow never tells you what you want to know :) In case someone wants to give an example, specifically, this page for the HTML download:

Re: Agent to log in to a website and fetch pages

2002-09-02 Thread Mike G
Hello, I am interested in creating a Perl agent to log into a website and download pages for me. Basically I want to submit a form using this agent. Thanks, Hardik There's a simple example of doing a GET of a page at http://www.gossland.com/course/cgi_use/requests.html Once you've seen that,

Re: Agent to log in to a website and fetch pages

2002-09-02 Thread Mike G
I just wrote: Once you've seen that, doing a POST of a form is only a little more involved. I don't have an example of it online, but you should look up the CGI function make_form(). Make_form creates all the parameter, value pairs for the form submission. Sorry, but the make_form function I

Re: Agent to log in to a website and fetch pages

2002-09-02 Thread $Bill Luebkert
Michael D. Smith wrote: That is two entirely separate things. Both of which I too have been trying to figure out. As usual the documentation goes on at length, and yet somehow never tells you what you want to know :) In case someone wants to give an example, specifically, this page for

Re: open2() under Win32

2002-09-02 Thread Trevor Joerges
Take a look at the IPC::Open2 man page: perldoc IPC::open2 Hope this helps. Kind regards, Trevor J. Joerges $_=q;rrUSFWPSZK.ZKPFSHFT,rkvtuZbopuifsZQZibdl rrqpxfsfeZcyZQ,,riuuq://xxx.%.dpn,ru~@%.dpn ,rrr8-)