Jump to content
RF-Dev | RF Online Development
Nuna

Register Script for PHP 5.3+

Recommended Posts

It just an update for my old release. Now you can use this script on PHP 5.3 or above (using SQLSRV method).

hope the PDO Connection will be released next.

Screenshot_4.png

You must be a registered member of RF-Dev and logged in to view this content.

Old release (MSSQL Connect)

 

Share this post


Link to post
Share on other sites

The antiinject logic from the old gamecp days in there isn't really needed when you use parameterised queries already.

Plus no exception handling, html in backend and oldschool for submit/post instead of ajax is bad practice these days.
I uploaded a cleaner  page top git a while ago for people to build more advanced scripts on top of it - i just had 3 fields in there for the core.
 

 

Share this post


Link to post
Share on other sites
You must be a registered member of RF-Dev and logged in to view this content.

I just learn how to use sqlsrv, and didn't know much about syntax or anything.

Yeah, i have saw your code and look simple with that css. But mine only have <form> code, thats mean you can attach that file into yours (required_once).

Im really bad on js and other like that. It's great to when someone know about this, so i can improve that code.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×