I don't remember login and pass text fields being called Shaiya or Shaiya123. Are you trying to insert default values in User and Pw fields this way? Skip the trim and $_POST then. By the way, read some about global variables and arrays in PHP if you want to tinker with it.
You need to install mssql support for php so the mssql_connect function exists first.
I would edit out those usernames and passwords if they are real.
You pass variables into the mssql_connect function, which you assign values to first. Like if your host is 192.168.1.44, and the root user's password is "p1zza$_", you would use it something like this:
Simple fix.
Change
$conn=mssql_connect("$dbhost","$dbuser","$dbpass") ;
To
$conn=mssql_connect('$dbhost','$dbuser','$dbpass') ;
or
$conn=mssql_connect('127.0.0.1','$dbuser','$dbpass ') ;
If your Xammp is running on local host with the DB.
Your welcome
Phish
Edit: Let me add.. I hope your webserv is secure as your releasing such sensative data is a major security risk.
Simple fix.
Change
$conn=mssql_connect("$dbhost","$dbuser","$dbpass") ;
To
$conn=mssql_connect('$dbhost','$dbuser','$dbpass') ;
or
$conn=mssql_connect('127.0.0.1','$dbuser','$dbpass ') ;
If your Xammp is running on local host with the DB.
Your welcome
Phish
Edit: Let me add.. I hope your webserv is secure as your releasing such sensative data is a major security risk.
Why are you putting single quotes around the variables?
You are using the variable names as a string, and not actually passing the data contained within the variables to the mssql_connect function.
SRO- where i register? 05/04/2010 - SRO Private Server - 0 Replies title says it all.
EDIT: how i make it english
can not register me 09/11/2008 - SRO Private Server - 1 Replies have someone a account for me?
register help 07/14/2008 - EO PServer Hosting - 1 Replies i have a problem with my register script it keeps saying invalid id/password idk what to do
CAN SOME ONE HELP ME REGISTER 04/20/2008 - Dekaron Private Server - 1 Replies HELP :( WHEN I TRY TO REGISTER AT DEKARON PSERVER I GET AN ERROR :(
PLEASE HELP MEEE