jsbowen

Members
  • Content Count

    392
  • Joined

  • Last visited

Posts posted by jsbowen

  1. I found this from a few years ago, but it should still work:

    Click tools/message rules/mail. You need to create two rules.

    The first one is: "apply this rule after the message arrives" - where the from field contains people - "stop processing more rules". Then click the "from people" field, and you will see a button for the address book where you can select them all.

    The second one is for all incoming mail, delete it and mark it as read. They must be created or moved into this order. This way, if the mail is from a legitimate sender, it will land in your inbox and the second rule will not be applied. All others will be redirected to the deleted folder per the second rule.

    Hope that works.

    Here's my source - Source

  2. 1) This is the part of the code that displays the image:

    // Display image
    echo <<<EOC
    <center><img src="$photoOfTheDay[$x]"></center>
    EOC;

    This is really the only necessary part:

    <img src="$photoOfTheDay[$x]">

    2) Change the number listed here:

    $totalPics="31";

    Then just add a new entry to the bottom of the array with the next number in the sequence.

    '31' => 'files/photo31.jpg' ,
    '32' => 'files/photo32.jpg' ,