Jump to content
Killersites Forums

dms

Member
  • Posts

    104
  • Joined

  • Last visited

Everything posted by dms

  1. dms

    Internet Exployer quirks

    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. dms

    Internet Exployer quirks

    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. dms

    Internet Exployer quirks

    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. dms

    Internet Exployer quirks

    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. Thanks for bringing this to my attention - I have some more reading to do for sure. I'll look over the code by Larry Ullman and read up on email injection, and repost asap. Thanks!
  8. Thanks jlhaslip, No errors. Empty inputs are being caught and reported. Would you be at ease using this code?
  9. 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.'; } ?>
  10. dms

    No input file specified?

    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.
  11. Hello, I'm new to web design and php. When testing a form using my MacBook (MAMP installed and Apache running) I receive the following.... No input file specified. What does this mean? Thanks, Mark
  12. 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.
  13. I have it working with text, but not with an image, yet. Thanks!
  14. 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; }
  15. Is there a way to have an image appear upon hovering over a link? e.g. check out this picture. I thought I had read on the forum that you can place and image off screen using margins and then bring it back into play using a link and a:hover { ???}.
  16. As Eric mentioned, create a new page for the popup. Not familiar with Javascript, but should be able to take care of with html/css. The title will be your caption on the thumbnail. title="TheCaption"> alt= "thumbnailDiscription"/>
  17. Over my head, but you may want to ask this question here.... http://www.killersites.com/forums/forum/15/asp/
  18. jlhaslip, That worked! I think I tried everything but that. ? Thanks
  19. 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? Email Free Quote Portfolio Welcome #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; }
  20. "As listed, the second UL font will be 10% larger than the outer ul. (1.1em)" 10% larger? It sure the hell is and that was the problem - thanks! Mark
  21. Thanks jlhaslip. It is, I left it out of the example - sorry. jfdlajfldjfldajlfdjsfldjslfjdlfjdlajfdljfldjfdlajfldjfldjafldjlfdjfdlajfldajfldjsalfjdasljfdlajfdlsajfldajlfdajlfdjalfdjslfjdlajfldjfdlsajfldajlfd 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?
  22. Sorry, may not have showed the whole picture. I have several ul nested within one ul.
  23. I changed the text-indent to padding left: padding-left: 32px Also changed the list style-position to outside and that did the trick. Thanks, Mark
  24. Wrapped text is not aligning with indented text above when displayed. How do you get the two lines to line up? jfdlajfldjfldajlfdjsfldjslfjdlfjdlajfdljfldjfdlajfldjfldjafldjlfdjfdlajfldajfldjsalfjdasljfdlajfdlsajfldajlfdajlfdjalfdjslfjdlajfldjfdlsajfldajlfd jjfdlsajfldjafldjsalfjd ul ul { list-style-type: circle; font: italic 1.1em serif; line-height: 1.1; text-indent: 18px; list-style-position: inside }
  25. What is the difference between an Online Page Editor and a CMS?
×
×
  • Create New...