CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
Enter a password with perl


New User

Dec 20, 2014, 5:09 AM

Post #1 of 2 (3391 views)
     Enter a password with perl  

Hi guys,

I'm trying to get the sourcecode of a webpage via getprint('...'). While this works well with most pages it doesn't work with the page that I want to access...
cmd says Error 401 Authorization Required.
Obviously I have to enter the password for the page and I know the passwort but I simply don't know how to enter that password through perl or cmd.

If I open the website in my browser it opens a smaller window in the browser where I have to enter the password.
Does anyone know how to get a perl programm to enter username and password in that window?

Thanks for your help!

(This post was edited by kowalski on Dec 20, 2014, 5:11 AM)

Veteran / Moderator

Dec 20, 2014, 7:32 AM

Post #2 of 2 (3379 views)
     Re: [kowalski] Enter a password with perl [In reply to]  

you are posting the same question in two different sections of this forum. Please don't do that, this leads to duplication of work.

I'll lock this thread and ask people who want to answer to go to the other thread:;sb=post_latest_reply;so=ASC;forum_view=forum_view_collapsed;;page=unread#unread


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives