Register for your free account! | Forgot your password?

You last visited: Today at 17:09

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Limit registration per IP

Discussion on Limit registration per IP within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2014
Posts: 95
Received Thanks: 25
Arrow Limit registration per IP

Hello Visitor's

I was searching for Limit registration per IP based on ODBC ,
there is one released by Abrasive . when i installed it on my Register.php
it gave me error's . first i was thinking its the [Color="red" > 5 [/COLOR]
But it doesn't . if anyone can make simple 1 based on ODBC is working i really respect .

P.S does the > 5 isn't that for phpBB.

thank you .

shaiyadeadlybreath.weebly.com
join us episode 6 server .
ShaiyaDeadlyBreath is offline  
Thanks
1 User
Old 04/08/2014, 22:47   #2




 
Autrux's Avatar
 
elite*gold: 246
Join Date: Dec 2010
Posts: 33,474
Received Thanks: 6,059
#moved
Autrux is offline  
Old 04/09/2014, 20:02   #3
 
Blober's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 194
Received Thanks: 67
Be carefuliIf you use this one:
Why? Because it's wrote with mssql. Which is no more in php by default.

You may try this but i don't know if it will work:
PHP Code:
// Check IP Address count----Credits to Abrasive

$ipcheck = ("SELECT COUNT(UserUID) AS num_accounts FROM PS_UserData.dbo.Users_Master WHERE UserIp = '{$user_ip}'");
$result odbc_fetch_array($ipcheck);
if(
$result['num_accounts'] > ){     
$errors[] = 'You have created too many accounts under this IP address already, sorry for the inconvenience.'
@ShaiyaDeadlyBreath: Try with removing the last "}" of my code. i removed from the code above.
Blober is offline  
Old 04/10/2014, 10:32   #4
 
elite*gold: 0
Join Date: Mar 2014
Posts: 95
Received Thanks: 25
Hello . i know III one is based on php>mssql . but . the one you give has same errors as III one .

Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\Registration\reg.php on line 64

well . thank you for reply anyway . could you find the fix for it ? thank you

i saw your edit . i get same error
Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\Registration\register.php on line 64
ShaiyaDeadlyBreath is offline  
Reply

Tags
register limit


Similar Threads Similar Threads
[RELEASE] Account Limit Per IP During Registration
05/03/2014 - Shaiya PServer Guides & Releases - 16 Replies
In response to this thread: Limiting registration based on IP I figured I would post this as a release. All credits go to Abrasive, as he is the one that fine tuned my attempt to do the same. This is primarily his code, not mine, and I promised him I would release it with proper credits, if I had ever seen the request for it in the future. I am posting this under the assumption that you are using Abrasive's Registration release. If you are not...it would be wise to do so, unless of...
Exiled Bot Beta v0.15k - (Works with Garena) Free no lv60 limit/session limit
03/13/2014 - Path of Exile - 4 Replies
They have updated offsets to support Garena server in this update now. Enjoy. Here's the download link: Download Exiled Bot Beta v0.15k.zip from Sendspace.com - send big files the easy way It may be detected by antivirus, but this is a false positive as it is packed to prevent the creators to reverse engineer their own cracked app Scan results: https://www.virustotal.com/en/file/fd1aeaa970acf3 6202bae703fc74513364148a2ef4c5bacb463ee6c3d3cc486f /analysis/1394677311/ Exiled Bot Beta...
[Request]How to make Job reward coin / Guild limit & union limit
02/12/2014 - SRO Private Server - 1 Replies
Hello everybody hope you are all fine i want to ask how to add gold coins as a reward from jobbing if trader hunter thief sell their goods they receive the gold coin in guild storage or inventory doesn't matter , waiting for any hints or help :D & asking about how to set guild members limit if i want guild to be 32 member only & union limit to be 4 guilds only i know it seems big requests but HELPPPPPPPPPPPP xD spam ftw thanks for reading this my regards be safe :D
fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a
02/16/2013 - C/C++ - 8 Replies
Hey Community, ich bin noch relativ am Anfang was das programmieren angeht deswegen benötige ich eure Hilfe was mein Problem angeht. Das verstehen dieses Problems kenne ich und weiss was es bedeutet, aber leider scheiterts bei der Umsetzung. Habe meinen Computer Formatiert dann ging es auch kurzfristrig wieder, aber nach einer weile kam dieses Problem ernaut auf. Dies habe ich versucht indem ich dort /zm200 bis hin zu /zm2000 eingetragen habe, aber dann folgt die Fehlermeldung das...



All times are GMT +1. The time now is 17:09.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.