谁可以给我PHP代码来计算地址IP [英] Who can give me PHP code to caculate adress IP

查看:65
本文介绍了谁可以给我PHP代码来计算地址IP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要每个人都帮助我,我需要像这样的代码计算 IP子网计算器 - SubnetOnline.com [ ^ ]

i只想在我的网站上只有计算器而没有一切

i need everyone help me, i need code calculate like this page IP Subnet Calculator - SubnetOnline.com[^]
i want only "calculator" in my website without everything

推荐答案

为什么不要求作者重新使用它代码?



如果你阅读了这个页面的代码,你会发现一个Javascript代码可以在这个页面中完成所有的计算。

IP计算不是火箭科学,不需要求助于PHP。



[更新]

Why not ask the author for permission to reuse its code ?

If you read the code of this page, you will find a piece of Javascript code that do all the calculation in this page.
IP calculation is not rocket science, there is not need to resort to PHP.

[Update]
引用:

因为我开始学习制作网站,所以我不知道如何将代码放入我的页面,你能告诉我吗

because I begin to learn made website, so I don't know how to put code into my page, can you tell me

这是一个学习HTML,CSS,JavaScript,PHP的好网站和其他人一样。

W3Schools在线网络教程 [ ^ ]

Here is a good site to learn HTML, CSS, JavaScript, PHP and others.
W3Schools Online Web Tutorials[^]


这篇关于谁可以给我PHP代码来计算地址IP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆