Welcome to WebmasterWorld Guest from 54.163.40.152

Forum Moderators: ergophobe

Message Too Old, No Replies

Joomla - Breezingforms - capture URL the form was sent from

     

sniffles

6:23 pm on May 10, 2011 (gmt 0)



Hi

I'm using Joomla 1.5 and installed the Form Component Breezeforms.

When i create a form, after submitting i get a E-Mail, but not with all filled form entries. I.e. i have 3 dropdown fields, 3 checkboxes and two radio buttons. I only receive the entries from the first dropdown and of the three checkboxes.

Further on i want to achieve to capture the url the form was sent from, becuase i have it on different sites.

For this i used the following PHP code:

function curPageURL() {
$pageURL = 'http';
if (!empty($_SERVER['HTTPS'])) {if($_SERVER['HTTPS'] == 'on'){$pageURL .= "s";}}
$pageURL .= "://";
if ($_SERVER["SERVER_PORT"] != "80") {
$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
} else {
$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
}
return $pageURL;
}


It's working actually, but the main problem is and i don't know why, the form entries which aren't subitted.

I hope anyone can help me.

Thanks

travelin cat

3:36 pm on May 12, 2011 (gmt 0)

WebmasterWorld Administrator travelin_cat is a WebmasterWorld Top Contributor of All Time 10+ Year Member



sniffles, welcome to WebmasterWorld. You may wish to submit this to our PHP Server Side forum: [webmasterworld.com...] as it could possibly get more traction there.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month