Authentication Required Page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
netgezgini
Forum Newbie
Posts: 9
Joined: Mon Aug 17, 2009 1:26 pm

Authentication Required Page

Post by netgezgini »

How can I connect Authentication Required page? I know the username and password and i need to connect Authentication Required page with php. is it possible?
JakeJ
Forum Regular
Posts: 675
Joined: Thu Dec 10, 2009 6:27 pm

Re: Authentication Required Page

Post by JakeJ »

There are a variety of ways to control user access. Really it depends on your needs.

If you're only ever going to have a few users, then http authentication might be fine. If you're going to have to maintain a large number, use a database and be sure to encrypt the passwords.

In any case, i'd suggest you go look up some authentication tutorials to see what meets your needs since that wasn't clear from your post.
netgezgini
Forum Newbie
Posts: 9
Joined: Mon Aug 17, 2009 1:26 pm

Re: Authentication Required Page

Post by netgezgini »

I think i am misunderstood. I dont want to create authentication page. I want to connect with like how we get page info with cUrl. I need to pull inventory feed from an authentication required page automatically and i have username and password but i dont know how to open that page with php. I think we cant do it with cUrl
JakeJ
Forum Regular
Posts: 675
Joined: Thu Dec 10, 2009 6:27 pm

Re: Authentication Required Page

Post by JakeJ »

Perhaps this link will serve as a starting point: http://curl.haxx.se/libcurl/php/example ... login.html

I realized after I posted that, that the link is quite old.
netgezgini
Forum Newbie
Posts: 9
Joined: Mon Aug 17, 2009 1:26 pm

Re: Authentication Required Page

Post by netgezgini »

but i dont try to login or post a form. it is authentication page that pops up a window and ask you username and password. I know how to fillout and post a form data with cUrl.
Post Reply