Jump to content
Killersites Forums


Advanced Member
  • Posts

  • Joined

  • Last visited

Everything posted by jlhaslip

  1. Good for you. How long for the hair to grow back? Keep us posted...
  2. I've seen another method which uses a link statement to add a css file with a 'php' file extension, and the php file includes a mime type suitable for the css contents. If I get some free time tonight, I'll see if I can submit a demo.
  3. One thing to consider is that ASP is usually/often operating on a Windows box, which does not respect the case sensitivity that an Apache server does. Also, if it is working in IE, and not working in FF, there is an issue with the html as per your 600 errors. Personally, I would think that you need to design an entirely new template that validates and then drop your ASP code into it. Fighting a table based layout AND asp at the same time will be a monstrous challenge. Forget about what is there and start fresh. Use dummy data for the Template and don't worry about content until the Template is validated, then add the dynamic asp code to it.
  4. Can you copy the error message into a posting here, please.The file needs to be on the web (live) for the validator to work properly. It won't link to aq file on your local machine.
  5. Find a Hosting Service that will treat the account as a referral and pick up 10 or 15 % of the invoice towards your own service. :cool:
  6. Just looking at your Form and many of those fields are simply text, like names and addresses so they will be hard to validate. Emails and Telephone numbers can be done using regex, but name, address and company names will be nearly impossible to validate. If they are spam submissions, adding a captcha to the script might work to reduce some of the faulty submissions. Or, another method is to add a "hidden" form field. If a Bot is filling out the form, they will complete the hidden input, but real people will not, so check to see if the hidden field is filled out and drop the form submission if it is completed.
  7. http://www.trap17.com/forums/index.php?s=&showtopic=52136&view=findpost&p=350113
  8. Use an array of images. On page load, select a random image from the array.
  9. Or you can use javascript to do local checking before submitting the form in order to avoid incomplete data submissions and then use the Server side validations to confirm the results as a double check. Do not depend solely on local javascript checks. Server side validation will be the better route to take as a security precaution.
  10. If your pages/site meets the requirements as per the W3C Validators, you are entitled to display them on your site as confirmation that the page has been coded according to the standards in place. You can find the (x)html and css validators at the w3c.org site.
  11. You may need to CAPITALIZE the rel= part as per http://msdn.microsoft.com/en-us/library/ms537656(VS.85).aspx That explains using the favicon icon as per Microsoft. Note that IE5 and 6 need the page in its favorites to work properly.
  12. This code is using a 'short-hand' version of the background rule. See: http://www.w3schools.com/css/css_background.asp or http://www.w3.org/TR/CSS2/colors.html Scroll down a few pages to the Short-hand section.
  13. which border is missing? change its colour to "red" and see if it is showing.
  14. try adding a Captcha to the form and script. Google it.
  15. start here: http://www.google.com/sitesearch/
  16. the tfoot html follows the table header info. simply move it up in your code. http://www.w3.org/TR/html4/struct/tables.html#h-11.2.3 *edit* Also, the table header and table footer should not be contained within table row tags.
  17. Nice work. This should help those wishing to learn some php. It is also a good start to the Admin side of small applications.
  18. First thing, you have an xhtml Doctype and need to close the tags and all the image tags, too.
  19. Find and replace the Browser's Chrome Default CSS file on the big machine. It will be in the Profile folder (I think).
  20. Try the Firebug add-on to inspect the CSS. Ensure there is nothing wacky in it. *backup your bookmarks before deleting if you go that route*
  21. http://www.cssplay.co.uk/menus/centering.html
  22. http://www.php.net/manual/en/function.mail.php change this line of your code: $headers = "real_email@mydomain.com"; $sent = mail($to, $subject, $details, $headers, $message) ; to: $headers = "From: real_email@mydomain.com"; $sent = mail($to, $subject, $details, $headers) ; and see if it works.
  23. The "From" header needs an address that the Mail Server does not consider to be Spam. I should be an email address from the Domain the Server recognizes. Although the message may be sent from your site, if the from header says it is coming from me@jlhaslip.com and the domain name jlhaslip.com is not hosted there, the Mail server will consider it a Spam email. Try the form using a valid email address. The Email address the user supplies should be part of the message, not a Mail Header. *edit* The From Header needs to be the Domain's Email address.
  • Create New...