SA-MP Forum
November 20, 2009, 05:58:15 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Hosted tab listings available from serverFFS
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: PHP and Mysql in samp?  (Read 180 times)
BombaNick
Little Clucker
*
Posts: 40


View Profile
« on: November 06, 2009, 11:45:14 pm »

How can I do that through a Web site will be possible to see the number of connected players and their names?

with PHP and Mysql?
Logged
$€ЯĢ
Gangsta
****
Posts: 931



View Profile
« Reply #1 on: November 07, 2009, 12:17:04 am »

Woet posted a tutorial: http://forum.sa-mp.com/index.php?topic=124645.0
Logged


$€ЯĢ recommends:
ZCMD (by ZeeX) - the fastest & the simplest command processor
Sscanf (by Y_Less) - the easiest way of splitting
foreach (by Y_Less) - the fastest & the most efficient loops
Streamer Plugin (by Incognito) - the most perfect & the fastest all-in-one streamer
MySQL Plugin R2 (by G-sTyLeZzZ) - the only fully working way to replace slow files
BombaNick
Little Clucker
*
Posts: 40


View Profile
« Reply #2 on: November 07, 2009, 12:28:26 am »

tnx =]
Logged
BombaNick
Little Clucker
*
Posts: 40


View Profile
« Reply #3 on: November 07, 2009, 03:51:49 am »

i can kick players from my website with this?
Logged
clum'
Huge Clucker
***
Posts: 243


View Profile
« Reply #4 on: November 07, 2009, 04:15:18 am »

i can kick players from my website with this?

Not with that script, no.
Logged
/^We(stie|z+[e|a]r)$/
Huge Clucker
***
Posts: 493



View Profile WWW
« Reply #5 on: November 07, 2009, 04:31:41 am »

If your script also had RCON access, you could kick players.
Logged

         
      
         
            Releases
            (INC) strlib - PHP-like string library
            (PHP) Server Query and RCON API
            (PHP) Server Control and API
            (PHP) SA-MP Control Panel - Windows and Linux!
         

      

Warning: If you are using my old server control panel, note the consequences of your server being hacked. Yay!
Information: Please do not randomly add my MSN. My MSN is public so people with important matters can contact me. If you randomly add my MSN for a reason such as scripting help, you may be added to a public (image ftw) list.
BombaNick
Little Clucker
*
Posts: 40


View Profile
« Reply #6 on: November 07, 2009, 04:52:26 am »

How can I do that?
Logged
/^We(stie|z+[e|a]r)$/
Huge Clucker
***
Posts: 493



View Profile WWW
« Reply #7 on: November 07, 2009, 08:48:40 am »

Look around the forums for RCON includes. (or you can check my signature.)
Logged

         
      
         
            Releases
            (INC) strlib - PHP-like string library
            (PHP) Server Query and RCON API
            (PHP) Server Control and API
            (PHP) SA-MP Control Panel - Windows and Linux!
         

      

Warning: If you are using my old server control panel, note the consequences of your server being hacked. Yay!
Information: Please do not randomly add my MSN. My MSN is public so people with important matters can contact me. If you randomly add my MSN for a reason such as scripting help, you may be added to a public (image ftw) list.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF one | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!