4 ms·
I get lots of nasty mysql errors when I open the link. Make sure error_reporting is set to 0 and that you log errors to a file, which can be done via Apache (or
by RossM 18y ago
I get lots of nasty mysql errors when I open the link. Make sure error_reporting is set to 0 and that you log errors to a file, which can be done via Apache (or your choice of httpd server).
Because of the mysql errors I cannot use your application either so I'll hold judgement on actual functionality for now.
- RossM 18y agoThey've cleared up now but make sure you turn visible error_reporting off, no excuses. You should also look into better error trapping and handling. On another technical aspect I notice you're passing regexes via GET. Don't - setup an array of regexes with named keys (e.g. default => ^[^.]+[.](com)$) - I'm about to test to see how much damage I could theoretically do (without too much effect if possible). I hope you're not using that in an SQL statement. Edit: Ah didn't notice it was a feature as such - while it's a pwoerful feature it's not very user-friendly. Perhaps create a search form that works similarly? Issues aside it looks like an interesting tool - an additional sort could be to pick up domains that are single dictionary words, and then further sort those by number of syllables.