Jump to content

konrad_bilinski1

Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by konrad_bilinski1

  1. <p>Hey guys im posting my php code below. I am having trouble receiving emails from my contact page. Customer service told me it is because I do not have code for my smtp server. which is supposed to be "mailhub.myregisteredsite.com " . Does anyone know where I should put the smtp code? I am placing the php code I have below.<br>

    here is the website if anyone is interested.<br>

    www.momentsinmemories.com<br>

    Help is much appreciated</p>

    <p>Cheers,<br>

    Konrad Bilinski</p>

    <p><?php<br /> <br /> /* Set e-mail recipient */<br /> <br /> $myemail = "info@momentsinmemories.com";<br /> <br /> <br /> <br /> /* Check all form inputs using check_input function */<br /> <br /> $name = check_input($_POST['NAME'], "Enter your name");<br /> <br /> $email = check_input($_POST['EMAIL'], "Enter your email");<br /> <br /> $comments = check_input($_POST['MESSAGE'], "Enter a message");<br /> <br /> <br /> /* If e-mail is not valid show error message */<br /> <br /> if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $email))<br /> <br /> {<br /> <br /> show_error("E-mail address not valid");<br /> <br /> }<br /> <br /> $subject = "Feedback Message Form From $name";<br /> <br /> <br /> <br /> /* Let's prepare the message for the e-mail */<br /> <br /> $message = "Hello!<br /> A FeedBack Message form has been submitted by:<br /> <br /> Name: $name<br /> <br /> E-mail: $email<br /> <br /> Message:<br /> <br /> $comments<br /> <br /> <br /> <br /> End of message<br /> <br /> ";<br /> <br /> <br /> <br /> /* Send the message using mail() function */<br /> <br /> mail($myemail, $subject, $message);<br /> <br /> <br /> <br /> /* Redirect visitor to the thank you page */<br /> <br /> header('Location: thanks.html');<br /> <br /> exit();<br /> <br /> <br /> <br /> /* Functions we used */<br /> <br /> function check_input($data, $problem='')<br /> <br /> {<br /> <br /> $data = trim($data);<br /> <br /> $data = stripslashes($data);<br /> <br /> $data = htmlspecialchars($data);<br /> <br /> if ($problem && strlen($data) == 0)<br /> <br /> {<br /> <br /> show_error($problem);<br /> <br /> }<br /> <br /> return $data;<br /> <br /> }<br /> <br /> /* Functions we used */<br /> <br /> function check_input2($data, $problem='')<br /> <br /> {<br /> <br /> $data = trim($data);<br /> <br /> $data = stripslashes($data);<br /> <br /> $data = htmlspecialchars($data);<br /> <br /> if ($problem && $data == false)<br /> <br /> {<br /> <br /> show_error($problem);<br /> <br /> }<br /> <br /> return $data;<br /> <br /> }<br /> <br /> function show_error($myError)<br /> <br /> {<br /> <br /> ?><br /> <br /> <html><br /> <br /> <body><br /> <br /> <br /> <br /> <b>Please correct the following error:</b><br /><br /> <br /> <?php echo $myError; ?><br /> <br /> <br /> <br /> </body><br /> <br /> </html><br /> <br /> <?php<br /> <br /> exit();<br /> <br /> }<br /> <br /> ?></p>

  2. <p>Thanks guys, I definately need a flash gallery. I have used fireworks to create one but I was really unhappy with the results. I orginally paid someone to create this site about a year ago, and I'm now tweaking the problems people have brought up. I will try both the scroller and a flash gallery and see which one looks better.</p>

    <p>Cheers,<br>

    Konrad</p>

  3. <p>Natalie, best of luck. For formals, yes use the fill flash, poses are very important. Make sure you have you posing techniques down pat. Flash during the ceremony really depends on the lighting. As for the equipment, if nothing breaks then it should be enough, I would add a 50 mm 1.8, even on a budget you can pick up a used one for like $80. Just have fun, it will be over before you know it. </p>
  4. <p>Thanks guys,there is a thunder storm here in Toronto today, so back to the edititng table it is for me. Ill just keep working at it. BW are BW because I like BW. I cut the heads off intentionally, it leads nicely from the bottom of the screen and it was something done for me not for the client, it shows that it could be anyones bridesmaids. </p>

     

×
×
  • Create New...