Warning: mssql_select_db() [function.mssql-select-db]: message: The server principal "SERVER\IUSR_91ervans" is not able to access the database "Auth" under the current security context. (severity 14) in C:\inetpub\vhosts\pfad\register.php on line 12
Can u help me making a register page?
i do only have to create a index.php file in xamp htdocs folder and put ur info in it right ?
do i have to change some stuff in the file?
Quote:
Originally Posted by Strean
Hey all .
I was wondering that i didnt see any register script for the private server...
so here is my script written in php :
PHP Code:
<?php
$host = "(local)\\RappelzSQL"; // your sql instance
$user = "sa"; // username
$pw = ""; // password
$db = "Auth"; // db
$md5_key = "2011"; // your md5 key
$connect = mssql_connect($host,$user,$pw)
or die("Can't connect to the datebase.");
mssql_select_db($db,$connect)
or die("Can't select the datebase");
I have NEVER used xampp, php, what-so-ever.
Could you make a step-by-step guide (except installation) on how to have the register page being able to be accessed through the internet. (I have no idea where to put this info ;D)
I have NEVER used xampp, php, what-so-ever.
Could you make a step-by-step guide (except installation) on how to have the register page being able to be accessed through the internet. (I have no idea where to put this info ;D)
I rather would say use IIS instead of XAMPP.
But well, here a short overview (I hope you understand it like this):
IIS is a Windows-Hosttool, means it is already included. You have to activate it in your Control Panel -> Windows Programs.
When you activated it, you can find IIS (Internet Information Service) in your programs. When you start it, you see a Default Page (accessable through ), you can edit it or delete it and add a new page, basically it doesn't make any difference.
After that you have to download and Install PHP () - It will get activated automatically.
After that you just have to set up the Sql Server Driver for PHP (since the mssql_[...] isn't supported anymore) and that's it.
If you use wamp -> Don't cry when you have a lack of security.
If I remember right, wamp is a previous version from XAMPP, and those "server" are NOT for public hosting.
yes in first install is not secure . but you can make hem better when you use brain.exe and your update .
I am using wamp server since long time. It's light weight and very easy to configure and do upgrades. Also If you need perl, you can simply install perl into wamp server. I also used xampp couple of times, but simply I don't like it. Also I heard it has some security vulnerabilities and need to reconfigure