jr_cumbo Posted July 18, 2008 Share Posted July 18, 2008 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. Link to comment https://forums.phpfreaks.com/topic/115450-solved-no-go-filter_var-in-php-version-447/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.