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?
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?
