Jump to content

AndyB

Staff Alumni
  • Posts

    5,465
  • Joined

  • Last visited

    Never

Posts posted by AndyB

  1. Your page has a 'no right click script' :)

    I managed to view-source, copy, fix (two minor edits), and upload to one of my sites.

    [a href=\"http://www.halfadot.com/temp/hotdawg.html\" target=\"_blank\"]http://www.halfadot.com/temp/hotdawg.html[/a] - I added comments at the simple changes made. Just use the browser toolbar view>>source to copy the page and you'll see what changes you need to make.
  2. Thanks for the thanks. Not everyone remembers that the help is offered free. Glad you got your problem sorted out, and I'm sure that when you next have a problem you'll be giving us great information about it right from the start now you know what peculiar things we need to know :)
  3. Try Googling for 'captcha'. That'll give you plenty of information to choose from.

    If you want a working package without too much effort, you're welcome to my freebie [a href=\"http://www.digitalmidget.com/php_noob/captcha.php\" target=\"_blank\"]captcha script package[/a]
  4. [!--quoteo(post=349605:date=Feb 26 2006, 12:48 PM:name=redbullmarky)--][div class=\'quotetop\']QUOTE(redbullmarky @ Feb 26 2006, 12:48 PM) [snapback]349605[/snapback][/div][div class=\'quotemain\'][!--quotec--]
    does the <rant> tag validate in XHTML 1.0 ?

    lol
    [/quote]
    Nah. But you could probably create something so <rant> took on a style of TNR, font size big, font color bright, and blink.

    And the real cause of inaccessible web sites - the cause of the original rant - is that the people who paid for it never heard of user testing and/or hire artistic directors to supervise the look and feel of the web site and to hell with usability.
  5. [!--quoteo(post=349574:date=Feb 26 2006, 10:43 AM:name=joecooper)--][div class=\'quotetop\']QUOTE(joecooper @ Feb 26 2006, 10:43 AM) [snapback]349574[/snapback][/div][div class=\'quotemain\'][!--quotec--]It will need to load everyone of those rows on a single page also using a loop script...[/quote]
    Why? If I were a visitor to your site I probably wouldn't be interested in reading a 10,000 row presentation of data, even if I was nice enough to wait for the enormous generated html file to download and be rendered by my browser. As noted, a database with 10k rows is nothing special. Maybe you want to share your design logic with us so we'll understand why you want to load every row and display them?
  6. It's not obvious what your question is, but you could start by coding the option properly, i.e. including a value for each and closing the option tag:
    [code]<option value="something">option name</option>[/code]
    Otherwise, you'll never be able to tell which option was picked.
  7. Can you post the code you are currently using, exactly as it is? Can you tell us exactly what does happen, i.e. define "doesn't work" for us?

    I assume that the script is saved as somename.[b]php[/b] and that it is running on a server equipped with a mail server, not running on your computer?
  8. Take the textbox content 'as is' and place it in the database. When you want to display it with those newlines converted to html <br>, use the newlinestoBR function:
    [code]echo nl2br($your_database_field);[/code]
    Is that what you meant?
  9. I've had my share of episodes of a zillion emails showing up, and the only thing I've found that actually worked - because the morons who spam have all sorts of sleazy tricks - was making it a manual process to use a form, i.e. a captcha. It also stopped 100% of those "Wow I really liked your site. Visit mine at www.bodypartsenhancementwillsaveyourlovelife.com"

    At the moment I have one client site where the webhost, the client, and I have agreed to simply shut off the email server for a week in the hope that it'll make the spammers find another target. Getting a 1000 bounced emails from AOL addresses in a day is tough to take!

    If it will lessen the pain, you're welcome to use my [a href=\"http://www.digitalmidget.com/php_noob/captcha.php\" target=\"_blank\"]captcha script package[/a].
  10. Maybe something like this would work:
    [code]<?php
    session_start();
    $now = time();
    $delta_t = 60; // seconds delay required between uses
    if (isset($_SESSION['time_sent'])) {
        $previous = $_SESSION['time_sent'];
        if (($now - $previous) < $delta_t) {
            // your form code here
        } else {
            // be patient!!
        }
    }
    $_SESSION['time_sent'] = $now;
    ?>[/code]
  11. [a href=\"http://ca.php.net/manual/en/function.str-word-count.php\" target=\"_blank\"]http://ca.php.net/manual/en/function.str-word-count.php[/a] in the manual, and look at the notes provided by webmaster at joshstmarie dot com .. that's what you're asking about.
  12. Screwdrivers are best for screws. Hammers are best for nails. Using the right tool makes life simpler and work more effective. Yes, you could put in a screw with a hammer, but ...

    Tables are better for tabular data (after all, that's why the tag was added in html). For layout divs are better. Why? Pages are less bulky. Indexing robots prefer pages high a high content ratio (impossible when every second tag is td). Tables for layout are nonsensical for non-graphical browsers, e.g. readers for the visually impaired. When you understand and use CSS making your site have 'printer-friendly' pages is a few minutes work and almost zero extra code ... the list goes on.

    Learning CSS is not a 5-minute exercise. It's a commitment.
  13. Please DO NOT post the same problem in different places.

    Asked and answered here - [a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=86529&pid=348269&st=0&#entry348269\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?...=0&#entry348269[/a]

    Closing thread.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.