Jump to content

HTTP validation through php


GrayFox

Recommended Posts

Hi all

Got a little question:

Can anyone tell me how to do this HTTP validation using a php script. For example

I 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?
Link to comment
Share on other sites

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?
Link to comment
Share on other sites

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]
Link to comment
Share on other sites

[!--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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.