我怎样才能解决这个问题 [英] How Can I Fix This With Php/
问题描述
if(!filter_var($email, FILTER_VALIDATE_EMAIL))
使用此代码
这个曾经工作过很多次
但是在3 mounth之后
它的工作量很大/>
id应该做什么?
我的php是版本5.3.5
如果我写无效的电子邮件说无效
if我写有效的电子邮件说无效
但是我做了另一个页面测试代码它的工作正常
但是在我的原始页面不能正常工作!!!
is used this code
this worked for times
but after 3 mounth
it dosent work
what should id do?
my php is version 5.3.5
if i write invalid email says invalid
if i write valid email says invalid
but i made an other page that test the code its worked true
but in my original page not work true!!!
推荐答案
电子邮件,FILTER_VALIDATE_EMAIL))
email, FILTER_VALIDATE_EMAIL))
使用此代码
这个工作时间很长
但是在3 mounth之后
它才能工作
id应该做什么?
我的php是版本5.3.5
如果我写无效的电子邮件说无效
如果我写有效的电子邮件说无效
但我做了一个测试代码的其他页面工作正常
但是用我原来的页面不能正常工作!!!
is used this code
this worked for times
but after 3 mounth
it dosent work
what should id do?
my php is version 5.3.5
if i write invalid email says invalid
if i write valid email says invalid
but i made an other page that test the code its worked true
but in my original page not work true!!!
似乎该函数需要3个参数,并且你有2个。
It seems that the function requires 3 parameters, and you have 2.
var = filter_var(
var = filter_var(
这篇关于我怎样才能解决这个问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!