Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Customize Captive Portal Page using php

    Captive Portal
    2
    2
    905
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      buntha last edited by

      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

      1 Reply Last reply Reply Quote 0
      • Gertjan
        Gertjan last edited by

        @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.

        No "help me" PM's please. Use the forum.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post