DAmnPHP

From Botdom Wiki
Jump to: navigation, search
The correct title of this article is dAmnPHP. The initial letter is capitalized due to technical limitations.
dAmnPHP
Developer(s): photofroggy
Programming language: PHP
Development state: RC
Source model: Open source
Last stable release: 5 (5th December, 2010)
License type: Free software (CC)


dAmnPHP is a set of PHP functions to handle dAmn sockets in PHP. The collection is named after the main class, also called dAmnPHP. It provides an interface between a client and a dAmn connection. There are also one or two functions used to help with processing the incoming data, but that should be done indepentantly of dAmnPHP.

File Listing

~/dAmnPHP.php
~/LICENSE_CC-BY-NC-SA-3.0.txt

To Do

  • Write documentation!

Feedback

If you have any feedback please leave it on the discussion page. If you find any bugs then leave them on the discussion page too please.

Downloads

Change Log

dAmnPHP 5

(5th December 2010)

  • getCookie() now sends proper headers.
  • Return data for getCookie changed.
    • An array is returned, always containing a 'status' code (an integer).
    • If the status code is 1, then the cookie can be accessed under the key 'cookie'.
    • Otherwise, an error message is defined under the key 'error'. The following are the status codes and messages:
      • Code: 2; Message: 'Could not open an internet connection'
      • Code: 3; Message: 'No response returned from the server'
      • Code: 4; Message: 'No cookie returned'
      • Code: 5; Message: 'Malformed cookie returned'
      • Code: 6; Message: 'No authtoken returned'

dAmnPHP 4

(12th December 2008)

  • Restructured things slightly to improve stuff.
  • Now uses OpenSSL to retrieve cookie.

dAmnPHP 3

(28th September 2008)

  • Restructured the way things work.
  • Fixed some minor bugs.
  • Cleaned up the code a bit.

dAmnPHP 2

(24th July 2008)

  • Fixed some bugs.

dAmnPHP 1

(24th July 2008)

  • Tweaked code.
  • Now catches all disconnects. (hopefully)

dAmnPHP 0

(23rd July 2008)

  • Started by ripping stuff out of Contra.

See Also

Somerights.png
This work is released under the Creative Commons Attribution NonCommerical ShareAlike 3.0 License, which allows you to freely use, modify or distribute it, however you are not allowed to make commercial use of this work, you need to credit the original creator of the work, and all deratives you make of this work have to be released under a license identical to this one.