how to detect double dot ..
Started on the old forum in March 2014 · view the original in the archive · old links redirect here
<?php
function checkdot($file) {
if(substr_count($file,'.')>1)
return true;
else
return false;
}
if(checkdot($filename))
{
echo "More than one dot in $file, pls rename, remove dot and leave the last dot alone.";
}
?>
Mobile chat, iphone chat, android chat, chat, rooms http://www.aiochat.com