Setting up a captive portal - PHP-DOM

From JoatWiki
Jump to: navigation, search

What is PHP-DOM?

PHP-DOM is the DOM extension to the PHP language. The Document Object Model is a "platform- and language-neutral interface that will allow programs and scripts to dynamically access and update the content, structure and style of documents."

PHP-DOM is also a prerequisite for WiFiDog.

Src: http://www.w3.org/DOM/

Installing PHP-DOM

Installation is simple. Run "urpmi php-dom". The output of that command should look something like what's below.

Output of "urpmi php-dom"

[root@gateway wifidog-auth]# urpmi php-dom

   http://ftp.ussg.iu.edu/linux/mandrake/official/2007.1/i586/media/main/release/php-dom-5.2.1-1mdv2007.1.i586.rpm
installing php-dom-5.2.1-1mdv2007.1.i586.rpm from /var/cache/urpmi/rpms        
Preparing...                     #############################################
     1/1: php-dom               #############################################
[root@gateway wifidog-auth]#

Back to "Setting up a captive portal"

Personal tools