Universal Form Validator PHP Support Product Page

Solved

Mistake when a URL is checked:

Reported 27 Feb 2014 09:36:51
1
has this problem
27 Feb 2014 09:36:51 Carmen Scheibe posted:
when a URL is checked:
"Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /vrmd/homepages/u24934/ScriptLibrary/dmxValidator.php on line 1989"
www.talsperre-kriebstein.de/edit/register.php
(I write this the third time. Have already sent an Image to your email.
(I cannot use this extension with this mistake and need a quick solution.)
Carmen

Replies

Replied 27 Feb 2014 10:57:51
27 Feb 2014 10:57:51 Teodor Kuduschiev replied:
Hello,
I just tried this website and cannot see the error you are referring to. When exactly does this appear?
Replied 27 Feb 2014 11:34:08
27 Feb 2014 11:34:08 Carmen Scheibe replied:
Hallo, you haven't filled the Field "Internet www." .
This Field ("Internet www.") should be checked for a valid URL, (example: "www.dmxzone.com) and the mistake appears.
Replied 27 Feb 2014 11:56:38
27 Feb 2014 11:56:38 Teodor Kuduschiev replied:
Please edit the
/ScriptLibrary/dmxValidator.php file
and replace the line 1989 with:

return (preg_match('/^((ftp|(http(s)?)):\/\/)?(\.?([a-z0-9-]+))+\.[a-z]{2,6}(:[0-9]{1,5})?(\/[a-zA-Z0-9.,;\?|\'+&%\$#=~_-]+)*$/i', $_POST[$element]) > 0);

Replied 27 Feb 2014 12:59:06
27 Feb 2014 12:59:06 Carmen Scheibe replied:
ok, thank you, after this difficult way this functions now. I am waiting now for the next update (go together with HTML3 Editor.)

Reply to this topic