Kod php:
<?
require_once('MessageBuilder.php');
require_once('PushConnection.php');
PushConnection::$BOTAPI_LOGIN='wojtek@gg.pl';
PushConnection::$BOTAPI_PASSWORD='hasło';
$P = new PushConnection(123456);
$M = new MessageBuilder();
$identyfikator = $_GET['images'];
$obrazek = $P->getImage($identyfikator);
$M->addText("Odebrałem obrazek:\n");
$M->addImage($obrazek, IMG_RAW);
$M->addText("\no identyfikatorze: ".$identyfikator);
$M->reply();
Zostaw komentarz: