Jump to content

Don Ross 76

  • Posts

  • Joined

  • Last visited

Don Ross 76's Achievements


Newbie (1/14)



  1. Hello again, My American friend told me there is nothing to worry about because my domain name is older and the content of the fake.com is completely like my website so people would still contact me. I believe my American friend is right. If you have something that can help me well, feel free to share it having plenty of ideas is great. Thanks for the reply in advance. Kind regards, Don 76
  2. Hello, My domain is not being forwarder to any domain. I can still type my domain name to any web browser and it would still go to my website. The fake.com when you type it to any browser it would go to my website. I say my website because it is completely identical to my website even our phone number and address and even our faces are included there, it is like a mirror image of our website, the same IP address. So I believe they are the one who pointed their domain name(fake.com) to my domain name. Do you think it can create harm? I can't give the domain name of my website here this is a public forum. Anyhow I think I can send you a private message if you want to take a look at what is happening. Thank you very much for your time, you are very kind helping people like me. Kind regards, Don
  3. Thank you very much for the reply. I'm very sorry for my late reply I was busy trying to find out the person behind that domain name. That would be a big help, but that would take your time. I will just do it myself. So it is most likely that my account was hacked? I'm not using CMS so no administrator account for my website. Or the server was hacked? I thought domain forwarding can be done by anyone. If it is really a domain forwarding. The domain name fake.com when you type it to the browser would give completely 100% my website. I mean very similar even the contact phone are the same and also the pictures and faces of the people working with me are there. Eveytime I would change any single detail on my website the fake.com would change instantly. The fake.com have the same IP address as my website. If I block it using .htaccess I might be blocking my own website. With these things can you diagnose or tell that it is some kind of domain forwarding. If it is what could be their intentions, what are they up to. Kind regards, Don
  4. Hello, I have a website and I found out that someone is pointing his/her domain name to my website without my permission. Every time I would make any changes to my website that domain name (website) would change instantly. So I believe it is a domain forwarding. I'm planning to market my website and every time people would type my domain name at search engine they would see the thief's domain name and not my domain name. This would be frustrating to the people (including me) who would search my website using search engine because they would see a different domain name. Is there any way to misdirect them? thanks for the reply in advance. Kind regards, Don
  5. hello, I can do that what I'm thinking and I think what the SEO tool is telling is that there is a broken link inside the PHP code. I'm not an adept PHP programmer so I really can't see where that code is broken, but I think I can find that out by the help of you Link checker from W3C you just gave me. I just have to rewrite the robot.txt so that the link checker can crawl it and find out. Thanks Andrea for the help I really appreciate. Kind regards, Don
  6. Thank you very much for that Link Checker didn't know it exist. I tried it but the robot.txt is blocking it. Thanks again. Hopefully someone who knows PHP can see the code above. It was taught here at killersites.com but I'm a beginner I must have missed it. Kind regards, Don
  7. Hello, I built a contact page on my website using the codes I have learn here at Killersites.com Video tutorial Library, I have use an SEO tool for my website and it told me there is a broken internal link inside the code, I can't find it. Please help me where is this broken internal link. Any help or suggestion is appreciated. Anyway I have replaced my website address to www.mywebsite.com for privacy reason and also my email address was changed. My website is working fine and I can actually send message and received it, but in the codes the SEO tool detected a broken link. This is very easy for experience programmer. Thanks for the reply in advance. Kind regards, Don76 Here is the code: <?php // variables $to = 'support@mywebsite.com'; $subject = "Message from your website mywebsite.com"; $error_open = "<label class='error'>"; $error_close = "</label>"; $valid_form = TRUE; $redirect = "success.php"; $form_elements = array('name', 'email', 'message'); $required = array('name', 'email', 'message'); foreach ($required as $require) { $error[$require] = ''; } if (isset($_POST['submit'])) { // process form // get form data foreach ($form_elements as $element) { $form[$element] = htmlspecialchars($_POST[$element]); } // check form elements // check required fields if ($form['name'] == '') { $error['name'] = $error_open . "Please fill in all required fields!" . $error_close; $valid_form = FALSE; } if ($form['email'] == '') { $error['email'] = $error_open . "Please fill in all required fields!" . $error_close; $valid_form = FALSE; } if ($form['message'] == '') { $error['message'] = $error_open . "Please fill in all required fields!" . $error_close; $valid_form = FALSE; } // check formatting if ($error['email'] == '' && !preg_match('/^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$/', $form['email'])) { $error['email'] = $error_open . "Please enter a valid email!" . $error_close; $valid_form = FALSE; } // check for bad data if (contains_bad_str($form['name']) || contains_bad_str($form['email']) || contains_bad_str($form['message'])) { $valid_form = FALSE; } if (contains_newlines($form['name']) || contains_newlines($form['email'])) { $valid_form = FALSE; } // check if form is valid if ($valid_form) { // create message $message = "Name: " . $form['name'] . "\n"; $message .= "Email: " . $form['email'] . "\n"; $message .= "Message: " . $form['message']; $headers = "From: www.mywebsite.com <support@mywebsite.com>\r\n"; $headers .= "X-Sender: <support@mywebsite.com>\r\n"; $headers .= "X-Mailer: PHP/". phpversion() ."\r\n"; $headers .= "Reply-To: " . $form['email']; // send email mail($to, $subject, $message, $headers); // redirect header("Location: " . $redirect); } else { include('contactus.php'); } } else { foreach ($form_elements as $element) { $form[$element] = ''; } // display form include('contactus.php'); } function contains_bad_str($str_to_test) { $bad_strings = array( "content-type:", "mime-version:", "multipart/mixed", "Content-Transfer-Encoding:", "bcc:", "cc:", "to:"); foreach($bad_strings as $bad_string) { if(stristr(strtolower($str_to_test), $bad_string)) { return true; } } return false; } function contains_newlines($str_to_test) { if(preg_match("/(%0A|%0D|\\n+|\\r+)/i", $str_to_test) != 0) { return true; } return false; } ?>
  8. thank you very much Eddie for sharing that to us. I will try to check that out LiquidNet Ltd. Kind Regards, Don Ross 76
  9. Thanks guys I really appreciate your opinion and help. So Eddie I hope you don't mind me asking where does TKG is hosted? Don't reply if you don't want to answer this. Kind Regards to all of you, Don Ross 76
  10. Hello everyone and Merry Christmas and Happy New Year, I would just like to ask, if you are planning to start as a web developer/designer and put your portfolio online what web hosting company would you recommend? godaddy.com is a huge web hosting company but they have their own web developer/designer out there, do they still welcome web developers/designer? I mean they might think you are in some kind of competition to their in house web developer. I have read that one web developer said that it was the worst web hosting company he was in. I don't know how true is that. I'm attracted to godaddy.com they have so many features that others don't have like dedicated IP, free SSL, website protection scanner. Hostgator have an excellent review and positive comment, They also have dedicated IP and free SSL. But Hostgator don't have any website protection scanner of some kind. They also are not a domain registrar. So my domain name would be in godaddy and my website would be on hostgator. Some people recommend that have a different domain registrar and different web host. If your domain name is on a different server(domain registrar) different web host then somehow this slows down your website, I guess. The people would type your domain name then that would go to the domain registrar then look for the computer where your website is hosted, if there is not much traffic it would be fast but lots of traffic will slow down your website. Well I don't know how true this is. If you have any experience or recommendation to any web hosting company pls. feel free to share. Kind Regards, Don Ross 76
  11. Thank you very much Benjaminmorgan Kind Regards, Don Ross 76
  12. Thank you very much again Eddie. That's a good idea. kind Regards, Don Ross 76
  13. Hello, I placed I captcha on the website that I'm building. I just copy paste the codes from google and it is working on my local machine. I placed this captcha on the html submit form. So after a user complete the form and able to solve the captcha the user is directed to a success page. After the success page the user would be just staring the success message. I like the success page after showing up sometime be redirected to another webpage of my website like the home page. I can't figure this out. I tried to search google and I can't find it, I tried to search this forum but this forum is huge. I'm sorry I have so many questions and just keep posting here and bringing problems to be solved. I just like something what killersites.com is doing after you log in to this forum a success message will show up and in a few minutes will be redirected to another page. Here is the code I got from google and I placed it on my site: <?php $redirect = "success.php"; require_once('recaptchalib.php'); $privatekey = "my_private_key_from_google"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp->is_valid) { // What happens when the CAPTCHA was entered incorrectly die ("The reCAPTCHA wasn't entered correctly. Go back and try it again." . "(reCAPTCHA said: " . $resp->error . ")"); } else { // Your code here to handle a successful verification header("Location: " . $redirect); } ?> This code just work fine and it goes to the success.php. The success.php shows a success message then it just stay here unless the user click the back button of his/her browser he/she will be staying here. If the back button is click the html submit form with captcha will show up again and it is just where the user came from. It would be much better if the user is redirected to the home page and a message saying "you will be redirected to the home page." Kind Regards, Don Ross 76
  14. Thank you very much Wickham I appreciate. You made things more clearer for a beginner like me. Now I know that those menus and codes from cssplay can be use and javascript or jquery would add a better look to the website. I just have to watch out for those conditional comments Thanks again and to all the people who shared their ideas and information regarding this topic.
  15. Here is the exact url: http://www.cssplay.co.uk/menus/float-drop-multi-column.html'>http://www.cssplay.co.uk/menus/float-drop-multi-column.html According to the author it was Tested and working in IE6, IE7, IE8, IE9, Firefox, Safari, Opera, Chrome, Flock, SeaMonkey, iPhone, iPod Touch and iPad. This code is valid and it works in many browsers. If this is the case then I don't see any harm in using this to build websites for people. I can't find any drawback or any disadvantage of using this codes. I'm not against javascript, I like javascript but some people disable their browser javascript for some reasons that we have no control of. It's a very good thing to know what Wickham posted that "sites that use javascript for dropdown menus have(or should have)a link to a site map which uses plain html hyperlinks..." The problem is there are many non-technical users who doesn't know what a site map is. I think to become a good web designer or developer like all you guys I have to think of the convenience of the people who will use my website, so the less click the better, the less trouble of finding where the site map is the better. I will continue learn the javascript in killersites.com University video library to add beautiful effect and convenience for the web surfer. But for the menu I need something that is solid that will not make the web surfer or user be stranded if someone else disable the javascript in their computer and they I have no idea how to enable them again. I also think that the menu is one of the life blood of a website if it's not functioning well then the website may not deliver its content properly. Here is the entire code of the menu I'm talking about: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>dropdown menu</title> <style type="text/css"> /* ================================================================ This copyright notice must be untouched at all times. The original version of this stylesheet and the associated (x)html is available at http://www.cssplay.co.uk/menus/float-drop-multi-column.html Copyright © 2005-2010 Stu Nicholls. All rights reserved. This stylesheet and the associated (x)html may be modified in any way to fit your requirements. =================================================================== */ .container {width:715px; height:500px; margin:0 auto; padding:20px 16px; background:url(float-drop/ski.jpg);} /* default styling */ .nav, .nav ul {list-style-type:none; margin:0; padding:0; float:left;} /* the link border radii and shadow */ .nav a {text-decoration:none; -o-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5); -moz-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5); box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5); -o-border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; } /* the menu font */ .nav {font-family: verdana, sans-serif; font-size:11px; margin-bottom:-1px;} /* style the links */ .nav a {float:left; color:#fff; line-height:16px; padding:4px 4px 4px 14px; border:1px solid #fff; margin-bottom:-1px; background:#556b2f;} /* the dropdown arrow */ .nav .sub-a {background:#556b2f url(float-drop/arrow.gif) no-repeat 3px center;} /* the sub menu links */ .nav ul a {background:#6b8e23;} /* the links hover color */ .nav a:hover, .nav a:focus, .nav a:active {outline:0; background-color:#c19441;} /* the sub links hover color and arrow */ .nav ul a:hover, .nav ul a:focus, .nav ul a:active {background:#c19441 url(float-drop/arrow-r.gif) no-repeat 3px center;} /* this is for the path highlight in all browsers except IE6 and lower */ .nav li:hover > a {background-color:#c19441;} /* WIDTH change this WITH CARE to suit your requirements */ .nav {width:120px; margin-right:-1px;} .nav a {width:100px; margin-right:-119px;} /* take into account the borders when calculating the link width, margin-right = total link width - 1px */ .nav ul li {max-width:120px;} /* fix for IE8 */ /* flyout LEFT/RIGHT positions */ .nav ul.fly {left:119px;} .nav .left ul.fly {left:auto; right:119px;} .nav .mid ul.drop {left:-119px;} /* DO NOT CHANGE ANYTHING BELOW THIS LINE */ /* ---------------------------------------------------------------------------- */ .nav ul {position:relative; margin-bottom:-1000px; z-index:500;} /* make all sub menus line up at the top and a high z-index to cover the top links drop shadow */ .nav ul li {float:left; clear:left;} /* get the sub links in a vertical column */ .nav a {position:relative;} .nav .sub-li {margin-top:-3000px;} /* move the sub menus off the top of the screen out of sight */ .nav .sub-a {margin-top:3000px;} /* move the top level links back to their original positions */ /* The bit that does ALL the work to bring the sub menus into view */ .nav .sub-li a:hover, .nav .sub-li a:focus, .nav .sub-li a:active {margin-right:0;} /* OPERA fix */ .nav ul:hover {clear:left;} /*IE6-7 fixes*/ a:active {} /* ---------------------------------------------------------------------------- */ </style> </head> <body> <div id="info"> <h2>Float/Drop Multi-column Menu</h2> <h2>No hacks, no javascript, no tables, no conditional comments, no expressions.</h2> <h3>31st December 2010</h3> <div class="container"> <ul class="nav"> <li><a href="#url">Home</a></li> </ul> <ul class="nav"> <li class="sub-li mid"><a class="sub-a" href="#url">Resort</a> <ul class="drop"> <li> <ul class="fly"> <li> <ul class="fly"> <li><a href="#url">Advanced Skills</a></li> <li><a href="#url">Beginners Slopes</a></li> <li><a href="#url">Intermediate Slopes</a></li> <li><a href="#url">Expert</a></li> </ul> </li> <li><a href="#url">Snow Hotel</a></li> <li><a href="#url">The Snowman</a></li> <li><a href="#url">Ice Cavern</a></li> <li><a href="#url">Ski Inn</a></li> </ul> </li> <li><a href="#url">Ski Slopes</a></li> <li><a href="#url">Night Life</a></li> <li><a href="#url">Restaurants</a></li> <li><a href="#url">Car Hire</a></li> <li><a href="#url">Ski Hire Facilities</a></li> </ul> </li> </ul> <ul class="nav"> <li class="sub-li"><a class="sub-a" href="#url">Information</a> <ul class="drop"> <li> <ul class="fly"> <li><a href="#url">Boots</a></li> <li><a href="#url">Skis</a></li> <li><a href="#url">Ski Wear</a></li> <li><a href="#url">Goggles</a></li> </ul> </li> <li><a href="#url">Lift Passes</a></li> <li><a href="#url">Insurance</a></li> <li><a href="#url">Ski Schools</a></li> <li><a href="#url">Snow Report</a></li> <li><a href="#url">Gear Rental</a></li> </ul> </li> </ul> <ul class="nav"> <li class="sub-li"><a class="sub-a" href="#url">Contact</a> <ul class="drop"> <li><a href="#url">Email</a></li> <li><a href="#url">Telephone</a></li> <li><a href="#url">Online Form</a></li> <li><a href="#url">Snail Mail Address</a></li> </ul> </li> </ul> <ul class="nav"> <li><a href="#url">Privacy</a></li> </ul> <ul class="nav"> <li class="sub-li left"><a class="sub-a" href="#url">Nearby</a> <ul class="drop"> <li> <ul class="fly"> <li><a href="#url">Snow Hotel</a></li> <li><a href="#url">The Snowman</a></li> <li><a href="#url">Ice Cavern</a></li> <li><a href="#url">Ski Inn</a></li> </ul> </li> <li><a href="#url">Where to go</a></li> <li><a href="#url">What to do</a></li> <li><a href="#url">Places of interest</a></li> <li><a href="#url">National parks & Museums</a></li> </ul> </li> </ul> </div> <br /><br /> <a href="http://twitter.com/home?status=Currently testing a new menu from @stucssplay here http://www.cssplay.co.uk/menus/float-drop-multi-column.html" rel="nofollow" class="tweet"><img src="../graphic/tweet.gif" alt="tweet this" /></a> <p class="info">Copyright ©2010/2011 stu nicholls - cssplay.co.uk</p> <br /> </div> <!-- end of info --> </body> </html>
  • Create New...