I spent few days on trying to setpup my website for the server. But everything went wrong while trying to access the data base on my server from the web. Some people told me I should use EasyPhp.
Wel I have installed it on my server pc,run it.
My config.inc.php look like this:
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['connect_type'] = '3306';
$cfg['Servers'][$i]['user'] = 'xxx';
$cfg['Servers'][$i]['password'] = 'xxx';
First of all how do I know what port should I use? Why not 80?
My main problem is to set up scripts like: Top pvp/pk list,raid boss list,7 signs etc. With easyphp I tried the script for server status on my server and this is the error that I get:
Fatal error: Call to undefined function
mssql_query() in c:\program files (x86)
\EasyPHP-5.3\www\pk.php on line 11
Now if we go to file pk.php to line 11 we can find the next info:
$query = msql_query("SELECT char_name, PK FROM dbo.user_data WHERE PK>0 ORDER BY PK DESC");
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Based on all your comments, I realized that you are a complete beginner who doesn't understand anything about programming or even the basic concepts of the Java language.
Go study, gain some basic knowledge about the subject, and after you've studied and acquired at least a minimal understanding, you can come back here and ask for clarifications, and I’ll help you with all your questions. 🤣🤣🤣🤣
@Möbius
You should start a comedy show on television, you're very funny, and for those who know your face as well as I do, I can say you'd make a great clown.
The more you try to explain yourself and claim you're the god of L2j, actually, I believe you think of yourself as this god of L2j, but you forget that in this world, there are many programmers better than you who don't engage in fraudulent scams against people.
just like you are doing
Question
Enigma
I spent few days on trying to setpup my website for the server. But everything went wrong while trying to access the data base on my server from the web. Some people told me I should use EasyPhp.
Wel I have installed it on my server pc,run it.
My config.inc.php look like this:
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['connect_type'] = '3306';
$cfg['Servers'][$i]['user'] = 'xxx';
$cfg['Servers'][$i]['password'] = 'xxx';
First of all how do I know what port should I use? Why not 80?
My main problem is to set up scripts like: Top pvp/pk list,raid boss list,7 signs etc. With easyphp I tried the script for server status on my server and this is the error that I get:
Fatal error: Call to undefined function
mssql_query() in c:\program files (x86)
\EasyPHP-5.3\www\pk.php on line 11
Now if we go to file pk.php to line 11 we can find the next info:
$query = msql_query("SELECT char_name, PK FROM dbo.user_data WHERE PK>0 ORDER BY PK DESC");
How can I fix it please?
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.