I got a domain, I just need to know step-by-step how to make an auth system.
I got a domain, I just need to know step-by-step how to make an auth system.
I do visit every 2-6 months
You may contact me with any concerns you have.
Are you a victim of harassment? Please notify me or any other staff member.
| SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |
Im not selling scripts, Im just going to have peeps sign up at my website then give them a password cause they signed up.
I do visit every 2-6 months
go learn some php and mysqlreally i cant tell you because i just fooled around with my php code until it worked
but php/mysql is the way to go.
read!go learn some php and mysql really i cant tell you because i just fooled around with my php code until it worked but php/mysql is the way to go.
I dont have any ideas but ask someone who sells a script.. when i get home ill ask a guy who sold me a auto fighter to add u in msn, give me ur msn and heill add u, maybeI just need to know step-by-step![]()
Hmm...
Should be something like that...never used it...if GetPageText('your url') = YourScriptPasswordWhatUserInputs then ...
On your site(what should be html or php) there should be text...I'm not sure...
I fix it later if its wrong...I don't got scar atm in computer...
[CENTER][SIZE="4"]Inactive[/SIZE]I forgot my password[/CENTER]
You may contact me with any concerns you have.
Are you a victim of harassment? Please notify me or any other staff member.
| SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |
He means GetPage...
because you know you really answered his question there...
what you can do is send POST variables to the site and then have php search your database to see if there is someone with that user and pass then send either accepted or denied depending on that and then have scar read what the php sends out by using getpage(as previously said)
A basic php page can be setup to use make an auth system, with the simplest being:
Then use the scar script to get that page with the post variable auth and the password. A short example would be:PHP Code:<?php
$password = ''; // Your scripts password here
if($_POST['Auth'] == $password)
{
echo 'True';
}
else
{
echo 'False';
}
?>
SCAR Code:Program Authorised;
Const
Password = ''; // Put password from the site here
Website = 'http://www'; // Put the URL of the php script here
Forum = 'http://www.'; // Put the URL of where they have to register to get the pass here
Var
Authorised: Boolean;
Procedure CheckAuth;
Var
myClient: Integer;
PageText: String;
Begin
myClient:= InitializeHTTPClient(True,True);
ClearPostData(myClient);
AddPostVariable(myClient,'auth',Password);
PageText:= PostHTTPPageEx(myClient,Website); // Put the location of the php script here
If((PageText = 'True') or (PageText = 'False')) Then
Authorised:= StrToBool(PageText)
Else
Authorised:= False;
FreeHTTPClient(myclient);
End;
Begin
CheckAuth;
If(Not(Authorised)) Then
Begin
Writeln('Sorry, but you are not authorised to use this script. Please register at '+Forum+' to use this script');
Exit;
End // Script goes after this End
End.
If you need more help adding this stuff to your script, just send me a PM
ya php is the way to go...
the problem is ppl can always change your script... unless you obfuse... :P
Why do you people want to do this so badly? All you have to do is cut out a piece of the script to make it compile? Give it up. Make an exe. Spend all your time making an exe, so that people have to sign up.
Active only during the Summer...
If you make a PHP auth, changing the script won't do anything.
The jealous temper of mankind, ever more disposed to censure than
to praise the work of others, has constantly made the pursuit of new
methods and systems no less perilous than the search after unknown
lands and seas.
You may contact me with any concerns you have.
Are you a victim of harassment? Please notify me or any other staff member.
| SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |
The only problem with an auth script would be the script could just be edited with the auth check being the bit they take out(as JackLkrawl said). The only way round that is to make it also call a bit of script and input that into the script and without that script the rest of it wouldn't work.
Achem... I suggest obfuscation and php auth together
now thats not that easy to get through...
and about ppl sharing accounts? just learn php really well and i don't know if you can but try and get their ip and log it and check the logs every week and if you see sharing like really different locations then suspend or delete account...
but I don't know how much you want to work on this php auth system
it can take some time to make this probably...
anyone know how to save ip after php was accessed to a file on server?
I am also thinking about making auth system... and would appreciate if someone can post php script for this...
I got something now guys thanks for all your help. And I am Obfusing it.
I do visit every 2-6 months
Achem... I suggest obfuscation and php auth together
now thats not that easy to get through...
and about ppl sharing accounts? just learn php really well and i don't know if you can but try and get their ip and log it and check the logs every week and if you see sharing like really different locations then suspend or delete account...
but I don't know how much you want to work on this php auth system
it can take some time to make this probably...
anyone know how to save ip after php was accessed to a file on server?
I am also thinking about making auth system... and would appreciate if someone can post php script for this...then save the $IP to a mysql database.PHP Code:$IP = $_SERVER["REMOTE ADDR"]
if i remember correctly
The only problem with using IP logs is that quite a lot of people (well, a lot in the UK) get their broadband from providers that change their IP just about whenever they connect to the internet (or reconnect their router) so it would end up giving you a lot of 'sharers'. The best way to lower people sharing passwords, would be to make it so they have to input their forum username and password then check it against the forums details of them.
Another way to do this, would be to make it so they logon to the forum or wherever, then they get a generated user and password, while also logging the IP, that they put into the script and you then make it so when they run the auth script it makes sure the IP's match, then sets a decay time for the username and password or deletes it.
There are currently 1 users browsing this thread. (0 members and 1 guests)