<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title></title>
        <link>https://interactivetools.com/forum/forum-search.php?k=user%3Ajarvis</link>
        <description></description>
        <pubDate>Tue, 21 Apr 2026 08:46:43 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3Ajarvis&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [gkornbluth] EU Cookie Law</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2216339#post2216339</link>
          <description><![CDATA[Thanks [url &quot;http://www.interactivetools.com/iforum/Products_C2/CMS_Builder_F35/EU_Cookie_Law_P93465/gforum.cgi?username=gkornbluth;t=search_engine&quot;]<b><span style="color: #003366"><font size="2">gkornbluth</font><font size="1"> </font>[/#003366]</b>[/url], only spotted it after looking <br /><br />Cheers<br />]]></description>
          <pubDate>Thu, 24 May 2012 07:55:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2216339#post2216339</guid>
        </item>
                <item>
          <title>EU Cookie Law</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2216335#post2216335</link>
          <description><![CDATA[Good Morning, <br /><br />We're based in the UK and use CMS Builder. Unfortunately, the persistence of the EU Cookie Law seems to keep cropping up. Does this impact CMS Builder? If so, is there any way around it? <br /><br />Thanks<br />]]></description>
          <pubDate>Thu, 24 May 2012 03:17:12 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2216335#post2216335</guid>
        </item>
                <item>
          <title>Re: [Jason] Google Analytic filtering code breaks enquiry form</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2211917#post2211917</link>
          <description><![CDATA[Hi Jason,<br /><br />I'll email you rather than post the scripts on the forum.<br /><br />Thanks,<br /><br />jarvis<br />]]></description>
          <pubDate>Thu, 23 Jun 2011 07:19:23 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2211917#post2211917</guid>
        </item>
                <item>
          <title>Google Analytic filtering code breaks enquiry form</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2211890#post2211890</link>
          <description><![CDATA[Hi All,<br /><br />I hope someone can help. Our site has an include file which pulls in an enquiry form. All works fine.<br /><br />The client then started using email marketing which included google analytic tracking code. Problem was, this wouldn't return a search result as the record name couldn't be recognised due to the additional code in the URL:<br />?utm_medium=email&amp;utm_campaign=Issue+2&amp;utm_content=Preview&amp;utm_source=EmailMarketingSoftware<br /><br />Interactive Tools kindly helped us out by adding some filtering code to the templates like so:<br /><code>&lt;?php<br />     <br /> $filtered=array();<br /> $filtered_query=&quot;&quot;;<br /> <br /> //Filter<br /> foreach($_REQUEST as $key=&gt;$value){<br />    switch($key){<br />       //keys to filter out<br />     case &quot;utm_medium&quot;:<br />     case &quot;utm_source&quot;:<br />     case &quot;utm_content&quot;:<br />     case &quot;utm_campaign&quot;:<br />         continue;<br />         break;<br />     default:<br />       $filtered[$key]=$value;<br />       $filtered_query.=$key.&quot;=&quot;.$value.&quot;&amp;&quot;;<br />       break;<br />    }<br /> }<br />  <br /> $temp = $_REQUEST; //store $_REQUEST in a temporary variable  $temp_query = $_SERVER['QUERY_STRING'];<br /> <br /> //set variables to filtered state<br /> $_REQUEST=$filtered;<br /> $_SERVER['QUERY_STRING']=$filtered_query;<br /> <br /> <br />?&gt;</code><br />Problem is, it seems to block the $_REQUEST from the enquiry form script. We've done some testing and it's definitely the above block of code causing the issue.<br /><br />Can anyone see a way around this? Sadly, we've no money in the budget to resolve it :-(<br /><br />Thanks in advanced<br /><br />jarvis<br />]]></description>
          <pubDate>Wed, 22 Jun 2011 03:10:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2211890#post2211890</guid>
        </item>
                <item>
          <title>Re: [northernpenguin] adding a CSS style to the wysiwyg</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2206150#post2206150</link>
          <description><![CDATA[Thanks northernpenguin! Will go investigate now <br /><br />Many thanks<br />]]></description>
          <pubDate>Wed, 18 Aug 2010 08:35:12 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2206150#post2206150</guid>
        </item>
                <item>
          <title>Re: [northernpenguin] adding a CSS style to the wysiwyg</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2206147#post2206147</link>
          <description><![CDATA[That would be helpful! I assume it is only these 2 files which need altering? <br /><br />Cheers<br />]]></description>
          <pubDate>Wed, 18 Aug 2010 08:13:09 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2206147#post2206147</guid>
        </item>
                <item>
          <title>Re: [northernpenguin] adding a CSS style to the wysiwyg</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2206145#post2206145</link>
          <description><![CDATA[many thanks for the reply. I did try that but still couldn't see the newly added style. Will keep trying though! <br /><br />Thanks<br />]]></description>
          <pubDate>Wed, 18 Aug 2010 08:07:41 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2206145#post2206145</guid>
        </item>
                <item>
          <title>adding a CSS style to the wysiwyg</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2206141#post2206141</link>
          <description><![CDATA[Hi all, <br /><br />Really hope someone can help! Within the wysiwyg editor I noticed a style called Address. I thought it'd be great to add my own style testimonial for my client site.<br /><br />I've therefore tracked down the 2 files I believe need editing:<br />/cmsAdmin/3rdParty/tiny_mce/themes/advanced/editor_template.js<br /><br />I altered this from:<br />theme_advanced_blockformats:&quot;p,address,pre,h1,h2,h3,h4,h5,h6&quot;,<br />To:<br />theme_advanced_blockformats:&quot;p,address,testimonial,pre,h1,h2,h3,h4,h5,h6&quot;,<br /><br />/cmsAdmin/3rdParty/tiny_mce/themes/advanced/skins/default/ui.css<br />And added this:<br />.defaultSkin .mce_testimonial span.mceText {color: #EC8002;}<br /><br />After this line:<br />.defaultSkin .mce_address span.mceText {font-style:italic}<br /><br />However, the new style doesn't show once I upload the files and refresh my browser.<br /><br />Any ideas?<br /><br />Thanks in advanced!<br /><br />jarvis<br />]]></description>
          <pubDate>Wed, 18 Aug 2010 03:01:15 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2206141#post2206141</guid>
        </item>
                <item>
          <title>Re: [pod9] How to make a back link to list page the same which came?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2204481#post2204481</link>
          <description><![CDATA[That code will work just fine for that<br />]]></description>
          <pubDate>Mon, 24 May 2010 08:45:02 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2204481#post2204481</guid>
        </item>
                <item>
          <title>Re: [pod9] How to make a back link to list page the same which came?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2204478#post2204478</link>
          <description><![CDATA[It will always go back to the exact previous page, i.e: <br /><br />- link from Google<br />- Page 8 0f 15 (for example) of your listings page <br /><br />Does that help? Best bet is to try it &amp; see if it does what you're after! <br /><br />Cheers<br />]]></description>
          <pubDate>Mon, 24 May 2010 04:31:53 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2204478#post2204478</guid>
        </item>
                <item>
          <title>Re: [jarvis] Viewer problems with Google tracking codes - SOLVED</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2204476#post2204476</link>
          <description><![CDATA[Thanks to Damon for this code, this solved the issue for me &amp; hope it may help others:<br />Here is some code that you can add to the page to filter out the variables. Note that some of the code needs to be add before the  getRedcords function and some code needs to be added after it.<br /><br />--------------------------------------------------------------------<br /><code>&lt;?php<br />     <br /> $filtered=array();<br /> $filtered_query=&quot;&quot;;<br /> <br /> //Filter<br /> foreach($_REQUEST as $key=&gt;$value){<br />    switch($key){<br />       //keys to filter out<br />     case &quot;utm_medium&quot;:<br />     case &quot;utm_source&quot;:<br />     case &quot;utm_content&quot;:<br />     case &quot;utm_campaign&quot;:<br />         continue;<br />         break;<br />     default:<br />       $filtered[$key]=$value;<br />       $filtered_query.=$key.&quot;=&quot;.$value.&quot;&amp;&quot;;<br />       break;<br />    }<br /> }<br />  <br /> $temp = $_REQUEST; //store $_REQUEST in a temporary variable  $temp_query = $_SERVER['QUERY_STRING'];<br /> <br /> //set variables to filtered state<br /> $_REQUEST=$filtered;<br /> $_SERVER['QUERY_STRING']=$filtered_query;<br /> <br /> <br /><br />    <br /><br />   $_REQUEST=$temp; //set $_REQUEST back to original state  $_SERVER['QUERY_STRING'] = $temp_query; //set query string back to it's original state  ?&gt;</code>--------------------------------------------------------------------<br /><br />You can also add other variables to filter out if needed.<br />]]></description>
          <pubDate>Mon, 24 May 2010 03:51:32 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2204476#post2204476</guid>
        </item>
                <item>
          <title>Re: [benedict] TinyMCE stripping out  my javascript</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2204459#post2204459</link>
          <description><![CDATA[Not tried it but you could edit this file:<br /><blockquote>cmsAdmin/lib/wysiwyg.php</blockquote><br /><br />Add this line:<br /><code>extended_valid_elements :&quot;script[language|type]&quot;,</code><br />Into the block that looks like:<br /><code>  tinyMCE.init({<br />      mode : &quot;exact&quot;,<br />      theme : &quot;advanced&quot;,<br />      language: &quot;{$SETTINGS['wysiwyg']['wysiwygLang']}&quot;,<br />      spellchecker_languages: </code><br />Around line 50 and add it in so it then looks like<br /><code>  tinyMCE.init({<br />      mode : &quot;exact&quot;,<br />      theme : &quot;advanced&quot;,<br />      language: &quot;{$SETTINGS['wysiwyg']['wysiwygLang']}&quot;,<br />extended_valid_elements :&quot;script[language|type]&quot;,<br />      spellchecker_languages: </code><br /><br />That may help.<br /><br />Cheers<br />]]></description>
          <pubDate>Fri, 21 May 2010 10:00:27 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2204459#post2204459</guid>
        </item>
                <item>
          <title>Re: [svsanchez] Summary + Complete article</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2204458#post2204458</link>
          <description><![CDATA[Have you tried the code generator? <br /><br />Go to Admin &gt; Code Generator &gt; use the options and click 'Show Code' it will then produce the code for you with comments. Use your editor to then remove anything you don't want. <br /><br />HTH<br />]]></description>
          <pubDate>Fri, 21 May 2010 09:43:20 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2204458#post2204458</guid>
        </item>
                <item>
          <title>Re: [sykomac] Upload Issue</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2204456#post2204456</link>
          <description><![CDATA[Try altering:<br />- upload_max_filesize<br />- post_max_size<br /><br />You may also want to check<br />- set_time_limit OR max_execution_time<br /><br />That may assist you<br />]]></description>
          <pubDate>Fri, 21 May 2010 09:40:08 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2204456#post2204456</guid>
        </item>
                <item>
          <title>Re: [pod9] Image sizes in WYSIWYG</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2204455#post2204455</link>
          <description><![CDATA[When you upload an image, it then shows you the dimensions, can you not alter the width or height here? Altering just one and deleting the other will constrain the proportions of the image. <br /><br />Does that help?<br />]]></description>
          <pubDate>Fri, 21 May 2010 09:34:32 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2204455#post2204455</guid>
        </item>
                <item>
          <title>Re: [pod9] How to make a back link to list page the same which came?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2204454#post2204454</link>
          <description><![CDATA[Can you not use a PHP referrer. So: <br /><code>&lt;?php<br />$ref=@$HTTP_REFERER; <br /><br />echo '&lt;a href=&quot;$ref &quot;&gt; &lt;&lt;back &lt;/a&gt;'; ?&gt;</code><br />Does that help?<br />]]></description>
          <pubDate>Fri, 21 May 2010 09:19:51 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2204454#post2204454</guid>
        </item>
                <item>
          <title>Re: [jarvis] Viewer problems with Google tracking codes</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2204448#post2204448</link>
          <description><![CDATA[Hi Dave,<br /><br />Sadly the upgrade caused the following error on my site:<br /><blockquote>This program requires the PHP 'mbstring' extension.<br />Please ask your hosting provider (or server administrator) to install missing PHP extension(s).</blockquote><br />Due to our hosting (shared) we're not able to update the php.ini file, adding one into the root also doesn't work as this has been blocked due to security issues. Have restored all the files back to before the upgrade and the site seems ok.<br /><br />Errr, help????<br /><br />Many thanks<br />]]></description>
          <pubDate>Fri, 21 May 2010 03:04:24 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2204448#post2204448</guid>
        </item>
                <item>
          <title>Re: [Dave] Viewer problems with Google tracking codes</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2204439#post2204439</link>
          <description><![CDATA[Excellent, I'll download that update, back my live site up (&amp; database) and then follow the instructions <br /><br />Thanks (&amp; fingers crossed!). <br /><br />Kindest Regards, <br /><br />jarvis<br />]]></description>
          <pubDate>Thu, 20 May 2010 16:33:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2204439#post2204439</guid>
        </item>
                <item>
          <title>Re: [Dave] Viewer problems with Google tracking codes</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2204437#post2204437</link>
          <description><![CDATA[Thanks Dave, I'll give that a go. Will I also need to alter the code on the pages? I think Damon was also looking into this for me to see if there was any code that could be used to filter out the utm code from the URL. <br /><br />Thanks<br />]]></description>
          <pubDate>Thu, 20 May 2010 16:13:38 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2204437#post2204437</guid>
        </item>
                <item>
          <title>Re: [Dave] Viewer problems with Google tracking codes</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2204427#post2204427</link>
          <description><![CDATA[Hi Dave, <br /><br />How do I upgrade my CMS? Also, if I upgrade, will I then still need to alter some code? <br /><br />Thanks<br />]]></description>
          <pubDate>Thu, 20 May 2010 14:49:30 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2204427#post2204427</guid>
        </item>
                <item>
          <title>Re: [Dave] Viewer problems with Google tracking codes</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2204415#post2204415</link>
          <description><![CDATA[Hi Dave, <br /><br />It's version 2.01 if that helps? <br /><br />Thanks<br />]]></description>
          <pubDate>Thu, 20 May 2010 11:30:12 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2204415#post2204415</guid>
        </item>
                <item>
          <title>Re: [Jason] Viewer problems with Google tracking codes</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2204411#post2204411</link>
          <description><![CDATA[Hi Jason,<br />Thanks for the reply, I believe Damon is looking into this for me now as he has the details. If he finds a solution, I'll update this thread unless Damon does in order to help others. <br /><br />Many thanks, <br /><br />Jarvis<br />]]></description>
          <pubDate>Thu, 20 May 2010 11:17:35 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2204411#post2204411</guid>
        </item>
                <item>
          <title>Re: [Dave] Viewer problems with Google tracking codes</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2204403#post2204403</link>
          <description><![CDATA[Good Morning, <br /><br />Did anything more come of this? I too am having the same issue. My page link is services.php but as soon as you come through from a mail campaign the URL changes to: <br /><a target="_blank" href="<br />services.php?utm_medium=email&amp;amp;utm_source=Emailmarketingsoftware&amp;amp;utm_content=588672023&amp;amp;utm_campaign=Issue2-May2010 "><br />services.php?utm_medium=email&amp;amp;utm_source=Emailmarketingsoftware&amp;amp;utm_content=588672023&amp;amp;utm_campaign=Issue2-May2010 </a><br /><br />I tried the code mentioned above, however, as services is a section, removing that line means you can't view the sub pages. <br /><br />I hope that makes sense? I've therefore put that line back in and de-activated Google Analytics from the mail campaign until I can resolve it. <br /><br />I also found this thread:<br /><a target="_blank" href="http://www.interactivetools.com/iforum/Products_C2/CMS_Builder_F35/gforum.cgi?post=73021;search_string=analytics;t=search_engine#73021">http://www.interactivetools.com/iforum/Products_C2/CMS_Builder_F35/gforum.cgi?post=73021;search_string=analytics;t=search_engine#73021</a> Unfortunately, this won't work for me either as my services page doesn't go to services details, mine works like so:<br />services.php?Media-Training-14<br /><br />Any feedback/ thoughts on this would be great. <br /><br />Many thanks, <br /><br />jarvis<br />]]></description>
          <pubDate>Thu, 20 May 2010 06:10:21 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2204403#post2204403</guid>
        </item>
                <item>
          <title>Re: [chris] form redirects to recaptcha form then to thank you page</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2202505#post2202505</link>
          <description><![CDATA[Hi Chris,<br /><br />Thanks for the reply. I still get the headers sent error no matter how I alter the script. Is it because it's an include?<br /><br /><code>&lt;?php require_once &quot;../lib/viewer_functions.php&quot;;<br /><br />  // process form<br />  if (@$_REQUEST['submitForm']) {<br /><br />    // error checking<br />    $errorsAndAlerts = &quot;&quot;;<br />	$check = $_REQUEST['check'];<br />	$randomNumber = $_REQUEST['randomNumber'];<br />    if (!@$_REQUEST['name'])                	{ $errorsAndAlerts = &quot;Please add your name\n&quot;; }<br />    if (!@$_REQUEST['email'])                   { $errorsAndAlerts = &quot;Please add your email\n&quot;; }<br />    else if(!isValidEmail(@$_REQUEST['email'])) { $errorsAndAlerts = &quot;That email address is not valid\n&quot;; }<br />    if (!@$_REQUEST['enquiry'])                 { $errorsAndAlerts = &quot;Please add your enquiry\n&quot;; }<br />	if (!@$_REQUEST['randomNumber'])          	{ $errorsAndAlerts = &quot;Please verify the number\n&quot;; }<br /><br />	$textToConvert = $_REQUEST['enquiry'];<br />	$convertedText = iconv(&quot;UTF-8&quot;, &quot;ISO-8859-1&quot;, $textToConvert);<br /><br />    // send email user<br />    if ((!$errorsAndAlerts) &amp;&amp; ($randomNumber == $check)) {<br />      $to      = &quot;info@domain.com&quot;;	<br />      $subject = &quot;Quick Contact&quot;;<br />      #$email    = $_REQUEST['email'];<br />	  $email    = &quot;info@domain.com&quot;;<br /><br />	  $headers  = &quot;MIME-Version: 1.0\r\n&quot;;<br />	  $headers .= &quot;Content-type: text/html; charset=iso-8859-1\r\n&quot;;<br />	  #$headers .= &quot;Content-Type: text/html; charset=utf8\r\n&quot;;<br />	  $headers .= &quot;From: $email \r\n&quot;;<br />	  <br />	  $body =  &quot;&lt;strong&gt;Full name&lt;/strong&gt;: &quot;. $_REQUEST['name'] .&quot;&lt;br /&gt;&quot;;<br />	  $body .= &quot;&lt;strong&gt;Email&lt;/strong&gt;: &quot;.$_REQUEST['email'] .&quot;&lt;br /&gt;&quot;;<br />	  $body .= &quot;&lt;strong&gt;Enquiry&lt;/strong&gt;: $convertedText&lt;br /&gt;&lt;br /&gt;&quot;;<br />	  $body .= &quot;The user who sent this message had the IP address &lt;strong&gt;&quot;.$_SERVER['REMOTE_ADDR'].&quot;&lt;/strong&gt;&lt;br /&gt;&quot;;<br />		<br />	  $message = $body;	  <br /><br />      // Note: The above line must be flush left or you'll get an error<br />      // This is a PHP heredoc.  See: http://ca2.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc<br /><br />      // send message<br />      $mailResult = @mail($to, $subject, $message, $headers);<br />      if (!$mailResult) { die(&quot;Mail Error: $php_errormsg&quot;); }<br /><br />      //<br />      #$errorsAndAlerts = &quot;Thanks!  We've sent your email.&quot;;<br />	  header(&quot;Location: /thanks.php&quot;); <br />	  exit();<br />      $_REQUEST = array(); // clear form values<br />	  	#ob_start();<br />		#header(&quot;Location:thanks.php&quot;);<br />		#ob_end_flush();<br /><br />}<br /><br />  }<br /><br />?&gt;<br />&lt;?php $randomNumber = rand(1,10); ?&gt; <br />&lt;!-- right quick_contact form --&gt;<br /><br />	&lt;!-- quick_contact_title --&gt;<br />	&lt;div class=&quot;rh_quick_contact_title&quot;&gt;<br />		&lt;img src=&quot;images/rh_quick_enquiry_title.jpg&quot; width=&quot;232&quot; height=&quot;31&quot; /&gt;<br />	&lt;/div&gt;<br />	&lt;!-- /quick_contact_title --&gt;		<br />	<br />	<br />	&lt;!-- quick_contact_form --&gt;<br />	&lt;div class=&quot;rh_quick_contact_content&quot;&gt;<br />	&lt;form method=&quot;post&quot;&gt;<br />		&lt;input type=&quot;hidden&quot; name=&quot;submitForm&quot; value=&quot;1&quot; /&gt;<br />		<br />		&lt;?php if (@$errorsAndAlerts): ?&gt;<br />			&lt;div style=&quot;color: red; font-weight: bold; font-size: 12px; font-family: arial;&quot;&gt;<br />			  &lt;?php echo $errorsAndAlerts; ?&gt;<br />			&lt;/div&gt;<br />		 &lt;?php endif ?&gt;<br />		 <br />		&lt;table width=&quot;213&quot; border=&quot;0&quot; cellpadding=&quot;2&quot; cellspacing=&quot;2&quot;&gt;<br />			&lt;tr&gt;<br />				&lt;td align=&quot;center&quot;&gt;<br />					&lt;input name=&quot;name&quot; type=&quot;text&quot; id=&quot;name&quot; style=&quot;width:180px;&quot; value=&quot;Name...&quot; onclick=&quot;clickclear(this, 'Name...')&quot; onblur=&quot;clickrecall(this,'Name...')&quot; /&gt;<br />				&lt;/td&gt;<br />			&lt;/tr&gt;<br />			&lt;tr&gt;<br />				&lt;td align=&quot;center&quot;&gt;<br />					&lt;input name=&quot;email&quot; type=&quot;text&quot; id=&quot;email&quot; style=&quot;width:180px;&quot; value=&quot;Email Address...&quot; onclick=&quot;clickclear(this, 'Email Address...')&quot; onblur=&quot;clickrecall(this,'Email Address...')&quot;/&gt;<br />				&lt;/td&gt;<br />			&lt;/tr&gt;<br />			&lt;tr&gt;<br />				&lt;td align=&quot;center&quot;&gt;<br />					&lt;textarea name=&quot;enquiry&quot; id=&quot;enquiry&quot; value=&quot;Enquiry...&quot; onclick=&quot;clickclear(this, 'Enquiry...')&quot; onblur=&quot;clickrecall(this,'Enquiry...')&quot; style=&quot;width:180px;&quot; rows=&quot;3&quot;&gt;&lt;/textarea&gt;<br />				&lt;/td&gt;<br />			&lt;/tr&gt;	<br />			&lt;tr&gt;<br />				&lt;td align=&quot;center&quot;&gt;&lt;input type=&quot;text&quot; id=&quot;randomNumber&quot; name=&quot;randomNumber&quot; style=&quot;width:20px;&quot; /&gt; Please enter: &lt;?php echo $randomNumber; ?&gt; in the box<br />		&lt;/td&gt;<br />			&lt;/tr&gt;				<br />			&lt;tr&gt;<br />				&lt;td&gt;&lt;div align=&quot;right&quot;&gt;<br />					&lt;input type=&quot;image&quot; src=&quot;images/blue_submit_button.jpg&quot; value=&quot;Submit&quot; alt=&quot;Submit&quot;&gt;&amp;nbsp;&amp;nbsp;<br />				&lt;/div&gt;&lt;/td&gt;<br />			&lt;/tr&gt;										<br />		&lt;/table&gt;	<br />	&lt;input type=&quot;hidden&quot; id=&quot;check&quot; name=&quot;check&quot; value=&quot;&lt;?php echo $randomNumber;?&gt;&quot; /&gt;<br />	&lt;/form&gt;<br />	&lt;/div&gt;<br />	&lt;!-- /quick_contact_form --&gt;<br />	<br />	&lt;!-- quick_contact_footer --&gt;<br />	&lt;div class=&quot;rh_quick_contact_footer&quot;&gt;<br />	&amp;nbsp;<br />	&lt;/div&gt;<br />	&lt;!-- /quick_contact_footer --&gt;<br /><br />&lt;!-- /quick_contact --&gt;</code><br />Any further pointers are much appreciated!<br />]]></description>
          <pubDate>Tue, 16 Mar 2010 03:42:26 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2202505#post2202505</guid>
        </item>
                <item>
          <title>Re: [jarvis] form redirects to recaptcha form then to thank you page</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2202467#post2202467</link>
          <description><![CDATA[OK, after much messing around, I opted for a far simpler method. Simply add a random number field and ask the person filling in the form to verify the number. <br /><br /><code>  if (@$_REQUEST['submitForm']) {<br /><br />    // error checking<br />    $errorsAndAlerts = &quot;&quot;;<br />	$check = $_REQUEST['check'];<br />	$randomNumber = $_REQUEST['randomNumber'];<br />    if (!@$_REQUEST['name'])                	{ $errorsAndAlerts = &quot;Please add your name\n&quot;; }<br />    if (!@$_REQUEST['email'])                   { $errorsAndAlerts = &quot;Please add your email\n&quot;; }<br />    else if(!isValidEmail(@$_REQUEST['email'])) { $errorsAndAlerts = &quot;That email address is not valid\n&quot;; }<br />    if (!@$_REQUEST['enquiry'])                 { $errorsAndAlerts = &quot;Please add your enquiry\n&quot;; }<br />    if (!@$_REQUEST['randomNumber'])          	{ $errorsAndAlerts = &quot;Please verify the number\n&quot;; }<br /><br />	$textToConvert = $_REQUEST['enquiry'];<br />	$convertedText = iconv(&quot;UTF-8&quot;, &quot;ISO-8859-1&quot;, $textToConvert);<br /><br />    // send email user<br />    if ((!$errorsAndAlerts) &amp;&amp; ($randomNumber == $check)) {<br />      $to      = &quot;info@domain.co.uk&quot;;		<br />      $subject = &quot;Quick Contact&quot;;<br />      $email    = $_REQUEST['email'];<br /><br /><br />	  $headers  = &quot;MIME-Version: 1.0\r\n&quot;;<br />	  $headers .= &quot;Content-type: text/html; charset=iso-8859-1\r\n&quot;;<br />	  #$headers .= &quot;Content-Type: text/html; charset=utf8\r\n&quot;;<br />	  $headers .= &quot;From: $email \r\n&quot;;<br />	  <br />	  $body =  &quot;&lt;strong&gt;Full name&lt;/strong&gt;: &quot;. $_REQUEST['name'] .&quot;&lt;br /&gt;&quot;;<br />	  $body .= &quot;&lt;strong&gt;Email&lt;/strong&gt;: &quot;.$_REQUEST['email'] .&quot;&lt;br /&gt;&quot;;<br />	  $body .= &quot;&lt;strong&gt;Enquiry&lt;/strong&gt;: $convertedText&lt;br /&gt;&lt;br /&gt;&quot;;<br />	  $body .= &quot;The user who sent this message had the IP address &lt;strong&gt;&quot;.$_SERVER['REMOTE_ADDR'].&quot;&lt;/strong&gt;&lt;br /&gt;&quot;;<br />		<br />	  $message = $body;	  <br /><br />      // send message<br />      $mailResult = @mail($to, $subject, $message, $headers);<br />      if (!$mailResult) { die(&quot;Mail Error: $php_errormsg&quot;); }<br /><br />      //<br />      $errorsAndAlerts = &quot;Thanks!  We've sent your email.&quot;;<br />      $_REQUEST = array(); // clear form values<br />    }<br /><br />  }<br /><br />?&gt;<br />&lt;?php $randomNumber = rand(1,10); ?&gt; <br />&lt;!-- right quick_contact form --&gt;<br /><br />	&lt;!-- quick_contact_title --&gt;<br />	&lt;div class=&quot;rh_quick_contact_title&quot;&gt;<br />		&lt;img src=&quot;images/rh_quick_enquiry_title.jpg&quot; width=&quot;232&quot; height=&quot;31&quot; /&gt;<br />	&lt;/div&gt;<br />	&lt;!-- /quick_contact_title --&gt;		<br />	<br />	<br />	&lt;!-- quick_contact_form --&gt;<br />	&lt;div class=&quot;rh_quick_contact_content&quot;&gt;<br />	&lt;form method=&quot;post&quot;&gt;<br />		&lt;input type=&quot;hidden&quot; name=&quot;submitForm&quot; value=&quot;1&quot; /&gt;<br />		<br />		&lt;?php if (@$errorsAndAlerts): ?&gt;<br />			&lt;div style=&quot;color: red; font-weight: bold; font-size: 12px; font-family: arial;&quot;&gt;<br />			  &lt;?php echo $errorsAndAlerts; ?&gt;<br />			&lt;/div&gt;<br />		 &lt;?php endif ?&gt;<br />		 <br />		&lt;table width=&quot;213&quot; border=&quot;0&quot; cellpadding=&quot;2&quot; cellspacing=&quot;2&quot;&gt;<br />			&lt;tr&gt;<br />				&lt;td align=&quot;center&quot;&gt;<br />					&lt;input name=&quot;name&quot; type=&quot;text&quot; id=&quot;name&quot; style=&quot;width:180px;&quot; value=&quot;Name...&quot; onclick=&quot;clickclear(this, 'Name...')&quot; onblur=&quot;clickrecall(this,'Name...')&quot; /&gt;<br />				&lt;/td&gt;<br />			&lt;/tr&gt;<br />			&lt;tr&gt;<br />				&lt;td align=&quot;center&quot;&gt;<br />					&lt;input name=&quot;email&quot; type=&quot;text&quot; id=&quot;email&quot; style=&quot;width:180px;&quot; value=&quot;Email Address...&quot; onclick=&quot;clickclear(this, 'Email Address...')&quot; onblur=&quot;clickrecall(this,'Email Address...')&quot;/&gt;<br />				&lt;/td&gt;<br />			&lt;/tr&gt;<br />			&lt;tr&gt;<br />				&lt;td align=&quot;center&quot;&gt;<br />					&lt;textarea name=&quot;enquiry&quot; id=&quot;enquiry&quot; value=&quot;Enquiry...&quot; onclick=&quot;clickclear(this, 'Enquiry...')&quot; onblur=&quot;clickrecall(this,'Enquiry...')&quot; style=&quot;width:180px;&quot; rows=&quot;3&quot;&gt;&lt;/textarea&gt;<br />				&lt;/td&gt;<br />			&lt;/tr&gt;	<br />			&lt;tr&gt;<br />				&lt;td&gt;&lt;?php echo $randomNumber; ?&gt; &lt;input type=&quot;text&quot; id=&quot;randomNumber&quot; name=&quot;randomNumber&quot; style=&quot;width:20px;&quot; /&gt; Please enter the number<br />		&lt;/td&gt;<br />			&lt;/tr&gt;				<br />			&lt;tr&gt;<br />				&lt;td&gt;&lt;div align=&quot;right&quot;&gt;<br />					&lt;input type=&quot;image&quot; src=&quot;images/blue_submit_button.jpg&quot; value=&quot;Submit&quot; alt=&quot;Submit&quot;&gt;&amp;nbsp;&amp;nbsp;<br />				&lt;/div&gt;&lt;/td&gt;<br />			&lt;/tr&gt;										<br />		&lt;/table&gt;	<br />	&lt;input type=&quot;hidden&quot; id=&quot;check&quot; name=&quot;check&quot; value=&quot;&lt;?php echo $randomNumber;?&gt;&quot; /&gt;<br />	&lt;/form&gt;</code><br />Works great. Just need to work out how to redirect them to a thank you page once the form has been submitted with valid details!?<br />]]></description>
          <pubDate>Mon, 15 Mar 2010 11:14:18 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2202467#post2202467</guid>
        </item>
              </channel>
    </rss>
  