On Jan 5, 2007, at 4:53 AM, Dave J. (Scoop0901) wrote:
I know someone else brought this kind of error up a few days ago, if
memory serves me. Is there anyway to put in a "Oops, you didn't read
the instructions" message if someone uses an illegal character during
the install process?
Sure... it's as simple as putting something like this at the top of
wp-settings.php:
if ( preg_match('|[^0-9a-z_]|i', $table_prefix) )
die(__('<strong>Error:</strong> <code>$table_prefix</code> in
<code>wp-config.php</code> can only contain numbers, letters and
underscores'));
--
Mark Jaquith
http://markjaquith.com/
Covered Web Services
http://covered.be/
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers