Avatar of sany101
sany101

asked on 

How to transfer username from a form in a .php page to the username field of a .HTACCESS login pop up window?

Hi,

I have a home page with a username field which when filled and submitted redirects the user to a secure section of the site which uses .HTACCESS to authenticate the user. As I am using the username as a redirect and as part of the authentication, I would like to transfer the username entered into the home page form to the Username field of the pop up HTACESS window to save them typing it twice. How can do this?

Thanks
PHPApache Web Server

Avatar of undefined
Last Comment
sany101
SOLUTION
Avatar of caterham_www
caterham_www
Flag of Germany image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of sany101
sany101

ASKER

Thanks for the reply.

I've come across this method already. However this logs the user in based on username:password. I only want to autofill the username field of login window from a form which only contains the username, not  the password.

Unfortunatelly I would need to it to work from major browsers as I would have no control of the users browser.
ASKER CERTIFIED SOLUTION
Avatar of ifp_support
ifp_support
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of sany101
sany101

ASKER

hmmm... what a pain, thanks for the input.
PHP
PHP

PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.

125K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo