We now actually have an even better workaround for the IP address problem I talked about last time. Near the top of any PHP page, include the following line:
require_once('wou_web_patch.inc.php');
After that, the normal IP address variable $_SERVER[‘REMOTE_ADDR’] will hold the actual IP instead of one of the four load-balancer addresses. $_SERVER[‘HTTP_WOU_REAL_IP’] will continue to hold the real IP as well, but you should use the normal variable whenever possible.
By the way, the patch is already included in the WOU standard template, so if you are using those topinclude and bottominclude files, you only need to include the above code if you need the IP address before you call topinclude. Since it uses require_once(), there will be no conflict when the topinclude calls the patch again.
Excellent Blog! I would like to thank for the efforts you have made in writing this post. Leading Market Research Company
How do I change the hosting IP of my blog?
Can you please tell me how can I hide my basketball blog’s hosting IP?
Thanks for sharing this, ultimately, helping me out to detect the right IP Address in PHP for my blog. It was too much technical for me before, but there seems no problem at all anymore.
Buen post, voy a probar…
very informative blog
Visit our digital marketing website
This is a good blog that I look forward to reading. You guys always do a good job in writing blogs.
Digital Marketing Agency helps you promote your business at a very reasonable cost.
Cara budidaya ikan lele di kolam terpal bagi pemula
Thanks for the points you have shared here. Keep iy up! สล็อตออนไลน์
UK 49s Teatime draw will take place twice a day every day. Get the latest UK 49s Teatime Results here.
Обменять испорченные (поврежденные) купюры долларов США, евро и другой иностранной валюты в Одессе
The sublimation printer is a revolutionary device that allows you to print photos, documents, and more on any substrate from paper to frosted glass to metal. Gone are the days of printing on flat surfaces. With this printer, you can print anything onto frosted glass, stickers, plaques, and more!
Really cool post! Check out salon appointment software
Awesome post! Check out stainless steel wire mesh panels