how to upload a file from php to amqp
- by user2462648
i want to know... how can i send a file to a rabbitmq queue from php.
i have gone through many examples most of them didnt work.
below is a consumer producer example which is near to working.
Below is a the publisher.php
<?php
require_once('../php-amqplib/amqp.inc');
include('../config.php');
$conn = new AMQPConnection(HOST, PORT,…