试着让这个大政方针发挥作用。
[a-z0-9-\.]+(?!.in-addr.arpa*$)
样本-
sdfgsed.co.in //shall match
1.1.1.1.in-addr.arpa //shall not match
fgsagf.co.ru //shall match
agfasfdg21.cn //shall match
编辑-
(?i)([a-z0-9-\.]{3,}\.(?!us|com|net)[a-z]{2})+$(?<!\.in-addr\.arpa)\x00
我试过这里提供的答案。Regex在数据包中搜索为域名.com .net发出的DNS请求。组织T
我有以下php文件,用于获取和显示图像,读取数据库
<?php
require_once('database.php');
$db = new Database();
$id = $_GET['id'];
$order = $_GET['order'];
// do some validation here to ensure id is safe
header('Content-type: image/jpeg');
echo pg_unescape_bytea($db->getImageById($id,
我想在我的项目中使用Facebook-PHP-SDK进行登录和注册。在应用域名字段中,我输入了我的IP作为192.168.10.10,然后它显示错误为
App Domains: 192.168.10.10 is not a valid domain.
我想要的是,当我点击登录使用Facebook图标,它应该登录,并从Facebook数据库获得我的数据,并将其插入到我的自定义数据库。