php
Php examples
The urls works so test it out on your own server!
Simply code to send senders username:
/ht run http://46.59.72.236/ht_tuts/display_player.php?player=%s
PHP CODE:
<?php $player = $_GET["player"]; // get variable echo $player; // display ?>
Get online players of max players
/ht run http://46.59.72.236/ht_tuts/getplayers.php?players=%pc&max=%max
PHP CODE:
<?php $players = $_GET["players"]; // get currently players $max = $_GET["max"]; // get max players $variable = $players . "/" . $max; // compile variables to one echo $variable; // display ?>
Comments