
how to get client's IP address in PHP - PHPBuilder Forums
GATEWAY_INTERFACE = CGI/1.1 SERVER_ADDR = 127.0.0.1 SERVER_NAME = localhost SERVER_SOFTWARE = Apache/1.3.23 (Win32)
[RESOLVED] Using HTTP_X_FORWARDED_FOR to find IP
I was asked to make a website using php that tells the user their IP address. If the X_FORWARDED_FOR header is being used, it is meant to look there for the IP. I'm probably making a simple mistake, but I really can't find whats wrong, and this is my first time actually programming in php.
Generating a random IP Address? - PHPBuilder Forums
so far we have 3suggestions how to make a random IP Address from 0.0.0.0 - 255.255.255.255. My Function. NogDog suggestion
how to get client's IP address in PHP - PHPBuilder Forums
2006年8月10日 · when i use $_SERVER['REMOTE_ADDR']; i get my IP address.. however, the ip address that you may have been told of by your ISP and the one that requests page information may be different if you use proxy or routers, etc..
Saving variables to a file - PHPBuilder Forums
I wondered if it's possible to make PHP save some info to another file on the same server. An example: index.php should check if the visitor's IP is allowed to open the page, if not, the IP should be added to banned_ips.php. index.php would look something like this
[RESOLVED] php ipconfig - PHPBuilder Forums
I have a little problem here i have uploaded my system on server and my ip adress is showing a number incrementing from my ip that is if my ip adress is 127.0.0.0 it will show 127.0.0.1 and i really need the ip adress for my database when the user enter their details i want to see his/ip adress and it needs t be saved on the database.
[RESOLVED] Connection to a network Drive Using PHP
Here this ip (192.168.1.5) is my own IP and Database is a folder share by me only on my system. Sir, If possible can you just check with this code in your system...as I think I am stuck up with something strange. I shall be waiting...
Slow MSSQL access when using TCP/IP - PHPBuilder Forums
I've encountered the same problem (slow TCP/IP access) on two separate Web Server and DB Server boxes on three different networks. I've run into the problem with both PHP 4.0.5, and PHP 4.0.6. We've tried this on both a Domain and a Workgroup. We've made sure that the webserver isn't trying to do a dns lookup of the db server. Anyways. Thanks.-Jah
[RESOLVED] Fatal error: Call to protected method
I'm just starting out OOP in PHP and using a tutorial I found here... I'm having a bit of trouble with the inheritance bit as when I run the code I get the following. Fatal error: Call to protected method person::change_name() from context '' in C:\Program Files (x86)\EasyPHP-5.3.6.1\www\index.php on line 77
[Resolved] mysql - PHPBuilder Forums
2004年12月1日 · how to grab these information from Mysql and put them into text areas and inputs? I can echo them but it's hard for me to insert them to inputs, any suggesti...