Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 same name, same country, IP of 0's - barry
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

barrynet
Starting Member

36 Posts

Posted - 19 January 2009 :  13:29:34  Show Profile
quote:
Originally posted by Carefree

quote:
Originally posted by barrynet

Thanks Carefree

I had a thought this morning. I am not forcing that the first and last names be filled in. If they are both blank I think your code would not accept the registration. Really hate to ask but would it be possible for you to add a check for blank name fields and let the registration proceed if both are blank.

cheers

Barry


I edited the code above to include blank name checking.




Thanks

I am going to try that right now.

cheers

Barry<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 January 2009 :  16:39:35  Show Profile  Send ruirib a Yahoo! Message
Barry,

You need to check your web server logs, to find out how they got in there. Seeing the M_DATE would allow you to know the precise time of their registration, so it's easy to use server logs to find out what's happening.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

barrynet
Starting Member

36 Posts

Posted - 19 January 2009 :  16:44:21  Show Profile
I had a thought this morning. I am not forcing that the first and last names be filled in. If they are both blank I think your code would not accept the registration. Really hate to ask but would it be possible for you to add a check for blank name fields and let the registration proceed if both are blank.

cheers

Barry
quote:

I edited the code above to include blank name checking.




Thanks

I am going to try that right now.

cheers

Barry
[/quote]




<

Edited by - barrynet on 19 January 2009 16:59:16
Go to Top of Page

barrynet
Starting Member

36 Posts

Posted - 19 January 2009 :  16:56:58  Show Profile
Sorry Carefree it did not make any difference. Same first and last registered without any problem.

http://www.nwsca.com/scripts/gpz_forum_2005/register2.txt

image of registration information
http://www.nwsca.com/scripts/gpz_forum_2005/barry8_details.jpg

There is one more strange thing if I look at a members list while signed in as Barry8 the Albania registrations do not show.
http://www.nwsca.com/scripts/gpz_forum_2005/barry8_members_nospam.jpg

If I register in as admin they do show
http://www.nwsca.com/scripts/gpz_forum_2005/admin_spam_shows.jpg


I am now confused on a much higher level


[/quote]<
Go to Top of Page

barrynet
Starting Member

36 Posts

Posted - 19 January 2009 :  17:00:55  Show Profile
quote:
Originally posted by ruirib

Barry,

You need to check your web server logs, to find out how they got in there. Seeing the M_DATE would allow you to know the precise time of their registration, so it's easy to use server logs to find out what's happening.



Thanks Rui

I will contact my web hosting service to see if I can get them

cheers

Barry<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 January 2009 :  17:10:02  Show Profile  Send ruirib a Yahoo! Message
Ok, let me know how it goes.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 19 January 2009 :  18:05:17  Show Profile
quote:
Originally posted by barrynet

Sorry Carefree it did not make any difference. Same first and last registered without any problem.

http://www.nwsca.com/scripts/gpz_forum_2005/register2.txt

image of registration information
http://www.nwsca.com/scripts/gpz_forum_2005/barry8_details.jpg


Ahhh - NOW I see what you meant. I thought you wanted to prevent people registering with the same names as previous registrations (so that User1 named Frank Smith couldn't re-register as User 519 named Frank Smith again. That's what I wrote the mod to preclude.

What you want is even simpler - you want to make sure that Bob Bob doesn't register.

if M_LASTNAME=M_FIRSTNAME then
	'duplicate names in registration
	Response.Clear
	Response.Redirect "Register.asp"
	Response.End
end if
<
Go to Top of Page

barrynet
Starting Member

36 Posts

Posted - 19 January 2009 :  19:40:18  Show Profile
quote:
Originally posted by Carefree

quote:
Originally posted by barrynet

Sorry Carefree it did not make any difference. Same first and last registered without any problem.

http://www.nwsca.com/scripts/gpz_forum_2005/register2.txt

image of registration information
http://www.nwsca.com/scripts/gpz_forum_2005/barry8_details.jpg


Ahhh - NOW I see what you meant. I thought you wanted to prevent people registering with the same names as previous registrations (so that User1 named Frank Smith couldn't re-register as User 519 named Frank Smith again. That's what I wrote the mod to preclude.

What you want is even simpler - you want to make sure that Bob Bob doesn't register.

if M_LASTNAME=M_FIRSTNAME then
	'duplicate names in registration
	Response.Clear
	Response.Redirect "Register.asp"
	Response.End
end if





That's what I wanted, thanks. Its another example of how people read things differently I will try this later tonight.

Could I just do this for a country check as well

if M_COUNTRY=Albania then
	'duplicate bad country in registration
	Response.Clear
	Response.Redirect "Register.asp"
	Response.End
end if




<
Go to Top of Page

barrynet
Starting Member

36 Posts

Posted - 19 January 2009 :  19:54:20  Show Profile
Can anyone suggest why I see a different member list if I log on as administrator versus a regular user?

cheer

Barry<
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 19 January 2009 :  19:57:48  Show Profile
Albania would need to be in quotation marks.<
Go to Top of Page

barrynet
Starting Member

36 Posts

Posted - 19 January 2009 :  20:37:28  Show Profile
if M_LASTNAME=M_FIRSTNAME then
'duplicate names in registration
Response.Clear
Response.Redirect "Register.asp"
Response.End
end if



OK that works except if the first and surname fields are blank it kicks back to registration. Since I do not know yet how to make first and surname required I need a blank check (blanks are OK) so it does not kick out.

Once again thanks for your time.


cheers

Barry<
Go to Top of Page

barrynet
Starting Member

36 Posts

Posted - 19 January 2009 :  20:43:40  Show Profile
quote:
Originally posted by Shaggy

Ah, fair enough, missed that bit in your original post (a weekend of insomnia can have that effect on a guy! ) If they're not going through register.asp then you need to investigate exactly how they're managing it; there may be a vulnerability in one of your scripts, not necessarily in your forum, though, that's open to SQL injections. A good place to start would be your log files; next time it happens have a look for anything out of the ordinary.





Missed this post - Thanks, I am trying to get my web site logs

cheers
Barry<

Edited by - barrynet on 19 January 2009 20:44:06
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 19 January 2009 :  22:49:31  Show Profile
quote:
OK that works except if the first and surname fields are blank it kicks back to registration. Since I do not know yet how to make first and surname required I need a blank check (blanks are OK) so it does not kick out.

if M_LASTNAME=M_FIRSTNAME and (M_LASTNAME<>"" or M_FIRSTNAME<>"") then
	'duplicate names in registration
	Response.Clear
	Response.Redirect "Register.asp"
	Response.End
end if
<
Go to Top of Page

barrynet
Starting Member

36 Posts

Posted - 19 January 2009 :  23:18:21  Show Profile
quote:
Originally posted by Carefree

Albania would need to be in quotation marks.



if M_COUNTRY="Albania" then
'bad country in registration
Response.Clear
Response.Redirect "Register.asp"
Response.End
end if

This code is totally ignored. Would it have anything to do with the selection being done from a drop down menu.
<
Go to Top of Page

barrynet
Starting Member

36 Posts

Posted - 19 January 2009 :  23:49:05  Show Profile
Your new code is also ignored

' ################################## following added to check names
' ################################## change from carefree v3
if M_LASTNAME=M_FIRSTNAME and (M_LASTNAME<>"" or M_FIRSTNAME<>"") then
'duplicate names in registration
Response.Clear
Response.Redirect "Register.asp"
Response.End
end if
' ################################## end of add

This is getting frustrating. Perhaps its just the flu giving my old an extra workout.

I will look carefully tomorrow to ensure everything is where it should be in the code and the script dir.

cheers

Barry<
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07