在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
每位 点击查看PHP代码片段(一) 1) Whois query using PHP ——利用PHP获取Whois请求利用这段代码,在特定的whois信息。把域名名称作为参数,并显示所有域名的相关信息。
2) Text messaging with PHP using the TextMagic API ——使用TextMagic API 获取PHP Test信息TextMagic引入强大的核心API,可轻松将SMS发送到手机。该API是需要付费。
3) Get info about your memory usage——获取内存使用率这段代码帮助你获取内存使用率。
4) Display source code of any webpage——查看任意网页源代码如果你想查看网页源代码,那么只需更改第二行的URL,源代码就会在网页上显示出。
5) Create data uri’s——创建数据uri通过使用此代码,你可以创建数据Uri,这对在HTML/CSS中嵌入图片非常有用,可帮助节省HTTP请求。
6) Detect location by IP——通过IP检索出地理位置这段代码帮助你查找特定的IP,只需在功能参数上输入IP,就可检测出位置。
7) Detect browser language——查看浏览器语言检测浏览器使用的代码脚本语言。
8) Check if server is HTTPS——检测服务器是否是HTTPS
9) Generate CSV file from a PHP array——在PHP数组中生成.csv 文件 |
请发表评论