Hello,
i have a problem with the following code/REGEX:
if (!ereg('((http|https|ftp):\/\/[a-zA-Z0-9-.]+.[a-zA-Z0-9]{2,5}(:[a-zA-Z0-9])?\/?([a-zA-Z0-9-._\?\,\'\/\+&%\$#\=~]))', $url))
{
//No valid URL
}
else
{
//Good URL
}
This regex is runnig well on my local (WIN / APCHE) server, but not on the Online Linux Server.
Has anyone an Idea?
Thank you verry much for your help and sorry for my bad english.