Jump to content

Spring

Members
  • Posts

    224
  • Joined

  • Last visited

Posts posted by Spring

  1. My god! You had to manually type something and then test it to see if it would work?!?!? I had no idea the problem was as bad as all that. Certainly, immediate action should be taken to remedy the situation as swiftly as possible, and to ensure that no future user ever be forced to endure the harrowing ordeal you've been through. Please accept our heartfelt apologies for your pain and suffering!

     

    My God! You would only have to output a string of text letting the users know BCC is enabled! I had no idea this would be so difficult!! I surely will think of how much time and sweat such an enormous task such as this will take before suggesting something so ludicrous! Please, the apologizes are mine, and mine alone!!

     

    Yes i can! Bit I simply mean showing the BBC, I had to manually type the BBC. I had no idea it was going to work until I tired it. Maybe at least add a confirmation saying that BBC is allowed in the profile signature?

    My apologies for confusing anyone.

     

    My first post didn't specifically say this wasn't important or anything. It would just make the forums more user friendly. whyyougottabeadick?

     

  2. Sorry, I don't use much pure javascript, but this doesn't look right.

     

    if(reg_n!==null|| reg_p!==null || reg_email!==null || reg_p_m!==null || reg_n!=="" || reg_p!=="" || reg_email!=="" || reg_p_m!=="")

     

    Should you be using Logical AND and also being using '!=' not '!=='

     

    Hopefully, I helped.  :shrug:

     

    try

    if(reg_n != null && reg_p != null && reg_email != null && reg_p_m != null && reg_n != "" && reg_p != "" && reg_email != "" && reg_p_m != "")

  3. Hi.  I'd suggest changing your code to what Mj mentioned.

    http://www.phpfreaks.com/forums/index.php?topic=349006.0

     

     

    use isset

     

    Um, let's not, since that won't work. A field that a users does not fill in a value for is still set - it just happens to have a value of an empty string. And, you should always use trim() on user input. Otherwise, a value of only spaces will appear as having a non-empty value.

     

    $first    = trim($_POST['First']);
    $middle   = trim($_POST['Middle']);
    $last     = trim($_POST['Last']);
    $personal = trim($_POST['Persona1']);
    
    if(!empty($middle)) { $middle = $middle.'.'; }
    
    echo "{$first}.{$middle}{$last}.{$personal}.<br>\n";

     

    Although you should really think about using htmlentities() on the values to prevent any values that might be interpreted as HTML code from screwing up the page.

  4. <?php
    $pathexpress = "email/message/to/toFirstName";
    
    $childLabelPath = "email/message/to/toFirstName /#text"; //space
    $curChildLabelPath = rtrim($childLabelPath, "/#text");
    echo $curChildLabelPath;
    ?>

     

    I'm not sure if this helps you at all, but this worked for me.

  5. Use jquery to hide the two drops downs.

     

    Onclick show the first one, on another click show the second one.

     

    I don't know if there's a tut on what you're looking for, but you can use Jquerys documentation to look through the functions.

     

    http://docs.jquery.com/Main_Page

     

    Ill link the one's I think you'll be using.

     

    http://api.jquery.com/hide/

    http://api.jquery.com/slideUp/

    http://api.jquery.com/click/

     

    Just use a small amount of logic and tada.

     

×
×
  • 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.