Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Jun 2009
    Posts
    4
    Member #
    19302
    When i submit a form the pound sign gets emailed to me like this £. How do i fix it?

  2.  

  3. #2
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    The character encoding isn't being preserved properly.

    What code are you using?
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  4. #3
    Junior Member
    Join Date
    Jun 2009
    Posts
    4
    Member #
    19302
    I'm new to all this and this is my first site so learning as i go. Maybe its justy easier if i post the code from my page.
    <?php
    ini_set('display_errors', 1);
    extract($_POST);
    if (!file_exists("../config.php"))
    {
    $host = $_SERVER[HTTP_HOST ];
    $path = pathinfo($_SERVER['PHP_SELF']);
    $file_path = $path['dirname'];
    exit;
    }
    include "../config.php";

    if ($sendto_email == "changeme@example.com")
    {
    exit;
    }
    if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,6}$", $senders_email))
    {
    $error = "1";
    $info_error .= $lang_invalidemail . "<br>";
    }
    if (empty ($security_code))
    {
    $error = "1";
    $info_error .= $lang_nocode . "<br>";
    }

    if ($terms != "1") {
    if ($senders_name != "=") {
    $error = "1";
    $info_error .= "Please accept the terms and conditions and try again<br><br>";
    }
    }

    elseif ($security_code != $randomness)
    {
    $error = "1";
    $info_error .= $lang_wrongcode . "<br>";
    }
    if ($showlink != "no")
    {
    $link = "<br><span style=\"font-size: 10px;\">Powered by <a href=\"

  5. #4
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,657
    Member #
    1234
    Liked
    138 times
    Your code just cuts off. It's missing stuff at the end.

    Also, please use the PHP BBCODE button for PHP code.
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at houseofhelp.com


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:00 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com