[RELEASE] Secure PHP Web Registration Script

02/10/2011 02:46 Bаne#31
@ VVayinsane

You need to install Apache and connect it to you're web server :awesome:
02/10/2011 03:24 VVayinsane#32
I thought XAMPP Windows 1.7.4 was apache + other stuff. So its best just to remove Xampp and then install apache 2.2.17. Ill try that and see what i come up with.

I am assuming even when download apache i will still need the php and the mysql attachments?

or do i just need to place the register.php in an html document?
02/10/2011 04:33 Alladrios#33
Quote:
PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_mssql.dll' - The specified module could not be found.
Missing DLL:
[Only registered and activated users can see links. Click Here To Register...]

Use brain.exe to know how to use it :)
02/10/2011 05:35 VVayinsane#34
fyi link is bad..

403 Forbidden

Also if you read my posts i did that.
Copy these DLLs to php extension folder

I still got that error with the php_mssql.dll in the folder.

I did use brain.exe

I am assuming the programe i used (xampp) has a bad line somewhere so i am just going to install apache, php, mysql one by one.
02/10/2011 13:24 ProfNerwosol#35
Quote:
Originally Posted by VVayinsane View Post
fyi link is bad..

403 Forbidden

Also if you read my posts i did that.
Copy these DLLs to php extension folder

I still got that error with the php_mssql.dll in the folder.

I did use brain.exe

I am assuming the programe i used (xampp) has a bad line somewhere so i am just going to install apache, php, mysql one by one.
Instead posting help requests about Apache, refer to its & PHP's documentation. Those should answer all your questions how to install PHP under Apache successfully.
02/12/2011 05:31 AbsolonShaiya#36
newer versions of php do not have the php_mssql.dll by default anymore not after v5.2.9 you will have to download the dll file and install it into your \ext directory on your PHP install.
02/12/2011 05:48 Bаne#37
Use google...it is a powerful tool.
02/14/2011 05:52 abrasive#38
Quote:
Originally Posted by AbsolonShaiya View Post
newer versions of php do not have the php_mssql.dll by default anymore not after v5.2.9 you will have to download the dll file and install it into your \ext directory on your PHP install.
I'm confused on what you are referring to in this case.

You referred to the \ext folder which would seem to mean the user was in linux, but you also referred to php_mssql.dll which would seem to mean the user was in Windows?

Also you never mentioned Apache, which doesn't seem to make sense in either case?

On another note I updated the original post to normalize the functionality to separate files a bit, as well as be compatible with the [Only registered and activated users can see links. Click Here To Register...].
02/14/2011 06:02 shinru2004#39
awww so i need to redownload and make my reg page look pretty again in order to use the change password script? :( that makes me sad lol oh abarasive i have a question for you when i get home. add me on skype and i will be home at some point tomorrow.

Skype: Shinru2004
02/14/2011 06:10 abrasive#40
Quote:
Originally Posted by shinru2004 View Post
awww so i need to redownload and make my reg page look pretty again in order to use the change password script? :( that makes me sad lol oh abarasive i have a question for you when i get home. add me on skype and i will be home at some point tomorrow.

Skype: Shinru2004
The register.view.php should be exactly the same, which is the point of separating the view from the logic involved ;)

You'll need to download and/or update the backend files to use the password change script, however.

Sorry about that, I was just trying to be efficient and not duplicate code.
02/15/2011 06:14 shinru2004#41
its fine lol, i can update it. im going to add a link to my main website side bar for password change
02/16/2011 20:16 remnikalija#42
i did all but i got thiss on register link
Account Registration
Please provide a user name.
Please provide a password.
02/16/2011 20:28 remnikalija#43
now it says Account Registration
Failed to create a new account, please try again later
02/16/2011 21:08 abrasive#44
Quote:
Originally Posted by remnikalija View Post
now it says Account Registration
Failed to create a new account, please try again later
Remove the @ symbol like the comments inside of register.php suggest, so you can see the error message.
02/17/2011 00:11 remnikalija#45
Quote:
Originally Posted by abrasive View Post
Remove the @ symbol like the comments inside of register.php suggest, so you can see the error message.
Warning: mssql_query() [function.mssql-query]: message: Cannot insert the value NULL into column 'UserUID', table 'PS_UserData.dbo.Users_Master'; column does not allow nulls. INSERT fails. (severity 16) in C:\xampp\htdocs\register.php on line 49

Warning: mssql_query() [function.mssql-query]: Query failed in C:\xampp\htdocs\register.php on line 49