Jump to content


Advanced Member
  • Posts

  • Joined

  • Last visited

  • Days Won


Posts posted by virtual

  1. I have been using the same php script to process my contact form on several different sites, and all of a sudden on the latest site I am building it is not sending the email and giving me an error message. All the other sites have the same code and are functioning properly, I don't understand what is wrong with this one.


    Warning: mail() [function.mail]: SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html.'>http://pobox.com/~djb/docs/smtplf.html. in D:\Hosting\7612246\html\mailresponse.php on line 102


    I checked out http://pobox.com/~djb/docs/smtplf.html and it's some article written in 1995 which I don't understand.


    Line 102 is this one:

    mail("myemail@whatever.com", $subject, $message, $from);


    And here is the rest of the code:

    $ip = $_POST['ip'];
    $httpref = $_POST['httpref'];
    $httpagent = $_POST['httpagent'];
    $visitor = $_POST['visitor'];
    $visitormail = $_POST['visitormail'];
    $notes = $_POST['notes'];
    $phone = $_POST['phone'];
    if (eregi('http:', $notes)) {
    die ("Do NOT try that! ! ");
    if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,".")))
    echo "<h2>Please hit the Back button</h2><h2>Please Enter a valid e-mail address</h2>\n";
    $badinput = "<h2>Your email was NOT sent</h2>\n";
    echo $badinput;
    die ("<p>Use browser back button !</p>");
    if(empty($visitor) || empty($visitormail) || empty($notes )) {
    echo "<h2>Please hit the Back button - fill in all fields</h2>\n";
    die ("<p>Use browser back button !</p>");
    $todayis = date("l, F j, Y, g:i a") ;
    $phone = $phone;
    $notes = stripcslashes($notes);
    $message = " $todayis [EST] \n
    Attention: $attn \n
    Message: $notes \n
    From: $visitor ($visitormail)\n
    Additional Info : IP = $ip \n
    Browser Info: $httpagent \n
    Referral : $httpref \n
    $from = "From: $visitormail\r\n";
    mail("myemail@whatever.com", $subject, $message, $from);
       <p class="mail">Thank you <?php echo $visitor ?> for expressing your interest in. Below is the information you entered on our form. We look forward to speaking with you and helping you get started on your new or existing project.  
       <p class="mail">Phone Number: <?php echo $phone ?></p>
       <p class="mail">Message:<br >
       <?php $notesout = str_replace("\r", "<br>", $notes);
       echo $notesout; ?>

  2. I agree with LSW. Unless you are traveling all the time, a laptop is not the best computer for work purposes. I would go with a desktop, you get way more bang for your buck!


    Desktops are also more easily upgradeable and will serve you longer for that reason. They are also more comfortable to work on ergonomically, good seating, a larger monitor or 2 are all considerations if you are sitting in front of one 8 hours a day. Keep your netbook to show your work or just to keep in touch when on the go.


    Get a good processor, lots of memory, a big hard drive, but also get a backup drive. You will understand why if or when the original hard drive crashes and you have lost months/years of work.


    Futureproof in this field is almost impossible, goodness knows what technology will be invented in the next 2 years. A new version of software comes out every 18 months. The internet is a fast moving field to keep up in.

  3. You would get more help on this question by taking it to a photography forum.


    It is indeed a vast question, lighting is essential in photography and flash provides light but there are also other considerations. Lighting is also about shadows, reflection and how they affect the subject. With a point and shoot camera, when a photo is taken from far away the flash lights the whole scene and no particular object or person. When the photo is a close up, the flash only has to light one object so you may appear "like you", but it may not necessarily be a great photo of you.


    Good photographers understand light and shadows and how they work and reflect off different surfaces. But they also take hundreds of shots to get the right one that is published in a magazine.

  4. Thanks for the replies guys.


    I understand Eddie why you don't code for it anymore as you build very large complicated sites. Mine are much smaller and usually work cross browser right off, except for IE6 and that's often the float and double margin bug. I usually write a separate style sheet for IE6 as it's not a big fix.


    Recently I have been running into trouble using Jquery for navigation and sliders and then trying to add a pngfix for IE6. So in that case I add a Js warning and don't bother with the pngfix.

  5. Do you still write stylesheets or CC for IE6 or IE?

    Do you use CSS3 markup knowing that it doesn't work in IE or do you have a work around for IE users?

    Do you add a js or other warning to IE6 users or do you just ignore them?


    I know a lot of people will reply that it depends on your target audience, but what are the actual statistics?

  • Create New...