$URL = '';
if (getConfig('test_text') == 'Y') {
// Test submitted text against some filters (length, URLs in text etc.)
- if ((strpos(strtolower(REQUEST_POST('text')), "https://") > -1) || (strpos(strtolower(REQUEST_POST('text')), "http://") > -1) || (strpos(strtolower(REQUEST_POST('text')), "www") > -1)) {
+ if ((strpos(strtolower(REQUEST_POST('text')), "https://") > -1) || (strpos(strtolower(REQUEST_POST('text')), 'http://') > -1) || (strpos(strtolower(REQUEST_POST('text')), "www") > -1)) {
// URL found!
$URL = 'modules.php?module=login&what=order&msg=' . getCode('URL_FOUND');
} // END - if
if (getConfig('test_subj') == 'Y') {
// Check the subject line for issues
REQUEST_SET_POST('subject', str_replace("\\", "[nl]", substr(REQUEST_POST('subject'), 0, 200)));
- if ((strpos(strtolower(REQUEST_POST('subject')), "http://") > -1) || (strpos(strtolower(REQUEST_POST('subject')), "www") > -1)) {
+ if ((strpos(strtolower(REQUEST_POST('subject')), 'http://') > -1) || (strpos(strtolower(REQUEST_POST('subject')), "www") > -1)) {
// URL in subject found
$URL = 'modules.php?module=login&what=order&msg=' . getCode('SUBJ_URL');
} // END - if
$OLD_ORDER = true;
} else {
// Default output for that your members don't forget it...
- $url = "http://";
+ $url = 'http://';
}
// Free result