Jump to content

harville85

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

harville85's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello, there is a free script offered at bidintel.com that will count bids placed on penny auctions. There's nothing wrong with this, as you could manually count them yourself if you chose to. It works great, but there is an issue I have. You can spend hours watching a bid take place using the code before you jump in with your bids. The problem I have is that info you collect while watching is available to anyone else using the same script. So If I've been watching for an hour counting bids, and someone else just got there, they could easily retrieve all the data I've collected as soon as they enter. I would like to be able to take the code, remove the part that transmits my collected data, but keep the part that retrieves data from other bidintel users. I was going to ask the creators of the script to change this, but their contact email does not work. It seems that there is a php script in there that creates an html file for each time a new window is opened and I don't know how to create this on my own. Any help would be appreciated, and if you choose, could work well for you too. Please let me know if anyone would like to help. Thanks.
  2. Thanks! It works! (That was pretty simple!)
  3. Sure, here it is: <? require("c:\php\includes\class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Host = "mail.harvilledesign.com"; $mail->SMTPAuth = true; $mail->Username = "info@harvilledesign.com"; $mail->Password = "xxxxxx"; $mail->From = $_POST['email']; $mail->FromName = "HD Web Contact Form"; $mail->AddAddress("info@harvilledesign.com"); $mail->IsHTML(true); $mail->Subject = "HD Web Contact Form"; $text_body = $_POST['contact_name']. "<br>"; $text_body .= $_POST['city']. "<br>"; $text_body .= $_POST['state']. "<br>"; $text_body .= $_POST['zip_code']. "<br>"; $text_body .= $_POST['phone']. "<br>"; $text_body .= $_POST['fax']. "<br>"; $text_body .= $_POST['email']. "<br>"; $mail->Body = $text_body; if(!$mail->Send()) { echo "There was an error sending the message"; exit; } header("Location:thankyou_hd.html"); ?>
  4. I did what you suggested and I'm getting this when I click submit: Parse error: parse error, unexpected ':' in C:\Sites\Single26\harville85\webroot\hd_mail.php on line 31
  5. Thanks, I'll see if I can make this work. While I do that, here's an example of what I have now that works, but it doesn't list the actual category in my email. $text_body = $_POST['contact_name']. "<br>"; $text_body .= $_POST['city']. "<br>"; $text_body .= $_POST['state']. "<br>"; $text_body .= $_POST['zip_code']. "<br>"; $text_body .= $_POST['phone']. "<br>"; $text_body .= $_POST['fax']. "<br>"; $text_body .= $_POST['email']. "<br>";
  6. I know this is probably so simple I'm going to cry after getting the answer, but I'll ask anyway: I can make a form on my website and it works great, sends the email over like it's supposed to, but how do I make it read like this: Name: John Doe Address: 123 st. City: Doofus State:XX Instead of this: John Doe 123 st. Doofus XX I'm using PHP Mailer by the way. Any help would be appreciated!!!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.