Is any method is available which through we can determine that our current connection is through internet Or intranet using php script.
Thanks.....
Is any method is available which through we can determine that our current connection is through internet Or intranet using php script.
Thanks.....
You can use $_SERVER["HTTP_HOST"]
variable to obtain if it is localhost
or other IP address.