[SOLVED]Case Sensitive in CP with local database
-
Hello everyone, I have searched without results a solution at the time.
I need convert the string "$user" to lowercase or uppercase independent of how users write it.
I use the captive portal service and this gives me error if the user field is misspelled in uppercase or lowercase.I appreciate any help greatly.
-
http://php.net/manual/en/function.strtolower.php
-
Use some javascript to change it in the HTML on submission, it won't require any changes to pfSense code, just the portal page you upload.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.