Re: [Tut] Make your GunZWeb+Panel
i get this problem
Fatal error: Call to undefined function mssql_connect() in C:\wamp\www\web\config.php on line 2
here is my config
<?php
mssql_connect("GARRETT-D3243E9\SQLEXPRESS","sa","Kenman1937");
mssql_select_db("GunzDB");
$opened = 1;
if($opened == 0){
$pagetitle = "Server in maintenance";
}
?>
Re: [Tut] Make your GunZWeb+Panel
Re: [Tut] Make your GunZWeb+Panel
ZOMG now it works how the..?!? Ohh anyway nvm..
ill edit this post when done.
Re: [Tut] Make your GunZWeb+Panel
wdf...
Code:
Returns HomepageHer«
Error
$wut
"; die(); } //Check email function. This to prevent fake emails. (Remember the time YOU doing that?) function checkemail($address) { list($local, $host) = explode("@", $address); $pattern_local = "^([0-9a-z]*([-|_]?[0-9a-z]+)*)(([-|_]?)\.([-|_]?)[0-9a-z]*([-|_]?[0-9a-z]+)+)*([-|_]?)$"; $pattern_host = "^([0-9a-z]+([-]?[0-9a-z]+)*)(([-]?)\.([-]?)[0-9a-z]*([-]?[0-9a-z]+)+)*\.[a-z]{2,4}$"; $match_local = eregi($pattern_local, $local); $match_host = eregi($pattern_host, $host); if($match_local && $match_host) { return 1; } else { return 0; } } //The num_rows() function for ODBC since the default one always returns -1. function num_rows(&$rid) { //We can try it at least, right? $num= odbc_num_rows($rid); if ($num >= 0) { return $num; } if (!odbc_fetch_row($rid, 1)) { odbc_fetch_row($rid, 0); return 0; } if (!odbc_fetch_row($rid, 2)) { odbc_fetch_row($rid, 0); return 1; } $lo= 2; $hi= 8192000; while ($lo < ($hi - 1)) { $mid= (int)(($hi + $lo) / 2); if (odbc_fetch_row($rid, $mid)) { $lo= $mid; } else { $hi= $mid; } } $num= $lo; odbc_fetch_row($rid, 0); return $num; } ?>
= 1) { gtfo("Username in use."); } //Check if the Email is in use. $query2 = odbc_exec($connect, "SELECT AID FROM $accounttable WHERE Email = '" . antisql($_POST['email']) . "'"); $count2 = num_rows($query2); if ($count2 >= 1) { gtfo("Email address in use."); } //Regdate //Time for the real work. Editing this will be the end of your regpage. $query3 = odbc_exec($connect, "INSERT INTO $accounttable (UserID, UGradeID, PGradeID, RegDate, Email, Age, Name) VALUES ('".antisql($_POST['username'])."', '0', '0', '11.03.2207 0:00:00', '".antisql($_POST['email'])."', '".antisql($_POST['age'])."', '".antisql($_POST['name'])."')"); $query4 = odbc_exec($connect, "SELECT AID FROM $accounttable WHERE UserID = '" . antisql($_POST['username']) . "'"); odbc_fetch_row($query4); $aid = odbc_result($query4, 1); //If no results comes back. (Registration failed.) if (!$aid) { gtfo("Shit happened. Please report this bug at our forums."); } odbc_exec($connect, "INSERT INTO $logintable (UserID, AID, Password, euCoins) VALUES ('".antisql($_POST['username'])."', '$aid', '".antisql($_POST['password'])."', '0')"); //When everything is done, show the username/password to the visitor. gtfo("Your account has been created.
Username: $_POST[username]
Password: $_POST[password]
Have fun at $servername!"); } //Here the party begins. Feel free to edit this. echo "Register an account at $servername.
Username:
Password:
E-mail:
Name:
Age:
"; ?>
Copyright 2008 Wizkid - .
Re: [Tut] Make your GunZWeb+Panel
Fatal error: Call to undefined function mssql_connect() in C:\AppServ\www\config.php on line 2
:S?
Re: [Tut] Make your GunZWeb+Panel
i fixed the above problems
you cant have mysql installed with appache or your webserver the mysql connection stuff dont install mysql with your webserver
Re: [Tut] Make your GunZWeb+Panel
Fatal error: Call to undefined function mssql_connect() in C:\AppServ\www\config.php on line 2 Please help fix Q.Q
Re: [Tut] Make your GunZWeb+Panel
I edited the main post, add the "registrer.php" which is what caused all the problems ... Since my "tables" are different from that upload. To fix the problem, replace the "register" old for new.
Re: [Tut] Make your GunZWeb+Panel
Re: [Tut] Make your GunZWeb+Panel
Re: [Tut] Make your GunZWeb+Panel
Thanks Jizeth. Many people have problems with this shit.
Re: [Tut] Make your GunZWeb+Panel
Fatal error: Call to undefined function mssql_connect() in C:\AppServ\www\config.php on line 2
Please help
Re: [Tut] Make your GunZWeb+Panel
need help please, i can't replace the dbo.Account table. i always got dependency error everytime i want to delete dbo.Account. any suggestion?
NOTE: I'm Using SQL Server 2008 Enterprise Edition
Re: [Tut] Make your GunZWeb+Panel
This is to killerstefan..
You never should infract me for a stupid reason.
So now i'm releasing his website .psd ...
Quote:
Dear RodiSR,
You have received an infraction at RaGEZONE - MMORPG server development forums.
Reason: Spamming
-------
Je kan het echt niet laten he :(
-------
This infraction is worth 1 point(s) and may result in restricted access until it expires. Serious infractions will never expire.
Original Post:
http://forum.ragezone.com/f496/wip-p...9/#post5910949
Quote:
Originally Posted by Synix
either you
True, i can only use Microsoft word trying to hack with it.
All the best,
RaGEZONE - MMORPG server development forums
http://img833.imageshack.us/img833/9...7techfinal.png
Download link :
Filebeam - Beam up that File Scottie!
Re: [Tut] Make your GunZWeb+Panel
How could I Know the site or it is working well?
:?:
---------- Post added at 11:06 AM ---------- Previous post was at 11:04 AM ----------
Quote:
Originally Posted by
ybrick
How could I Know the site or it is working well?
:?:
Can someone Help me...