Solved

Sending uid & pw info to .htaccess via url?

Posted on 2003-11-24
3
237 Views
Last Modified: 2008-07-03
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
Comment
Question by:Raydot
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Accepted Solution

by:
andreif earned 125 total points
ID: 9814699
Do you want to open .htaccess protected page with script?
If yes, try to open this URL

http://username:password@yourURL.com/
0
 
LVL 19

Expert Comment

by:Michael701
ID: 9815550
best setup and use an httpS:// connection. won't want to be transmitting user / password across non-secure protocals
0
 
LVL 3

Author Comment

by:Raydot
ID: 9815956
Good point, Michael, but it's all local.

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question