Closed

Configure IRCd and PHP Script to Interface with IRCd

We have Apache2 and PHP setup on a Ubuntu installation.

You will have to do the following:

Configure an IRCd of your choice with the following specifications (we have ircd-hybrid installed, but you can use whatever you want:)

1) Listens on port 80 for incoming connections

2) Only has one super-user, someone connecting from 127.0.0.1 (a local user, the super-user that connects via the PHP file we discuss next)

3) Users cannot create channels, they just connect and receive messages from the super user

4) Users may be forced to join a channel of our choice upon connecting, we haven't determined if that's necessary yet.

We need a PHP file created ([url removed, login to view]) that will be installed on our apache installation (which listens on port 8080). It will be installed in the root virtualhost folder.

The PHP file can ONLY be accessed from certain IP addresses and ranges, those will be provided to you.

The PHP file will create a user that will connect to the PHP server and find out the following information, based on what query we send the PHP file:

PHP API:

1. ...?queryconnect_guid=[username] - query if user is connected.

return if exists: 1!yes

return if not: 1!no

return if error: 0![error text]

2. ...?queryusers - query amount of connected users to the server

return if ok - 1![number of connected]

return if error - 0![error text]

3. ...?sendto=[username]&message=[message text]

return if success - 1!

return if error = 0!

Basically, the PHP file will create a user that connects to the server locally (from 127.0.0.1, thus it will become the superuser). Then that user will either query the server to see if a user is online, to send a user a message, or to determine how many users are connected to the server.

We need this done rapidly, within 24-48 hours.

Skills: Amazon Web Services, PHP, Software Architecture, Software Testing, Web Hosting, Website Management, Website Testing

See more: message interface, create user interface online, create a user interface online, ubuntu online, what is a php file, php server, error in php script, php server api, ubuntu setup software, text based interface, create hybrid, php script setup, apache2 ubuntu, setup php server, script ubuntu, ubuntu script, configure php server, forced software, create local user script, script receive messages, server based software api, php script online, want configure, configure ubuntu, send receive messages php script

About the Employer:
( 49 reviews ) Gainesville, United States

Project ID: #3559243