How to show my IPv4- and/or IPv6-address? [on hold]

165
February 16, 2019, at 03:50 AM

I would like to see the the current IPv4 and/or IPv6 address displayed on my website (like https://www.wieistmeineip.de). Currently I have a problem. IPv6 is not detected correctly. Does anyone have an idea?

My current code is:

IP-Adresse:
".$_SERVER["REMOTE_ADDR"]; ?>

I'm definitely using IPv6+IPv4, but the script show me most time only the IPv4-address. For example wieistmeineip.de show me the right IPs.

Rent Charter Buses Company
READ ALSO
Passing variables through a link in an email to a form

Passing variables through a link in an email to a form

I made a survey about the service of a hotel and people has to put their name, last name, email and phone number after answering the questionsWhen you press the submit button the answers and the personal info is saved in a DB and then and email is sent to the client

111
Format billing phone number on WooCommerce checkout

Format billing phone number on WooCommerce checkout

For the WooCommerce checkout billing field, how can I make this field require 9 numbers and insert dashes for proper phone formatting? For example, instead of typing out 3053453212 in the phone number field, it displays: (305-345-3212)

156
FPDI (or Adobe) is sending wrong data to the printer, so the PDF prints out as A4 size

FPDI (or Adobe) is sending wrong data to the printer, so the PDF prints out as A4 size

I am using FPDI (v1) to generate a PDF form with some values added dynamically from the database

119
Adding validation to memberpress custom fields?

Adding validation to memberpress custom fields?

I have a field that the user must fill in with a predefined formatI would like to validate it before the data is saved

128