Feb 19th, 2013, 12:25 PM
Hi Ss,
If you are adding External Forms or Form Builder forms, the simplest way to indicate which URL thge submission is coming from is to just specify the URL as a hidden variable in your form.
If you need to have the URL specified dynamically, the PHP code to specify a page's URL is:
If you are adding External Forms or Form Builder forms, the simplest way to indicate which URL thge submission is coming from is to just specify the URL as a hidden variable in your form.
If you need to have the URL specified dynamically, the PHP code to specify a page's URL is:
PHP Code:
<?php
$url="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
echo $url;
The IP and Date info (Date and Last Modified) are automatically added to each form. No need to add this into your code.
Cheers,
Joe
