GrayFox Posted May 16, 2006 Share Posted May 16, 2006 Hi allGot a little question:Can anyone tell me how to do this HTTP validation using a php script. For exampleI got phpmydmin under htaccess password, there's this box that asks for user and pass.Is there a away to send the pass through php so that no box appears and you go directly to phpmyadmin? Quote Link to comment https://forums.phpfreaks.com/topic/9803-http-validation-through-php/ Share on other sites More sharing options...
GrayFox Posted May 17, 2006 Author Share Posted May 17, 2006 I know this works in a very simple way - nothing to do with php - in firefox:[a href=\"http://user:password@domain.com/\" target=\"_blank\"]http://user:password@domain.com/[/a]I don't use IE, but there are those who still do, any ideia why it doesn't work on IE? Quote Link to comment https://forums.phpfreaks.com/topic/9803-http-validation-through-php/#findComment-36587 Share on other sites More sharing options...
obsidian Posted May 17, 2006 Share Posted May 17, 2006 PHP will handle HTTP authentication, and you may be able to write a script to allow you to bypass the popup, but you'll have to read up on how to implement something like that. check out this page in the manual to help you out: [a href=\"http://us3.php.net/features.http-auth\" target=\"_blank\"]HTTP AUTHENTICATION[/a] Quote Link to comment https://forums.phpfreaks.com/topic/9803-http-validation-through-php/#findComment-36630 Share on other sites More sharing options...
GrayFox Posted May 18, 2006 Author Share Posted May 18, 2006 [!--quoteo(post=374684:date=May 17 2006, 10:14 AM:name=obsidian)--][div class=\'quotetop\']QUOTE(obsidian @ May 17 2006, 10:14 AM) [snapback]374684[/snapback][/div][div class=\'quotemain\'][!--quotec--]PHP will handle HTTP authentication, and you may be able to write a script to allow you to bypass the popup, but you'll have to read up on how to implement something like that. check out this page in the manual to help you out: [a href=\"http://us3.php.net/features.http-auth\" target=\"_blank\"]HTTP AUTHENTICATION[/a][/quote]TY for the reply - thought i was talking to myself for a while there.Already read it some time ago and did not find any clues for what i want...Also i've been googling, and found some ppl with the same question and without answer, kinda weird actually. Quote Link to comment https://forums.phpfreaks.com/topic/9803-http-validation-through-php/#findComment-37005 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.