Jump to content

dms

Member
  • Posts

    104
  • Joined

  • Last visited

Posts posted by dms

  1. You do not have to partition your hard drive if you buy software such as VMware or Parallels. They cost about $80 and you can try them for free for 30 days. I have VMware and it is a breeze to install and run.

     

    I've downloaded VMware and I think this will be just what the doctor ordered, but it looks line I need to come by a copy of windows xp. I've contacted my nearest Bestbuy (40 minute drive) and they don't carry xp. Where would be the best place to acquire windows xp online?

  2. Ok, I've experimented with preventing email injection and have a problem.

     

    No matter what I put in the code to prevent email injection I receive an added slash before each and evey single quote, double quote or backslash on my reply form and in the email sent. I would like the form to return nothing or an empty string when any of the above are meet by the email injection code.

     

    Even after removing the email injection prevention code and adding an \ "" '' in one of the fields and I still receive my response to the form with the added slash before each \ " ' and in the email. I've ask my hosting company and they really don't seem to have a response as to why this is happening. BTW.. Magic quotes is turned off.

     

    Below is the hosting companies reply to why this is happening. Does this make any sense?

     

    [[[Dear Mark,

    Thank you for contacting our technical support team.

     

    Those slashes added because of nature of PHP. Mail form when sending parameters of form using POST, translating the content and adding trailer shalshes to shield the data send from your form.]]]

     

    Maybe this is true, but it does not make sense to me - but I've very green to programming. Mark

  3. virtual- Thanks, I check out VMware or Parallels.

     

    Wickham - So you set a min-width and max-width for the whole page (body/wrapper)?

     

    I think after I adjust the pixel width it will look fine, but I have a navigation bar just above some absolute positioned pics and when the text is increased it looks terrible. Maybe I should use images for my navigation for this site.

     

    LSW- The heck with them.... Just kidding. Thanks for the advice.

  4.  

    It's the difference between resolution (in pixels) and size (in inches or cms).

     

    Your IE8 may have had a very large screen in inches but perhaps was set at say 1024*768px while the MacBook may have had a smaller screen in inches but was set at 1280*1024px so the IE8 needed a scrollbar for a page about 1100px while it fitted within the MacBook's 1280px width.

     

    Can you tell the browser to display in 1280*1024px when loading? If not, is it best to build toward a smaller pixel width and let the end user adjust accordingly?

  5. Thanks virtual. The net rendering site is helpful, but I would love to test using IE on my MacBook, which does have an Intel chip. I remember reading something about using part of the hard drive for windows, but I've had my focus on learning code and forgot all about it. What would be the best way to set this up?

     

    I now have a pretty good grip on html/css, but I'm not familiar with IE quirks. I'm sure as I start testing using IE, I'll become more familiar with them, but what are a few quirks that I should plan for from the start.

     

    While viewing my site in IE8, even though the screen was large, it did not fit and I had to use the scroll bar, but viewing in Firefox on my MacBook it all fit within the much smaller screen. Why is that?

  6. Where can I find information explaining the quirks in IE6+ compared to present web standard compliant browsers?

     

    I'm new to web design and this seem to be one of my main hurdles. I'm presently using Textmate to code - would using Dreamweaver simplify fixing the quirks from browser to browser?

     

    Also, I don't have easy access to IE6+. Is there a simple way to test the styling for IE6+ while using a MacBook?

     

    Thanks, Mark

  7. I'm sure this can be improved, but hoping it's a good start. This is my first attempt at processing a form, so any and all contributions are appreciated. Form validation is my main concern.

     

     

     

    <?php

    /*

    data recieved from the contact_form.php .......................................*/

    $name = $_POST['firstname'] .' '. $_POST['lastname'];

    $email = $_POST['email'];

    $phone = $_POST['phone'];

    $message = $_POST['message'];

    /*

    stripos for email verification................................*/

    $v_email = stripos ("$email" , "@");

    /*

    strip tags from following varibles....................*/ //corrected to add variable

    $name = strip_tags("$name");

    $email = strip_tags("$email");

    $phone = strip_tags("$phone");

    $message = strip_tags("$message");

    /*

    varables to send email ....................................*/

    $to = 'someone@gmail.com';

    $subject = 'From ABC (FORM-RESPONCE)';

    $msg = "Name: $name\n" .

    "Phone: $phone\n" .

    $message;

     

    /*

    somewhat validating the form information.....................................*/

    if ((empty($name)) || (empty($email)) || (empty($message))) {

    echo 'Please complete all required areas.

     

    ' .

    'Use your back button to complete the form.';

    }elseif (!$v_email) {

    echo 'Please use a valid email address.

     

    ' .

    'Use your back button to complete the form';

    }else {

    mail($to, $subject, $msg, 'From:' . $email);

    echo 'Hello ' . $name .', your email has been recieved and I will respond asap.

    If this is urgent in nature, please give me a call at 573-275-6262.';

    }

    ?>

  8. as of today - no longer having this problem. I validated the html and fixed a missing tag, and it no longer gave me the error message. Next time I'll validate first before posting.

     

    Thanks for your reply though.

  9. I've read and tried them all with little success. Tried them with and without . I've tried to keep it simple; just move a picture in without a border or text.

     

    The closest I've been able to get is to have a small box pop up - which I can position. When I add... alt="image" the box will contain (image). I've checked my link and it seems fine. I'm missing something simple and just can not figure it out.

  10. Thanks Wickman. I read the info, but it's just not registering. Can this be done with just html/css?

     

    New code: (index.html is the page the this code is from)

     

     

    check out this picture.

     

     

    Is this correct, if so, how would I code the css? Sould this work, it didn't for me?

     

    .popup1 a:hover {

    position: absolute;

    top: 2px;

    right:888px;

    border: 1px solid #000;

    }

  11. I have a navigation bar with vertical separators and would like to remove or override the... (right-border) on the link farthest to the right. I can't seem to get a grip on this?

     

     

    #navcontainer {

    margin: 0px auto;

    padding: 5px 0px 28px 0px;

    background-color: #009;

    width: 750px;

    }

    #navlist li {

    display: inline;

    list-style: none;

    }

    #navlist li a {

    padding: 0.4em 1em;

    background-color: #009;

    color: #FFF;

    text-decoration: none;

    float: right;

    border-right: 1px solid #FFF;

    }

    #navlist li a:hover {

    background-color:#FFF;

    color: #900;

    font-weight: bold;

    }

    #navlist li.first {

    border-right: 0;

    }

  12. The Inner UL should be contained within a LI tag of the outer UL in order to validate.

    Thanks jlhaslip. It is, I left it out of the example - sorry.

     

     

    jfdlajfldjfldajlfdjsfldjslfjdlfjdlajfdljfldjfdlajfldjfldjafldjlfd

    jfdlajfldajfldjsalfjdasljfdlajfdlsajfldajlfdajlfdjalfdjslfjdlajfldjfdlsajfldajlfd

    jjfdlsajfldjafldjsalfjd

     

    I am also having a problem with the text in IE 8 displaying differently within both

    • than in FF, Safari and Opera. I'm not sure why. Would I have been better off to use headings with an
      • instead?

     

    In IE the

    in the first
    • is smaller than in other browsers and the nested ul li's are larger than in other browsers?
  13. Wrapped text is not aligning with indented text above when displayed. How do you get the two lines to line up?

    jfdlajfldjfldajlfdjsfldjslfjdlfjdlajfdljfldjfdlajfldjfldjafldjlfd

    jfdlajfldajfldjsalfjdasljfdlajfdlsajfldajlfdajlfdjalfdjslfjdlajfldjfdlsajfldajlfd

    jjfdlsajfldjafldjsalfjd

     

     

    ul ul {

    list-style-type: circle;

    font: italic 1.1em serif;

    line-height: 1.1;

    text-indent: 18px;

    list-style-position: inside

    }

×
×
  • Create New...