From eb2c4175fe906c5cca5fa7767490796497c8a106 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 21 May 2010 22:38:22 -0400 Subject: We accept PHP pages now, note this --- usr/local/www/services_captiveportal.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/local/www/services_captiveportal.php') diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php index 8f8262c..6b024d3 100755 --- a/usr/local/www/services_captiveportal.php +++ b/usr/local/www/services_captiveportal.php @@ -608,7 +608,7 @@ value="">

- Upload an HTML file for the portal page here (leave blank to keep the current one). Make sure to include a form (POST to "$PORTAL_ACTION$") + Upload an HTML/PHP file for the portal page here (leave blank to keep the current one). Make sure to include a form (POST to "$PORTAL_ACTION$") with a submit button (name="accept") and a hidden field with name="redirurl" and value="$PORTAL_REDIRURL$". Include the "auth_user" and "auth_pass" and/or "auth_voucher" input fields if authentication is enabled, otherwise it will always fail. Example code for the form:
@@ -632,7 +632,7 @@ Example code for the form:


-The contents of the HTML file that you upload here are displayed when an authentication error occurs. +The contents of the HTML/PHP file that you upload here are displayed when an authentication error occurs. You may include "$PORTAL_MESSAGE$", which will be replaced by the error or reply messages from the RADIUS server, if any. -- cgit v1.1