CLI Messaging Software

Dr Zoidberg

Senior Member
21 November 2016
252
0

Reputation:

These are a couple of scrips I've wrote a few weeks ago.

Requirements to run : 
 - Apache2
 - Stomp
 - ActiveMQ
 - PHP 7 (didn't test it in PHP5 but it should work)

First Code:
http://pastebin.com/bcQZvC7L

OOP Code:
http://pastebin.com/8Dmia7nW

The functionality is pretty simple. 
It doesn't require a database to work. 
The messages are stored in ActiveMQ. 
The username acts as a queue name.
I didn't add a password protected login function since it can be pretty easily bypassed and I didn't see the point in trying to secure it since it was made for my own entertainment.

If you see any mistakes please let me know. Also if you have any advice I would like to hear it.
 

Tap

Emerald
Emerald Upgrade
2 December 2016
51
0
19

Reputation:

Nice I guess  :hehe: 




I mean I wouldn't use this ever but you know  :hehe:




Good job I guess!
 

Dr Zoidberg

Senior Member
21 November 2016
252
0

Reputation:

Tap said:
Nice I guess  :hehe: 




I mean I wouldn't use this ever but you know  :hehe:




Good job I guess!
It wasn't really made to be used. That's why I didn't spend a lot of time on it, and also PHP isn't the language for this.
 

About Us

Forum Authority is a general discussion forum. We currently have a variety of categories to choose from, where you can participate in discussions. We also have many features such as a powerful credits & awards system, custom upgrades, plugins + more! Here you have the opportunity to meet new people, learn something new, find unique resources & tutorials, win contests & prizes, receive freebies and be given advice or help.

Top