Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by surefire

  1. Version 3+ of Ultimate Form Mail does not depend on Ioncube. I did this to make it more compatible with the wide variety of servers used across my client base and to reduce customer support questions related to it. Only now do I realize how smart I was to make that change.
  2. I knew I was going to catch junk for my reply. Oh well. Guess I've got marketing on the brain.
  3. I fully understand that this is a humorous post... and it is funny. But I thought I'd take a different angle and respond as if this were a serious post meant to educate. No. That's old school belly-to-belly sales. Direct marketing would probably start with calling a list broker, getting a list of unmarried women that meet certain demographic, psychographic, and physical selects (ex: 21-29 yr old, hair color, height, weight, clean credit report, college degree, no children). Follow this with a sales letter mailout to the list. Letter highlights your strengths (I'm rich), and details who you're looking for, makes an offer (date) and a call to action (send me an email, send me your photo, whatever). Split testing this letter against another version of the sales piece sent to the same list. Tracking and comparing the response. Like I said, I understand that this was a joke... but so many people use sales and marketing interchangably when it's incorrect that I thought I'd use this opportunity to give my thoughts on the confusion.
  4. If dl() is disabled on your server then "runtime" loading of the ioncube loaders won't work. If this is an issue with my code (mentioned above) then I'd prefer to provide the support at my support forum. I'd provide the link, but have been asked in the past to refrain. You can easily find it via searching the TCH forum or perhaps a moderator will add it.
  5. I usually have a container div that is a fixed width, centered in the middle of the screen. So the percentages work off the container div, not the screen width. But you could remove my percentages and put in hard values if you wished. The nice thing about the percentages is that I can take the same strucutre, move it to another site, change the pixel width of the centered container div, and my content and nav adjust accordingly.
  6. You've specifically asked how to make negative margins work, and I don't have an answer to that exact question. But the bigger issue you're trying to resolve is structuring your html so that your content comes before your navigation... ostensibly so that you get better search engine rankings. I can help point you in the right direction on that one. I've had very good success lately making css layouts play nice (enough) with both browsers I test, IE and Firefox. The rules I follow are simple: Use opposing floats Avoid box model issues by using extra divs Give the layout some room for error Opposing floats: <content> asdf... </content> <sidenav> link link </sidenav> CSS would look something like this #content { float: left; width: 60%; margin: 0; padding: 0; } #navbar { float: right; width: 38%; margin: 0; padding: 0; } You notice that 38 and 60 adds up to less than 100%. This is my fudge factor. Even though I avoid the box model issues by using extra divs (hacks work fine too, I just don't like 'em) I don't see any reason to push things to perfection and risk breaking the layout when you really can't tell the difference. Especially since I'm almost always using faux columns in the background. The borders of these divs are invisible to the visitor. If you want to switch the layout, and put navbar on the left, just switch the floats. Floats come with their own set of rules and you may have to do a little research to understand how to clear floats in your layout to get things back to "normal" so you don't get unexpected results with div containers that follow your floats. There are plenty of ways to clear floats, one easy one is to use CSS for the div that follows the two floated sections: #footer { clear: both; } Hope that helps.
  7. I don't think this has anything to do with fpdf. I have experience with fpdf and with the IE error... but not together. The time I got this error, I was working on a client's site. I was loading a page in Zen Cart and the page was secure (https) but the image for the header banner was pulling from an insecure location (http - no s). Don't know if that helps... but thought I'd chime in.
  8. To echo TCH-Rob, in highly compeitive categories of search, the sites that rise to the top have the most relevant content, the most content, and above all, good links pointing back to them. Anything that seems like a shortcut is probably black-hat SEO and could potentially get you in hot water... come back to bite you. There's no easy route to dominating the search engine results. Doing the right things right for an extended period of time is what works.
  9. To all WordPress users, I have created a new plugin and updated an existing one. Both work wonderfully with WP 2+ The new one I call Safe Include and it allows you to pull in content from static files into your posts or pages as easily as typing {{file_name}}. Jack Born's WP Plugin: Safe Include The other one, Static Jack, makes it possible to upload a static file and have it woven seamlessly into your existing WP theme. In other words, you could create a link to the page that looks like yoursite.com/wp/static-page-here/ And the static content would be pulled right into your WP theme. This one works best with WP 2+ and requires modifications if you are using WP < 2 (1.5) Jack Born's WP Plugin: Static Jack There is some overlap, but they both accomplish certain results that the other can't.
  10. To me, those divs look similar to the garbage created by copying and pasting from Word. It could be something to do with the new WYSIWYG editor in WP 2 but I didn't have any issues on the three blogs I updated.
  11. ><?php echo '<ul>'; $navList = array('One','Two','Three','Four'); foreach($navList as $k=>$v) { $x = $k+1; $class = ($PHP_SELF == '/page'.$x.'.php') ? 'active' : 'none'; echo '<li><a class="'.$class.'" href="/page'.$x.'.php">Page '.$v.'</a></li>'; } echo '</ul>'; ?> It's a little shorter... but more importantly, it's easier to reuse on a new site.
  12. It's not a WordPress issue. View your source and you'll see four divs that don't below in your code, one of which isn't closed... and the effect is that it "eats" some of the layout divs that follow it ><div style="border: 2px solid orange; margin: 0px; padding: 0px; position: absolute; width: 0px; display: none; z-index: 99999" id="Clipmarks147BorderDiv7046" /> <div style="border: 2px solid orange; margin: 0px; padding: 0px; position: absolute; width: 0px; display: none; z-index: 99999" id="Clipmarks493BorderDiv6908" /> <div style="border: 2px solid orange; margin: 0px; padding: 0px; position: absolute; height: 0px; display: none; z-index: 99999" id="Clipmarks598BorderDiv5948" /> <div style="border: 2px solid orange; margin: 0px; padding: 0px; position: absolute; height: 0px; display: none; z-index: 99999" id="Clipmarks994BorderDiv8749" /> </div> </div> </div>
  13. Although kahill figured this out through testing, we did communicate a bit in my online forum. I mention this because Ultimate Form Mail clients can always expect timely support from me at that location. I have received consistent praise for the turnaround and quality of my responses... and TCH clients do receive extra special care.
  14. Yes... I'm very helpful. Head over to my forum. Also, version 3 is out in a day or two.
  15. mysql real escape string http://us2.php.net/manual/en/function.mysq...cape-string.php
  16. $_POST['fieldname'] is the proper and safest way. (And I think with register globals off, it's necessary) From php.net http://us2.php.net/register_globals And here's a nice example from the php.net site of how they check their user input before adding a comment to their site: http://www.php.net/source.php?url=/manual/add-note.php
  17. My understanding of your goals: 1- Simple but relatively secure 2- thankyou.php can't be seen unless your survey is filled out So, if I go to thankyou.php and my code is at the top >if($secretWhatever != 'yadayada') { echo 'You must submit the survey to reach this page'; exit; } Then I'll be blocked from access (especially if you turn off register_globals, which is on by default). Even with globals on, I'd have to be a good guesser 1- guess url of thankyou.php 2- guess variable name 3-guess variable value I'm also assuming that when you process the survey that you are checking the user input (which if you don't, is very dangerous). So, I'm expecting that in your code you have >if(empty($_POST)) header('Location: errorpage.php'); /*at least we have some post vars to check, time to validate and screen*/ $vars = $_POST; if(isset($vars['fieldone']) && $vars['fieldone'] != '') { $good['fieldone'] == $vars['fieldone']; } else { /*error message goes here*/ } /*Rest of form field validation and checking goes here in your code*/ ... ... /*Okay, all the data checks out, is valid, and safe. Let's show them the file*/ $secretWhatever = 'yadayada'; /*without secret variable set, thankyou won't work */ include 'thankyou.php'; I noticed that you are writing code that doesn't make use of $_POST superglobal. This is a mistake that you should correct for two reasons 1- it's insecure 2- if TCH modifies your php.ini file and turns off register_globals, you're going to be wondering why your code stopped working all of a sudden
  18. I'm not familiar with Mailman but very familiar with preventing spam on a site. What sort of spam are you getting? People posting advertisements to your list?
  19. I followed the link you gave and personally, I think the snippet they gave to use is useless. And depending on how air-tight you want it to be, checking the referrer is iffy too. I can quickly crank out a bit of code that posts data to your form (using post, not get) and grabs all the text of the next page that would be displayed on the thankyou.php page. Here's one way to do it. When they post the form, have it go to your survey processing script. Check for validity, check the safety of the information sent over, and if all seems to be "systems go", use php to include thankyou.php. Before you include thankyou.php you can write a snippet of code like this >$secretWhatever = 'yadayada'; Then, at the top of thankyou.php >if($secretWhatever != 'yadayada') { echo 'You must submit the survey to reach this page'; exit; } There's a more advanced and secure way of doing it, but this will probably meet your needs. If you think that an advanced programmer will desperately want to get at thankyou.php without filling out your survey, then you need to know there are ways around this. But I'd venture to guess that this will solve your problem for 98% of the population.
  20. I'm pretty sure pdf creator was one of the ones I tried. All of these options create pdfs... but I have only found one solution that correctly grabs links out of a Word document even when the url isn't spelled out. For example, if you put 'click here' and the phrase has a hyperlink in the Word document, most pdf printers won't find the hyperlink. But I'd be happy to be wrong.
  21. My two cents If you learn a few css techniques that get you around the box model without hacks then CSS positioning becomes a breeze. The work you put into learning how to use CSS is well worth it. You'll struggle at first, but then one day it'll click and you'll be off and running. Now I can't imagine creating a layout with tables. For me, it's just easier going the css route.
  22. I had to create a pdf file today and tried all sorts of software: pdf995, cutepdf(free), primopdf, etc. Problem was that my links in Word wouldn't convert to links in the resulting pdfs unless they were set up as www.whatever.xxx So, "click here" with link didn't work. I was banging my head against the wall... until I thought, hey, I bet the folks at TCH covered this one somewhere before. Sure enough, here it is. Open Office works like a charm. Only question I have... Is there a way to password protect a pdf file creating in Open Office?
  23. http://www.webmasterworld.com/forum88/4133.htm
  24. I have been asked not to discuss Ultimate Form Mail in any manner that would appear to violate the TCH forum rules (self-promotion for financial gain). Although this is support related, I believe my own support forums are a faster way to get an answer from me and a more appropriate venue. I am most happy to help you in any way that I can. I provide quick, hands-on help... but not here.
  • Create New...