How?
Let's say I don't people will upload files with Hebrew, Arabic, Russian, Japanese etc in the filename.
Long story short - only English characters in the filename (or image name) will be accepted and uploaded. How do I do that?
Thanks.
if (strstr($_POST['email'], '@')) {
if ((strstr($_POST['email'], '@')) && (!eregi("^[A-Z0-9_-.]*$", $_POST['email']))) {
SamEA wrote:I haven't forgotten about you and will come up with a solution by tonight hopefully, just need to install a fresh copy of DFH. This is mainly because of on-going university research and assignments.
if (strstr($_POST['email'], '@')){
if (preg_match("/[^\x00-\x7F]/",$string)) {
// Does contain foreign characters!
}else{
// Does not contain foreign characters!
}
Return to Daddy's File Host v1.X
Users browsing this forum: No registered users and 25 guests