
Tjdunklee
Members-
Posts
17 -
Joined
-
Last visited
Never
About Tjdunklee
- Birthday 09/26/1983
Contact Methods
-
Website URL
http://www.timdunklee.com
Profile Information
-
Gender
Male
-
Location
Twin Cities, MN
Tjdunklee's Achievements

Newbie (1/5)
0
Reputation
-
Nobody? I did an IE6 hack to get it working, but would still love to know why it's doing this.
-
I'm trying to get a design coded from a photoshop document and ran into a little snag. It was working great in every browser until I tried it in the dreaded IE6.... For some reason I keep getting a really odd extra 1px border around one of my divs. You can see the problem on my test site: http://www.hotelfoliorequest.com/sierraBravo. Let me know if you need me to post the code. I attached a screenshot of what it looks like in IE6 if you don't have it... Thanks in advance for your help! [attachment deleted by admin]
-
I finally got off my butt and installed Akismet. It solved all my spam problems I was having. Thanks for the idea! RESOLVED.
-
I haven't gotten too far in implementing Askimet yet, but I have quick question. These must be still bots that are spamming my site because I'm getting 40 emails per day about the exact same thing. How are they getting through all of these security measures? Is it because I am not stripping tags from the PHP variables? How could I do that? Thanks for helping a newbie again. Here is an examples of the Spam I'm getting.. They are all SEO related.
-
Thanks, I have used that for some WordPress sites I run but I've never applied it to a hand-coded site. I'll check it out, didn't even think of that.
-
Oh man, that is not good news. I was wondering that myself since nothing seems to be working to keep them out. I'm getting 20-30 spam emails a day about this.... Is there a way I could at least filter them if they mention "SEO" or "White-hat techniques?"
-
I recently built a contact form for my employers corporate site and it was fine until a week or so ago. Suddenly I started getting tons of SEO spam from various different bots it seems. I immediately installed a reCaptcha and also a blank dummy field to try and catch spammers. Neither of these items seemed to work so I made a list ditch effort to try and make a "no-javascript" catch since most bots can't use javascript. This didn't work either! Any ideas what I could do from this point, I'm kind of limited by GoDaddy's hosting which doesn't allow my to use the standard mail() function. I have to use some of their code to make the php mail work... Here is the current code I am using. Could somebody please give me a suggestion about what I am doing wrong? I'm fairly new to PHP. Thank you in advance! Both of these files are missing the reCaptcha keys for my security. I promise I usually have them in there. Contact.php - I left out the Javascript in the header which removes the "spambot" input field if Javascript is enabled. <div class="pageDetail"> <?php if (isset($_GET['success'])) { $success = $_GET['success']; if($success=="yes") { echo '<p class="yay">Thank you for submitting your message! We will get back to your as soon as possible.</p>'; } if($success=="spam") { echo '<p class="oops">Sorry, your message did not send.</p>'; } } ?> <form action="contactAction.php" method="post" id="contact" name="contact"> <fieldset> <legend><h2>Contact DigitalTown</h2></legend> <input type="hidden" name="subject" value="Form Submission" /> <input type="hidden" name="redirect" value="contact.php?success=yes" /> <label for="name">Name</label> <input type="text" id="name" name="name" class="required" minlength="2"/> <label for="email">E–mail</label> <input type="text" id="email" name="email" class="required email"/> <label for="message">Message</label> <textarea id="message" name="message" cols="50" rows="10" class="required"></textarea> <label>Special</label> <div class="security"> <?php require_once('recaptchalib.php'); $publickey = " My Public Key is in here"; // you got this from the signup page echo recaptcha_get_html($publickey); ?> </div> <input type="text" name="question" class="question" value=""> <input class="spam" name="spambot" type="hidden" value="contact.php?success=spam" /> <button type="submit">Send</button> </fieldset> </form> </div> contactAction.php <?php if (isset($_POST['spambot'])) { // redirect user to location specified in spambot header("Location: http://" . $_SERVER["HTTP_HOST"] . "/" . $_POST['spambot']); die(); } if(!empty($_POST['question'])) { die('Something went wrong, please try again.'); } else { /* start recaptcha code */ require_once('recaptchalib.php'); $privatekey = "My Private key is here"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp->is_valid) { die ("The reCAPTCHA wasn't entered correctly. Go back and try it again." . "(reCAPTCHA said: " . $resp->error . ")"); } else { $request_method = $_SERVER["REQUEST_METHOD"]; if($request_method == "GET") { $query_vars = $_GET; } elseif ($request_method == "POST") { $query_vars = $_POST; } reset($query_vars); $t = date("U"); $file = $_SERVER['DOCUMENT_ROOT'] . "\ssfm\gdform_" . $t; $fp = fopen($file,"w"); while (list ($key, $val) = each ($query_vars)) { fputs($fp,"<GDFORM_VARIABLE NAME=$key START>\r\n"); fputs($fp,"$val\r\n"); fputs($fp,"<GDFORM_VARIABLE NAME=$key END>\r\n"); if ($key == "redirect") { $landing_page = $val; } } fclose($fp); if ($landing_page != "") { header("Location: http://".$_SERVER["HTTP_HOST"]."/$landing_page"); } else { header("Location: http://".$_SERVER["HTTP_HOST"]."/"); } } /* end recaptcha code */ } ?>
-
Thank you for the help, I'll give that a try.
-
Anybody? Still looking for a solution.
-
No problem! Thanks in advance for your help. Here is my complete css (well excluding my reset and typography). html, body { height: 100%; } /* Main Layout */ .centerWrapper { margin: 0px auto; width:900px; } #container { min-height: 100%; position: relative; } #outerHeader { background-color: #EFF7FF; background: url(../images/headerOuterBG.gif) top left repeat-x; } #header { background: url(../images/headerBG.gif) top left no-repeat; width: 100%; height: 139px; } #navBar { background: url(../images/navBarBG.gif) repeat-x; height: 43px; } #content { padding-bottom: 140px; /*clears the footer*/ text-align: center; } #footer { height: 127px; position: absolute; bottom: 0px; width: 100%; background: url(../images/footerOuterBG.gif) repeat-x; } #footerInner { background: url(../images/footerInnerBG.png) center no-repeat; height: 127px; } /* navBar Styles */ #navBar ul, #navBar li { display: inline; } #navBar li { display: inline; position: relative; } #navBar, #navBar a { background: #958573 url(../images/navLinksBG.gif) repeat-x; } #navBar a { border-right: 1px solid #AFA69C; color: #654; float: left; font: bold 1em Georgia,Tahoma,sans-serif; margin-right: 1px; padding: 12px 12px; text-align: center; text-decoration: none; } #navBar li:first-child a { border-left: 1px solid #AFA69C; } #navBar a:hover,#navBar li.current a { background-position: 0 -43px; color: #543; } /* testing */ #navBar li ul{ background:#ccc; display:none; height:auto; position:absolute; top: 43px; width:auto; z-index:200; /*top:1em; /*left:0;*/ } #navBar li:hover ul{ display:block; } #navBar li ul li a{ background: #ccc; clear: both; border: none; } /* Footer Styles */ #footerLinks { padding-top: 20px; text-align: center; } #copyright { margin-top: 70px; text-align: center; color: #2b3031; } /* Social Media Link */ #socialMedia { float: right; padding-top: 3px; border: 0px solid black; }
-
I'm making a SubNav drop down menu on my main Navigation Menu and I'm having some trouble since I'm completely new to making on of these. I'm having drop with the drop menu not aligning underneath the main list item. I have uploaded my example to a test site for you to see. When you roll over "About Us" I want the subnav to be directly underneath like normal... Could somebody help a NOOB with some code additions to make this work. Thanks in advance! http://hotelfoliorequest.com/DigitalTownTesting/
-
Nevermind, I found the problem. It was simply me being lazy and not completed the head section completely.... OOps. Topic Solved.
-
Sorry I guess I should have mentioned to that I wanted the footer to be at the bottom of the viewport even if there isn't enough content to make it go that far down. That is why the positioning is in there.
-
I'm creating a new layout for our corporate site and I'm having a few issues. I'm fairly new to web development so please excuse my NOOB level. I'm trying to emulate many other layout in the way that they have a center wrapper which holds content but the header and footer extent 100% of the page. I've managed to make it look good in Firefox, but when loaded in IE it is borked. You can see that the footer doesn't listen to the height statement and also the centering isn't working on the wrapper div. Could you possibly give me some recommendations to fix these problems? Thanks in advance. Here's the test link. http://hotelfoliorequest.com/DigitalTownTesting/
-
[SOLVED] Passing a variable via URL - Need help.
Tjdunklee replied to Tjdunklee's topic in PHP Coding Help
Perfect! I will mark it as solved. I have a feeling I'm going to be spending a lot of time on these forums. Great place.