Jump to content

administrator

Administrators
  • Posts

    3,102
  • Joined

  • Last visited

  • Days Won

    378

Posts posted by administrator

  1. If you're going to go down that road, you should stop eating meat because the greenhouse gases produced by beef is far greater than that of automobiles.

     

    Yes, all the cows in the world fart out more global warming gases than all the trucks, cars and jets combined.

     

    ... Or so I've read.

     

    -

     

    Personally, I don't drive a car and use my bike instead. For that reason alone, I should have so many carbon points saved up ... that I should have a card/license that allows me to litter anywhere I like!

     

    :P

     

    Stefan

  2. Update:

     

    I've outlined the course on paper and I'm actually starting to produce my Javascript videos tomorrow. The videos will be targeted at total beginners to programming and should be out in say two weeks.

     

    ... I will actually have a few of the videos out sooner, because they are supposed to appear in a soon to be published Web Designer Magazine. I hate it when I give myself deadlines!

     

    :(

     

    For all the advanced members who want it ... just PM and I will send you copies.

     

    Stefan

  3. Can I avoid Recordsets, Dynamic List Boxes etc?

     

    Is this classic ASP you are talking about or ASP.net?

     

    If classic ASP, you can either: just manually set the default value in the HTML (may not be the best approach for nerd reasons .. but it works) or you can use a simple condition when populating the list box to filter for whatever default value you are looking for.

     

    ... It all depends on what the criteria is for the default selection.

     

    For ASP.net, I think you can just set that in the list box control. It has been many years since I use ASP.net, so my memory is weak on that one.

     

    Stefan

  4. In Photoshop, to have transparent backgrounds for your images, you need to first 'Save for Web' and then you need to choose either Gif or PNG.

     

    When you choose one of those options, you will then be presented a screen with many new options, one of those options is the transparent background.

     

    Stefan

  5. You can configure WAMP to use your ISP's outgoing mail server .. this is usually set up when you first install WAMP.

     

    That said, WAMP is designed to be a development environment ... not for production. So I don't think having an SMTP server built in, is a problem for most.

     

    To test your use of the mail() function can just as easily be done on your live server.

     

    Stefan

  6. Personally, I check a few outside stats like the W3C and others, but I pay special attention to my own stats with regards to the deciding factor.

     

    ... But then again, we get about 500 000 visits a month, so we have some data.

     

    Another thing to consider is the subject of the site: if you are building a site where your visitors are more likely to be up to date with newer computers, then IE6 becomes much less important. Sometimes though, it is hard to predict these things.

     

    Stefan

  7. Hi,

     

    You change your thinking on this and use the 'default' statement for a catch all:

     

    switch ($_POST['page_count'])
    
    {
    case "1":
    echo "There is 1 page."
    break;
    case "2":
    echo "There are 2 pages."
    break;
    case "3":
    echo "There are 3 pages."
    break;
    default: 
    echo "There are 4 to 5 pages ... or even more!"
    break;
    };

     

    Actually, I think the other options presented above would work better, but I wanted to mention the 'default' statement.

     

    ;)

     

    Stefan

  8. Just look in the APACHE config files and search for 80. When you find the line that says something like: port 80 ... you just need to change this to port 8080.

     

    So when hitting Apache that is set to port 8080, the URL would be:

     

    127.0.0.1:8080/yourwebsite/

     

    That said, why do you need both running at the same time? Just turn one off when you don't need it.

     

    Stefan

  9. Ja! (Afrikaans) I don't know who is still online, it is just less than 3 hours in South Africa to go!

     

    Have your selfs a good party and a really BLESSED 2009! ;)

    That's what I love about the Web and this forum - you make friends with people from all over the world.

     

    :)

     

    Amazing.

     

    Stefan

  10. Life is full of irony.

     

    Now that I have the freedom and money to 'party hard', I just get too tired and I want to go home by 1 am.

     

    At 1:30, I become the walking dead, and by 2:30, I'm home sipping tea with dark chocolate and honey.

     

    :o

     

    Happy New Year.

     

    Stefan

  11. You can also try running Apache/WAMP on another port. The default port for web servers is 80, but if you change Apache to say 8080, then IIS can run while WAMP is running and there will not be a conflict.

     

    ... Only one web server at a time can run on a single port.

     

    Stefan

×
×
  • Create New...