WebSite X5Help Center

 
Csaba Bolgár
Csaba Bolgár
User

Contact form-Listing of ip addresses into the database  en

Auteur : Csaba Bolgár
Visité 223, Followers 2, Partagé 0  

Hello
I would welcome the option to edit html from the contact form, the php code I would like to send the IP address to the database of the user who sends the message via the contact form.

Kód.: $_SERVER['REMOTE_ADDR']

Subsequently, I would like to list the IP address on the website, I only need to get the IP address into the database first.
I need to achieve something similar to this:

Please add such options to the contact form, I believe more users of Website x5 would welcome it.

Thank you in advance for your willingness.

Posté le
2 RéPONSES - 1 UTILES - 1 CORRECT
Csaba Bolgár
Csaba Bolgár
User
Auteur

Hello
-I would like to know if such an option will be added in the contact form or if the IP address of the sender of the contact form can be sent to the database in another way?

-If it is possible in what way I can think of, I still have the option to make settings in the contact form.
: after sending the redirection to the subpage and on that subpage there would be some php code with a temporary redirection to send the IP address to the given database in such a case what is the php code that can send the IP address to the given database in this way?

-But the best option would probably be to add the option to choose from the contact form to send the sender's IP address to the database.

I am waiting for your reply.

Lire plus
Posté le de Csaba Bolgár
Incomedia
Elisa B.
Incomedia

Hello there!

Thank you for getting in touch. 

I have reported your suggestion for it to be taken into consideration for future software developments. 

Thanks! Kind regards.

Lire plus
Posté le de Elisa B.