Can someone help me make this code NOT send the email

thesyndicate

Elite Member
Jr. VIP
Joined
Oct 8, 2008
Messages
2,945
Reaction score
901
Can someone mask out something so when they click send the email do not go? I am getting to much spam on this contact form.


PHP:
<!--?
/**
* Page: CONTACT FORM FOR SENDING CONTACT MESSAGES
*
* @version  9.0
* @created  Sat 25 Oct  2008
* @related  inc/func/func_contact.php
*/
## block direct page access
defined( 'KEY_ID' ) or die( 'Restricted access' );




$ipi = getenv("REMOTE_ADDR");




?--><!--? foreach($BANNER_ARRAY as $banner){ if($banner['position'] =="middle"){?-->
<p><!--? print $banner['display'];?--></p>
<!--? }} ?-->


<p>class=&quot;page_decr&quot; <!--? }?--> &gt;<!--?=$PageDesc ?--></p>


<p>&nbsp;</p>


<ul>
    <li><!--?=$GLOBALS['_LANG']['_name'] ?-->:</li>
    <li><!--?=$GLOBALS['_LANG']['_email'] ?-->:</li>
    <li><!--?=$GLOBALS['_LANG']['_message'] ?-->: &lt;? if(isset($_POST[&#39;message&#39;])){ print eMeetingOutput($_POST[&#39;message&#39;]); } ?&gt;</li>
</ul>


<ul>
</ul>
 
If you remove the POST action from the code nobody would be able to use the contact form. I mean they would be able to use it, but the input would not be sent to the backend. If you want to fight spam, it's better to have a captcha in order to fight off automated spam.
 
You mean like this?
PHP:
PHP:
<!--?
/**
* Page: CONTACT FORM FOR SENDING CONTACT MESSAGES
*
* @version  9.0
* @created  Sat 25 Oct  2008
* @related  inc/func/func_contact.php
*/
## block direct page access
defined( 'KEY_ID' ) or die( 'Restricted access' );




$ipi = getenv("REMOTE_ADDR");




?--><!--? foreach($BANNER_ARRAY as $banner){ if($banner['position'] =="middle"){?-->
<p><!--? print $banner['display'];?--></p>
<!--? }} ?-->


<p>class=&quot;page_decr&quot; <!--? }?--> &gt;<!--?=$PageDesc ?--></p>


<p>&nbsp;</p>


<ul>
    <li><!--?=$GLOBALS['_LANG']['_name'] ?-->:</li>
    <li><!--?=$GLOBALS['_LANG']['_email'] ?-->:</li>
 
</ul>


<ul>
</ul>
 
Can someone mask out something so when they click send the email do not go? I am getting to much spam on this contact form.
PHP:
<!--?
/**
* Page: CONTACT FORM FOR SENDING CONTACT MESSAGES
*
* @version  9.0
* @created  Sat 25 Oct  2008
* @related  inc/func/func_contact.php
*/
## block direct page access
defined( 'KEY_ID' ) or die( 'Restricted access' );




$ipi = getenv("REMOTE_ADDR");




?--><!--? foreach($BANNER_ARRAY as $banner){ if($banner['position'] =="middle"){?-->
<p><!--? print $banner['display'];?--></p>
<!--? }} ?-->


<p>class=&quot;page_decr&quot; <!--? }?--> &gt;<!--?=$PageDesc ?--></p>


<p>&nbsp;</p>


<ul>
    <li><!--?=$GLOBALS['_LANG']['_name'] ?-->:</li>
    <li><!--?=$GLOBALS['_LANG']['_email'] ?-->:</li>
    <li><!--?=$GLOBALS['_LANG']['_message'] ?-->: &lt;? if(isset($_POST[&#39;message&#39;])){ print eMeetingOutput($_POST[&#39;message&#39;]); } ?&gt;</li>
</ul>


<ul>
</ul>
Doesnt seem like this is the code or form that is sending the email, there is probably some more bit of code somewhere which is better suited to editing.
 
I don't think what you are looking for is in this file.
Could you please attach this one: inc/func/func_contact.php
 
I don't think what you are looking for is in this file.
Could you please attach this one: inc/func/func_contact.php
Yes, I think your problem is here. Would be easier to remove it from this file, rather the one you posted, so it still maintains functionality without actually sending the messages.
 
Yes, I think your problem is here. Would be easier to remove it from this file, rather the one you posted, so it still maintains functionality without actually sending the messages.
You mean delete this file? inc/func/func_contact.php
 
Your problem is not clear. Could you attach this one: inc/func/func_contact.php. If you can so i'll solve that problem
 
I am not sure I understand what you actually need? Why not simply remove form?!
 
Back
Top