Go Back   Cyber Tech Help Support Forums > Software > Web Development & Graphic Design

Notices

Reply
 
Topic Tools
  #1  
Old July 19th, 2006, 07:19 PM
david_m david_m is offline
Member
 
Join Date: Apr 2006
O/S: Windows Vista
Location: Ireland
Posts: 66
Exclamation (htaccess) REALY ANOYING ME!!!!!!!!1

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 my host 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?
Reply With Quote
  #2  
Old July 19th, 2006, 07:21 PM
degsy's Avatar
degsy degsy is offline
Cyber Tech Help Moderator
 
Join Date: Jul 2001
Location: North-East, UK
Posts: 22,042
Blog Entries: 1
.htaccess passwords are usually hashed and salted.
What is the code for creating the user & pass?
__________________
Cheers,
Degs

Please post back with your results
CTH Terms of Use

CTH Subscriptions :: Adaware Guide :: HijackThis
Reply With Quote
  #3  
Old July 19th, 2006, 07:25 PM
david_m david_m is offline
Member
 
Join Date: Apr 2006
O/S: Windows Vista
Location: Ireland
Posts: 66
after you fill in the form and click "Confirm" it activates a cgi file called register.cgi which is in the cgi-bin directory and that does all the work like the thank you page,creating the password,the username is your email, and it sends the email.
Reply With Quote
  #4  
Old July 19th, 2006, 07:30 PM
degsy's Avatar
degsy degsy is offline
Cyber Tech Help Moderator
 
Join Date: Jul 2001
Location: North-East, UK
Posts: 22,042
Blog Entries: 1
I think you will have to contact the script writer or your hosting to see what the problem is.
__________________
Cheers,
Degs

Please post back with your results
CTH Terms of Use

CTH Subscriptions :: Adaware Guide :: HijackThis
Reply With Quote
Reply

Bookmarks

Topic Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:00 PM.

[ RSS ]