FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Password thing is realy annoying me(htaccess)





ncwdavid
Hey, I have a html file with a form which looks like this:



Email Address: david@xxx.com

Your Name: David

Your Main Website Url: http://www.yoursite.com

How Many Visitors Per Day Does Your Site Get: 1

Do You Sell Advertisments On This Site: No

Yes, Please Notify Me When This Site Is Updated: (Tick The Box)

"Confirm"

Once the "Confirm" button is clicked the email address which was entered in form is sent to a file called password.txt and a randomly created password is added to password.txt also.


I have tested this and I recieved an email within 1 minute with my account details like this:


Members area Url: http://xxx.com/members.html
Login: david@xx.com (email address from the form)
Password: XXXXXX (This is randomly created and then sent out)

I have a htaccess file in the same directory as http://xxx.com/members.html which is directed to the password.txt file and when I click on the link for http://xxx.com/members.html it brings me to a page where a grey box pops up and says "Enter username and password for http://xxx/members.html"

When I enter the username and password which was given to me in the email it does not work.

I went into my control panel at frihost and went to the file password.txt and looked at it and the emails are the first in the line followed by a : and then a totaly different password to the one emailed to me and that password doesn't work either!

P.S. When you click the "Confirm" button it activates a cgi file called register.cgi which does all the work.

Could someone please tell me whats wrong or have any ideas about it?
Related topics
Selling Sigs
Battlefield 2
Signature show off
BEST WEBSITE EVER!!!!!
I'm 15 yo and heres my site, hope you like it!
My Site = P
[PHP] Faking Shell Access Through PHP
Login locked after missed log In
[*CLOSED*]Out of business, please close
tar.gz decommpressing!!!!!! Realy annoying me
Help
Making a password protect page in dreamweaver
Internet Goes of every 20 mins Help??
Website login- How?
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.