Web Design Forums

Welcome! Please register or log in: Forgot your password? Why register?
You are here: Web Design Forums » Web Design Help » HTML and CSS Help » £ - whats this? RSS

£ - whats this?

This thread was started by speed and has been viewed 141 times, and contains 3 replies, with the last reply made by Wired.
Post Reply
1
View speed's reputation
speed, WDF Noob Private message  
Posted June 28 '09 at 06:28 PM
      Posts: 4
When i submit a form the pound sign gets emailed to me like this £. How do i fix it?

Advertisement Register for free to hide these ads and participate in discussions!

2
794 points at 99% Donor Moderator Repute WDFplus Member
Posted June 28 '09 at 06:53 PM
      Posts: 11,793
The character encoding isn't being preserved properly.

What code are you using?
filburt1, Web Design Forums.net founder
Want to advertise on this site?
Site of the Month contest: submit your site or vote for the winner!
filburt1 is online now! Reply

3
View speed's reputation
speed, WDF Noob Private message  
Posted June 28 '09 at 06:59 PM
      Posts: 4
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=\"

4
345 points at 100% Donor Moderator Repute WDFplus Member
Wired, Admin and WDF Alien Overlord Home page   Private message  
Posted June 28 '09 at 07:16 PM
      Posts: 6,275
Your code just cuts off. It's missing stuff at the end.

Also, please use the PHP BBCODE button for PHP code.
Admin at houseofhelp.com
WDF Resources: The Rules
Founder/Creator/Admin of ZE SECRET PROJECT!

Was another WDF member's post helpful? Click the positive rating button () above the post.
Wired is online now! Reply

Post Reply