您当前的位置: 首页 >  php

暂无认证

  • 4浏览

    0关注

    93978博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

php经典:访问子字符串

发布时间:2021-10-03 20:10:35 ,浏览量:4

<!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title></title> </head> <body> <form method="post"> <input type="text" name="email"> <input type="submit" value="提交email"> </form> </body> </html> <?php error_reporting(0); if(strpos($_POST['email'],'@')===false) { print "strpos的意思是:查找input:email中@第一次出现的位置."; } else { print "666"; } ?> 
关注
打赏
1655516835
查看更多评论
立即登录/注册

微信扫码登录

0.0480s