• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 257
  • Last Modified:

Sending uid & pw info to .htaccess via url?

Hi,

Is there some way to send uid and pw info to an .htaccess script?  I need to write some PHP that logs into my routers firmware, reads the log, and reports back.

It seems there must be a way to do it, I just can't figure out how.

Thanks,

Raydot
0
Raydot
Asked:
Raydot
1 Solution
 
andreifCommented:
Do you want to open .htaccess protected page with script?
If yes, try to open this URL

http://username:password@yourURL.com/
0
 
Michael701Commented:
best setup and use an httpS:// connection. won't want to be transmitting user / password across non-secure protocals
0
 
RaydotAuthor Commented:
Good point, Michael, but it's all local.

Thanks andreif, that's just what I was looking for.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now