Skip to content

Instantly share code, notes, and snippets.

View sling00's full-sized avatar

Sling00 sling00

  • USA
View GitHub Profile
@andypiper
andypiper / amqpget.php
Created June 25, 2012 12:46
RabbitMQ test scripts
<?php
$cnn = new AMQPConnection();
$cnn->setLogin("guest");
$cnn->setPassword("guest");
$cnn->setHost("localhost");
if ($cnn->connect()) {
echo "Established a connection to the broker\n";
}