diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php
index 8f8262c57d..6b024d30a1 100755
--- a/usr/local/www/services_captiveportal.php
+++ b/usr/local/www/services_captiveportal.php
@@ -608,7 +608,7 @@ value="=htmlspecialchars($pconfig['radiuskey2']);?>">
- 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.