netgezgini Posted June 28, 2010 Share Posted June 28, 2010 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? Link to comment https://forums.phpfreaks.com/topic/206114-authentication-required-page/ Share on other sites More sharing options...
Stooney Posted June 28, 2010 Share Posted June 28, 2010 You will need to give some more information on what you're trying to do here. Link to comment https://forums.phpfreaks.com/topic/206114-authentication-required-page/#findComment-1078470 Share on other sites More sharing options...
netgezgini Posted June 28, 2010 Author Share Posted June 28, 2010 I need to read inventory feed(txt) automatically by php but that page is Authentication Required page. I have password and username. I tried with cUrl but there is no option for password and username. I want top open that page by php but dont know how Link to comment https://forums.phpfreaks.com/topic/206114-authentication-required-page/#findComment-1078490 Share on other sites More sharing options...
Cagecrawler Posted June 28, 2010 Share Posted June 28, 2010 If it's basic auth (ie passing the username/pass in the url like http://user:[email protected]) then you can use CURLOPT_USERPWD in curl_setopt to set your username and password. Link to comment https://forums.phpfreaks.com/topic/206114-authentication-required-page/#findComment-1078495 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.