[RELEASE] Secure PHP Web Registration Script

07/08/2011 02:18 R0CK7Y#136
am really confuse i have tried all of them IIS and i dont know what the **ck is going on i enable it from the Control panel and don't know what to do next and with the xampp i have download it and get Busy error with Apachi boot and with SWAMP i got it cool but after that's got the error

"You must have the php_mssql library for Apache installed and enabled to connect to an MSSQL database. Uncomment the line that says extension=php_mssql.dll in your php.ini (XAMPP/WAMP only). This requires a restart of the Apache service to take effect."
i really don't know what to do next!!!! or can i get link with the better pro for this :'(
07/08/2011 03:44 ·Tyler·#137
Quote:
Originally Posted by R0CK7Y View Post
Uncomment the line that says extension=php_mssql.dll in your php.ini (XAMPP/WAMP only). This requires a restart of the Apache service to take effect."
It tells you what to do, this is why it helps to read the error files that you receive. The php.ini file is located at C:\xampp\php and just search for "extension=php_mssql.dll" and remove the semicolon ( ; ) before the line, save the file and restart the apache service.

Tyler
07/09/2011 01:42 R0CK7Y#138
at least i am almost finish just got this massage

"Failed to connect to MSSQL Server."


EDIT : i used tnelis file up the page and its worked just i got every time :

"User name already exists, please choose a different user name."
07/09/2011 10:48 Svinseladden#139
i hade to go with the @odbc_connect. i have tryied everything else. installed php from the first i could find up to the latest. i have tried xampp and that can't connect and can't start or anything. my guess is that the iss 7.5 (what i have) has BIG problems with mssq_connect.

but odbc works like a charm..
07/15/2011 16:20 aboldijar2#140
Heya,

I've read the whole topic but didn't found asolution to my problem..
When i try making new acc it says: Failed to select Ps_UserData.
You know what should be the problem?
Thank you in advance.
07/15/2011 17:08 RebeccaBlack#141
errrrrrrr

Your database PS_UserData isn't there?
07/15/2011 17:08 abrasive#142
Quote:
Originally Posted by aboldijar2 View Post
Heya,

I've read the whole topic but didn't found asolution to my problem..
When i try making new acc it says: Failed to select Ps_UserData.
You know what should be the problem?
Thank you in advance.
Do you have a database named PS_UserData?
07/15/2011 18:39 aboldijar2#143
Yes i do guys...

I am using ep4 server maybe that's why... + using SQL 2008 R2 that helps ?
07/15/2011 22:32 Bаne#144
Quote:
Originally Posted by aboldijar2 View Post
Yes i do guys...

I am using ep4 server maybe that's why... + using SQL 2008 R2 that helps ?
Are you sure that it is named EXACTLY the same? If not check.
07/19/2011 09:17 aboldijar2#145
Yes it's exactly the same name....
*If I use the other register page it says Create user error...and also I am not using xamp cause apache service won't start so I use wwwroot thing on inetpub.
07/19/2011 09:29 RebeccaBlack#146
wwwroot thing... on inetpub... so you're using IIS (Internet Information Services).

Okay, well if you've went through the steps to install PHP on IIS, which it sounds like you already have, then you should have no issues. The "Create user error", is shown by both registrations when your Users_Master table doesn't match up with the INSERT statement used by the PHP script.

Go to register.php and look for @odbc_exec or @mssql_query near the bottom, remove the @, save, and run it again. Make sure the only one you use is Register.php, not Register.View.php
07/19/2011 10:30 aboldijar2#147
Well i started apache now... but idk from where it boots the registration scripts....It should boot them from xamp yes?
07/19/2011 10:54 RebeccaBlack#148
Boot? O.o

All the scripts must be in either wwwroot (IIS) or public_html? (xamp I think), then can be accessed at: [Only registered and activated users can see links. Click Here To Register...]
07/19/2011 10:58 aboldijar2#149
Ohh well i don't wanna use (ISS) I want to use xamp and how can i delete the (ISS) now?
07/19/2011 10:59 RebeccaBlack#150
You go to where you uninstall programs (Depends on your windows version), Turn Windows Features On and Off, and uncheck it.