Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
208 views
in Q2A Core by
I have some code to another engine

if (preg_match ("/href|url|http|www|.ru|.com|.net|.info|.org/i", $_POST['comments']) || preg_match ("/href|url|http|www|.ru|.com|.net|.info|.org/i", $_POST['name'])){$stop[] = "Sorry, post links in the comments is forbidden!";$CN_HALT = TRUE;}

how integrate this code in q2a?
Q2A version: 1.5.4

Please log in or register to answer this question.

...