Forum Moderators: coopster

Message Too Old, No Replies

problem with scripts

domain suspended due to spam

         

Nutstretch

2:32 pm on Aug 5, 2006 (gmt 0)

10+ Year Member



I have a domain i am managing for a client. I have had a notice stating that it has been suspended due to spam. looking at the message it looks as if the domain nname is being used to send spam with out our knowledge. the email address is anything@ourdomainname.net

the hosting company say I have to stop my script which is causing this. as far as i am aware I have no script which could cause this. i have 2 scripts which read info from a form and email it back to my client and some scripts which reteieve products from a database.

The emnail script is :
[php]
<?php

$name = $_POST["requiredName"];
$subject = $_POST["subject"];

$email = $_POST["requiredEmail"];
$agree = $_POST["agree"];
$radd = $_POST["recipientaddr"];

$mail = ("
Handbags and Gladrags feedback form\n
Someone has been to the website and would like to be entered in the prize draw\n
---------------------------------------------------------------------\n
Name: $name \n
Email: $email\n
Comments: $agree \n
");
mail( $radd, $subject,
$mail, "From: $email" );


print "<h1>Thank you for entering the prize draw.&nbsp; </h1>
<h2>Your name will be entered into the next draw.</h2>
<h2>You will be notified by email if you are the winner.</h2>
<h2>Please feel free to browse through the site and see what we have to offer.</h2>
<p><div align='center'><img src='gifs/b_bd_blk_t.jpg' alt='Designer handbags from Handbags and gladrags of Market Bosworth' width='150' height='157'> </div></p>";
?>
[/php]
Does anyone konw what I should do to look for scripts etc.

The website is not found at present due to sespension so can't look online for the problem.

Thanks in anticipation

Nuts

whoisgregg

6:03 pm on Aug 5, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This recent thread should be very helpful to you:

Combatting Webform hijack [webmasterworld.com]
My webform has been hijacked. Any suggestions how to make this form secure?