Customize Captive Portal Page using php



  • Dear all;
    I have problem with portal page using php
    how to Customize Captive Portal Page using php
    Fatal error: Call to undefined function mysql_connect() in /var/etc/captiveportal_nbc.html on line 6



  • @buntha:

    ….
    how to Customize Captive Portal Page using php
    Fatal error: Call to undefined function mysql_connect() in /var/etc/captiveportal_nbc.html on line 6

    Customize the PHP server first :)

    pfSense does NOT contain a PHP setup with mysql functions activated - because his PHP doesn't need mysql (neither mssql) functions.

    So, the function mysql_connect() is flagged as absent.

    Use the search function on this forum, use intelligent keywords like "mysql_connect" and you will find messages on this forum that explain you how to activate the mysql functions.


Log in to reply