Recent content by darren

  1. darren

    Website statistics...

    Statistics can be very misleading. Apparently the avg person (statistically) in sweden has 1.9 legs and 1.9 children. You need to be able to interpret them properly. For example; Another common misconception is "impressions". You might be making gazillions of impressions per month but for...
  2. darren

    One of the greatest CMS options for designers

    Obvious case of Propaganda.
  3. darren

    .htaccess redirects https:// to https://www.

    HI Iain, I see. Ok. You are correct that it is the certificate. The redirect is working but the certificate does not support https://mysite.com Darren
  4. darren

    .htaccess redirects https:// to https://www.

    Sorry, it looks like I forgot to add a "s" to the http(s) of the redirected URL. (Modified an existing non ssl one) Try this; 1. RewriteEngine onRewriteCond %{HTTPS_HOST} !^www\.RewriteRule ^(.*)$ https://www.%{HTTPS_HOST}/$1 [R=301,L] or for both; 2. RewriteEngine onRewriteCond...
  5. darren

    .htaccess redirects https:// to https://www.

    RewriteEngine onRewriteCond %{HTTPS_HOST} !^www\.RewriteRule ^(.*)$ http://www.%{HTTPS_HOST}/$1 [R=301,L]
  6. darren

    First website, feedback please

    Just wanted to add to Greg's quote: If you dont know about it already Lorem Ipsum - All the facts - Lipsum generator is the best place to get mock-up text. Its been used for hundreds of years (not this website obviously- I mean the text) and explains all about it on the homepage.
  7. darren

    Could I get some advice/help building a booking form in PHP?

    Hi sevenupcan, Sorry I have been really busy and have not been around the forums. Your code above is absolutely fine but I have re-written it just to give you some ideas about other things you can do... // These functions can potentially be in another includes file or class function...
  8. darren

    Could I get some advice/help building a booking form in PHP?

    I just noticed that these functions include; is_empty is another function of the class that I have these functions in, all it does is check that the string contains some chars. Easy enough to add in.
  9. darren

    Could I get some advice/help building a booking form in PHP?

    Hi sevenupcan, My post was to provide a possible solution to your scenario i.e post the form to a different URL based on which radio button was selected, not for validation. Looking at your code it looks like your validation is currently done via PHP, which is great. Any data that is posted...
  10. darren

    Getting some work

    I doubt very much that this is 500+ static pages and if it is, it needs to be changed. If they have a catalog. They need a small admin area to add/remove/edit products and one or two dynamic pages on the front end to display all 500+ of them.
  11. darren

    Could I get some advice/help building a booking form in PHP?

    You need to use javascript in combination with your form. First clear the action="" attribute in the <form> tag, then add an onClick="" action to the submit button. When the button is clicked call a javascript function, something like "setTarget()" which sets the form action="" parameter...
  12. darren

    Website re-develop

    Hi Mike, I could provide all your development needs. i.e. A bespoke content management system written in PHP/mySQL which could be hosted on your LAMP no probs at all. As well as code the front end cleanly, with complete SEO in mind (inc dynamic sitemap, proper product URLs using mod_rewrite...
  13. darren

    Weird CSS Error

    As mentioned by designium removing the rule "margin-left" from the above code or setting it to 0 will fix the problem. The issue is that your two rules (float & margin-left) .. #head, #body .entry #main, #foot{ float: right; margin-left: 165px; width: 595px; } are two...
  14. darren

    What is a websites footer for?

    if its the same links as the top nav. Its mainly so you dont need to scroll back up to go to another page. Simplees If its links like .. privacy policy etc its just so that they are out of the way but still accessible. Also usability pretty much says now that that is where they will be on all...
  15. darren

    SEO - Is This Allowed?

    That depends on the page and content really. You need to add them in where you can but so that your site still flows and is perfectly sensible and informative to visitors. Basically write your site for people, not for bots.. works better! If you have a bunch of keywords relating to your...
Back
Top