发布后显示奇怪的字符

时间:2014-08-20 22:40:15

标签: html

这是我的网址http://bloomh.com/

如果你向下看“推荐”部分,你会看到一堆奇怪的字符被显示出来。奇怪的是,它似乎随着时间的推移“增长”,代码在我的HTML中。显然我没有将它添加到我原来的html中。

这是怎样以及为什么会发生这种情况。很奇怪。任何帮助和方向将不胜感激。

好的,这是html和php。奇怪的字符在html中,但我根本没有添加。另一个小警告是我使用前端创建者Webflow.com然后导出html并转移到我的主机。 Webflow非常合法,我已经和他们交谈了,他们向我保证他们的代码很干净。再一次,这发生在我发布页面并使用php表单几次之后,那些奇怪的角色随着时间的推移开始“增长”。

HTML

<!DOCTYPE html>
<!-- This site was created in Webflow. http://www.webflow.com-->
<!-- Last Published: Tue Aug 19 2014 18:12:20 GMT+0000 (UTC) -->
<html data-wf-site="5359ea800548c9ed4700023a" data-wf-page="53dbf829e673629c186afc3f">
<head>
  <meta charset="utf-8">
  <title>Bloomh</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="generator" content="Webflow">
  <link rel="stylesheet" type="text/css" href="css/normalize.css">
  <link rel="stylesheet" type="text/css" href="css/webflow.css">
  <link rel="stylesheet" type="text/css" href="css/bloomhmvp.webflow.css">
  <script src="https://ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js"></script>
  <script>
    WebFont.load({
      google: {
        families: ["Carme:regular","Roboto Slab:300,regular,700","Nixie One:regular","Pontano Sans:regular","Quicksand:300,regular,700","Muli:300,300italic,regular,italic","Raleway:300,regular,500,600,700,800,900","Arimo:regular,italic,700,700italic","Oxygen:300,regular,700","Cabin:regular,italic,500,500italic,600,600italic,700,700italic","Roboto:300,300italic,regular,italic,500,500italic,700,700italic,900,900italic"]
      }
    });
  </script>
  <script type="text/javascript" src="js/modernizr.js"></script>
  <link rel="shortcut icon" type="image/x-icon" href="images/fontawesome-webfont.svg">
  <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
</head>
<body>
  <div class="w-nav navbar vl" data-collapse="medium" data-animation="default" data-duration="400">
    <div class="w-clearfix navbar-section">
      <div class="logo-container vl">
        <a class="w-nav-brand logo vl" href="#"></a><a class="brand vl" href="#">Bloomh</a>
      </div>
    </div>
  </div>
  <div class="hero-background home2 vl">
    <div class="w-container hero-container">
      <div class="coming-soon">COMING SOON!</div>
      <div class="centering-container _95">
        <h1 class="hero-tagline home2 vendor-landing vl">Brides set the price<br>Vendors come to them</h1>
      </div>
      <div class="centering-container _85 tablet">
        <h2 class="secondary-tagline home2 vendor-landing vl">A new way to hire&nbsp;photographers &amp; videographers</h2>
      </div>
      <div class="vendor-question-box">
        <div class="w-row">
          <div class="w-col w-col-4">
            <div class="w-form">
              <form id="wf-form-vl2-signup" action="php/vl2_submit.php" method="post" name="wf-form-vl2-signup" data-name="vl2 signup" data-redirect="http://www.bloomh.com">
                <div class="centering-container">
                  <input class="w-input post-page-input-fields input-fields vendor-landing vl" id="vl2-email" type="email" placeholder="Valid Email" name="vl2_email" data-name="vl2 email" required="required">
                  <input class="w-input post-page-input-fields input-fields vendor-landing vl" id="vl2-address" type="text" placeholder="Website address?" name="vl2_address" data-name="vl2 address" required="required">
                  <input class="w-button button join-button vendor-join vl" type="submit" value="Vendor Join!" data-wait="Joining..." wait="Joining...">
                </div>
              </form>
              <div class="w-form-done">
                <p>Thank you! Your submission has been received!</p>
              </div>
              <div class="w-form-fail">
                <p>Oops! Something went wrong while submitting the form :(</p>
              </div>
            </div>
          </div>
          <div class="w-col w-col-8">
            <div class="centering-container _85 vl">
              <div class="vendor-question vl">Are you a Photographer or Videographer?</div>
              <div class="w-hidden-main w-hidden-medium w-hidden-small how-to-wrap vl">
                <div class="centering-container vendor-sale mobile">
                  <div class="vendor-sale-text vl">Sign Up</div>
                </div>
                <div class="centering-container">
                  <div class="fa fa-chevron-down vendor-welcome vl"></div>
                </div>
                <div class="centering-container mobile">
                  <div class="vendor-sale-text vl get-clients">Get clients via email</div>
                </div>
                <div class="centering-container">
                  <div class="fa fa-chevron-down mobile"></div>
                </div>
                <div class="centering-container mobile">
                  <div class="vendor-sale-text vl">Free and Easy!</div>
                </div>
              </div>
              <div class="w-hidden-tiny vendor-question-subtext phone">
                <div class="vendor-how-to vendor-landing vl">Sign Up</div>
                <div class="fa fa-chevron-right vendor-landing vl"></div>
                <div class="vendor-how-to vendor-landing vl">Get clients in your inbox</div>
                <div class="fa fa-chevron-right vendor-landing vl"></div>
                <div class="vendor-how-to vendor-landing vl">Free and Easy!</div>
              </div>
              <div class="more-categories vendor-landing vl">Birthdays / Portraits / Parties / Bat Mitzvahs / Engagements</div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="vl-testimonials">
    <div class="centering-container vl testimonials">
      <div class="testimonial vl">Testimonials</div>
      <div class="testimonial-text vl">“I use Bloomh to get most of my new wedding clients. It plays a big part in growing my business.â€ÂÂÂÂÂÂ</div>
      <div class="testimonial-user main vl">- Lance Capshaw, Huntington Beach CA
        <br>(Vendor)</div>
      <div class="testimonial-text vl">“I can't believe this service is free! I&nbsp;use it to get my wedding clients. They just come into my inbox!â€ÂÂÂÂÂÂ</div>
      <div class="testimonial-user main vl">- Trish Carpenter, Hermosa Beach, CA
        <br>(Vendor)</div>
    </div>
  </div>
  <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  <script type="text/javascript" src="js/webflow.js"></script>
  <!--[if lte IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/placeholders/3.0.2/placeholders.min.js"></script><![endif]-->
</body>
</html>

**** PHP  ****
<?php
$email = htmlspecialchars($_POST['vl2_email']);
$website_address = htmlspecialchars($_POST['vl2_address']);
mail("bpark@bloomh.com", "New Vendor vl2", "From: $email", "Website Address: $website_address");
header("Location:../vl2-confirm.html");
?>

1 个答案:

答案 0 :(得分:0)

1)使用班级名称&#34; testimonial-text&#34;搜索整个代码。并查看代码,尝试从记事本输入后替换内容。

2)为你的段落添加<p>Your content content</p>

3)您可以为我们粘贴服务器端代码。

4)您需要告诉MySQL必须以UTF-8进行连接。