Jump to content

ober

Staff Alumni
  • Posts

    5,327
  • Joined

  • Last visited

Posts posted by ober

  1. Directly meaning someone requested that file versus you including it or something via another file?

     

    It's called hot linking.  If you don't want a file to be accessed directly, move it outside of the public area of your webserver:

     

    You probably have files here: /home/TLG/public_html/your_files_here_or_in_some_folder

     

    Move them to: /home/TLG/some_folder/public_html

     

    They cannot link directly to them in that case.

  2. <table border="4">
    <?php
    
    $a = array("this is row 1","this is row 2","this is row 3","this is row 4",
                  "this is row 5","this is row 6","this is row 7","this is row 8");
    ?>
    
    <?php for($i=0; $i<4; $i++){ ?>
       
    <tr>
    <td>
    <?php echo $a[$i]; ?>
    </td>
    <td>
    <?php
    $j = $i + 4;
    echo $a[$j]; ?>
    </td>
    
    </tr>
    
    <?php }?>
    
    </table>
    

  3. $x can be used globally within the page, but not across pages.  The information needs to be passed via URL or via SESSION variable.

     

    I guess the question is if you are allowing them to go back or only go forward?  If they can go back and it seems like they can based on your code, I would do this:

     

    for($i=1;$i<$_GET['page'];$i++)
       echo "<a href=\"code$i.php\">$i..</a>";
    

  4. I tried all the good free ones lately and here is my take:

     

    AVG - bloated, scans at the worst times, fails to update A LOT, does catch a lot of stuff

    Avira - decent, but doesn't catch drive-by stuff on websites.  Also will annoy the crap out of you for a few weeks with daily "ads" for the premium version.  They eventually stop though.

    Avast - no real complaints thus far.  Seems to scan at reasonable times and has a lot of options.

     

    I personally think ESET NOD32 is the best, but again, not free.

  5. Thanks for the comments about my daughter... hell, you guys haven't even seen her face!

     

    And yes, Halloween is on the 31st.  And yes, most apple orchards around here grow many other things but still call themselves apple orchards.  ;)

  6. She's 22 months.  And we were at an apple orchard getting pumpkins for halloween.

     

    And I actually just reinstalled Windows over the weekend and Picasa was one of the last things I installed.  I hadn't move the shortcut to the quick launch yet.  Usually it's completely clean except for the recycle bin.

     

    I actually use PS or Elements for most of my image editing.  I just wanted to try out the new version of Picasa.

×
×
  • 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.