Jump to content

[SOLVED] No go filter_var in PHP Version 4.4.7


jr_cumbo

Recommended Posts

Hi,

 

I have recently wrote some code in PHP Version 5.2.4

 

Something like this

<?php
$email=($_POST['email']);

if (isset($_POST['signup_submit']))
{
if(!filter_var($email, FILTER_VALIDATE_EMAIL))
	{
	echo "<font color=red><b>E-mail is not valid</font></b>";
	}

}
?>

 

The problem is that I need to upload to a remote server only running PHP Version 4.4.7, is there a another way of doing this?

 

Any Help would be appreciated.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.