PC Nerd Posted August 8, 2007 Share Posted August 8, 2007 Hi, Ive got a script that simply redirects, however cpanel has placed a password on it. ie password directories function. I wanted to gether that password, and then have it placed in another set of username and password fields, on the recirected page. it would be best if it can use multiple passwords etc to gain acces,,, ie multiple users. In php, can i get those Cpanel gathers usernames and passwords? and/or can i use php to place values into a form, not on its directory? thanks Quote Link to comment Share on other sites More sharing options...
deadimp Posted August 8, 2007 Share Posted August 8, 2007 Look into (search for) HTTP/Digest Authentication, and look at the .htaccess files cPanel is creating, if it's creating any. But why are you allowing a public script into a private folder? Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted August 9, 2007 Author Share Posted August 9, 2007 i dont think im explaining my problem very well ive got an admin login, like a backend for my site. now the admin have their emails through an external email provider, and they login at site.com/mydomain what i want to do is to have my backend passworded by cpanel/apache. now a) i want to get that password and place it into the fields on site.com/domain is this possible. please tell me if im not making any more sense. also, what did you mean about the public access to private ? thanks Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted August 10, 2007 Author Share Posted August 10, 2007 bump Quote Link to comment Share on other sites More sharing options...
trq Posted August 10, 2007 Share Posted August 10, 2007 i want to get that password and place it into the fields on site.com/domain is this possible. Take a look at curl. Quote Link to comment 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.