Search found 14 matches: $ipaddress

Searched query: ipaddress

by bjlolmaugh
Fri May 09, 2025 2:12 pm
Forum: Forms
Topic: Include IP Address in Form Data
Replies: 5
Views: 116

Re: Include IP Address in Form Data

Pablo wrote: Fri May 09, 2025 5:50 am If you've set the message format to RichText or HTML, then you will of need to add $ipaddress in your message.

Thank you.

Is that ($ipaddress) stated somewhere in the help files?
I read through it and couldn't find it anywhere.
by BaconFries
Fri May 09, 2025 10:05 am
Forum: Forms
Topic: Include IP Address in Form Data
Replies: 5
Views: 116

Re: Include IP Address in Form Data

I have checked off the box in the Misc section
So before Barbara replies...Pablo when she wrote the above it meant that all the required checkboxes were ticked...
Then the IP all be included in the automatically generated message.
If you've set the message format to RichText or HTML, then you ...
by Pablo
Fri May 09, 2025 5:50 am
Forum: Forms
Topic: Include IP Address in Form Data
Replies: 5
Views: 116

Re: Include IP Address in Form Data

To include the IP, you will need to enable the option, not uncheck it.

Then the IP all be included in the automatically generated message.
If you've set the message format to RichText or HTML, then you will of need to add $ipaddress in your message.
by rolo007
Tue Mar 12, 2024 9:31 am
Forum: WYSIWYG Web Builder - Nederlandstalige versie
Topic: succes pagina verschijnt niet
Replies: 17
Views: 7807

Re: succes pagina verschijnt niet

volledige html van de pagina... ik heb stukje opmaak eruit gehaald ivm aantal characters

<?php
function ValidateEmail($email)
{
$pattern = '/^([0-9a-z]([-.\w]*[0-9a-z])*@(([0-9a-z])+([-\w]*[0-9a-z])*\.)+[a-z]{2,6})$/i';
return preg_match($pattern, $email);
}
function ReplaceVariables($code ...
by Moises_Diseño
Tue Jun 14, 2022 7:36 pm
Forum: Previewing and Publishing
Topic: top of page
Replies: 13
Views: 5344

top of page

Hello community.
I have a problem displaying the page. When entering the published and previewed site, it starts from the form that is in the footer.

When I review the code, I see that it was rewritten (I don't know how), leaving the first form.

At no time do I write code since it is not my ...
by Pablo
Wed May 11, 2022 2:25 pm
Forum: Forms
Topic: IP in the form
Replies: 4
Views: 2226

Re: IP in the form

You can use the variable:
$ipaddress
by Magical
Sun Feb 20, 2022 4:15 pm
Forum: Forms
Topic: form content after submission
Replies: 11
Views: 10314

Re: form content after submission

This is what I do with the Form Processor Message Feature. I set it to return HTML and add the following to the box:
</tr>
<tr>
<td style="padding:10px">Name</td>
<td style="padding:10px">$name </td>
</tr>
<tr>
<td style="padding:10px">Contact Number</td>
<td style="padding:10px">$contact ...
by MGD4me
Tue Oct 29, 2019 12:17 am
Forum: Forms
Topic: *** Not A Bug *** IP address in contact form
Replies: 3
Views: 3114

Re: IP address in contact form

I don't know if this makes a difference, but the server is running php version 7.0, and when I request a 'phpinfo', $_SERVER['REMOTE_ADDR'] returns it's own server IP address, not the remote address as I would have thought.

However, scrolling through the phpinfo dump, I noticed that the variable ...
by MGD4me
Mon Oct 28, 2019 5:18 pm
Forum: Forms
Topic: *** Not A Bug *** IP address in contact form
Replies: 3
Views: 3114

*** Not A Bug *** IP address in contact form

For a couple of years I had a 'Contact Us' form which generated a basic text email message to our secretary. The message included the IP address of the sender, which proved very helpful in determing the source of spam.

Recently, I changed the format of the message from text, to HTML, which required ...
by Pablo
Mon Aug 19, 2019 8:49 am
Forum: Forms
Topic: All variables
Replies: 3
Views: 5776

Re: All variables

'$ipaddress' is the currently only pre-defined variable.
by Biju
Mon Apr 29, 2019 12:29 pm
Forum: Forms
Topic: Form result not getting as expected
Replies: 4
Views: 3815

Re: Form result not getting as expected

<?php
function ValidateEmail($email)
{
$pattern = '/^([0-9a-z]([-.\w]*[0-9a-z])*@(([0-9a-z])+([-\w]*[0-9a-z])*\.)+[a-z]{2,6})$/i';
return preg_match($pattern, $email);
}
function ReplaceVariables($code)
{
foreach ($_POST as $key => $value)
{
if (is_array($value))
{
$value = implode ...
by gibbel
Thu Jan 31, 2019 4:10 pm
Forum: WYSIWYG Web Builder - Nederlandstalige versie
Topic: Form PROBLEEM in WYSIWYG versie 14 (64bit)
Replies: 19
Views: 9264

Re: Form PROBLEEM in WYSIWYG versie 14 (64bit)

Ik heb de PHP versie op 5.6 gezet ( de volgende stap is dan meteen PHP versie 7.0 - 7.1 - 7.2 en 7.3 is de laatste) op de server en dan krijg ik volgende melding:

Warning: require(PHPMailer.php): failed to open stream: No such file or directory in /data/sites/web/allridebe/www/contact.php on line 4 ...
by Magical
Mon Jan 15, 2018 3:48 pm
Forum: Off Topic Section
Topic: Form Spam
Replies: 44
Views: 34734

Re: Form Spam

<?php
require_once './ReCaptcha/ReCaptcha.php';
require_once './ReCaptcha/RequestMethod.php';
require_once './ReCaptcha/RequestParameters.php';
require_once './ReCaptcha/Response.php';
require_once './ReCaptcha/RequestMethod/Post.php';
require_once './ReCaptcha/RequestMethod/Socket.php';
require ...
by Pablo
Wed Dec 03, 2014 9:23 pm
Forum: WYSIWYG Web Builder FAQ
Topic: How to format the email message sent by a form?
Replies: 0
Views: 51126

How to format the email message sent by a form?

By default the submitted data of a form will be sent in plain text format. You have little control this format because the email application determines how it will be displayed to the user.
However, in WWB we have added the ability to format the message.

Step 1
Make sure the built-in form ...