小编sam*_*ami的帖子

添加Expires标头

Add Expires headers
There are 21 static components without a far-future expiration date.

    http://static.doers.lk/examples-offline.css
    http://static.doers.lk/kendo.common.min.css
    http://static.doers.lk/kendo.default.min.css
    http://static.doers.lk/style.css
    http://static.doers.lk/jquery.min.js
    http://static.doers.lk/kendo.web.min.js
    http://static.doers.lk/console.js
    http://static.doers.lk/sprite.png
    https://fbexternal-a.akamaihd.net/safe_image.php?...
    https://fbexternal-a.akamaihd.net/safe_image.php?...
    https://fbexternal-a.akamaihd.net/safe_image.php?...
    https://fbexternal-a.akamaihd.net/safe_image.php?...
    https://fbexternal-a.akamaihd.net/safe_image.php?...
    https://fbexternal-a.akamaihd.net/safe_image.php?...
    https://fbexternal-a.akamaihd.net/safe_image.php?...
    https://fbexternal-a.akamaihd.net/safe_image.php?...
    https://fbexternal-a.akamaihd.net/safe_image.php?...
    https://fbexternal-a.akamaihd.net/safe_image.php?...
    https://fbexternal-a.akamaihd.net/safe_image.php?...
    https://fbexternal-a.akamaihd.net/safe_image.php?...
    http://static.doers.lk/favicon.PNG
Run Code Online (Sandbox Code Playgroud)

当我使用雅虎YSLOW测试网站时,它说上面按摩.所以我不知道如何添加过期的标题.任何帮助将不胜感激?

html yslow expires-header

44
推荐指数
2
解决办法
11万
查看次数

我们可以使用JSON作为数据库吗?

我正在寻找快速有效的数据存储来构建我的基于PHP的网站.我知道MySql.我可以在服务器根目录而不是MySQL数据库中使用JSON文件吗?如果是的话,最好的方法是什么?

database json

21
推荐指数
1
解决办法
3万
查看次数

如何在表td中添加边距

CSS:

.chash, .java, .php, .jscript, .jQuery, .cplus, .python, .asp, .dotnet, .html,
.objectivec, .iOS, .sql, .css, .rubyr, .c, .xml, .AJAX, .xcode, .linux, .windows,
.vbdotnet, .json, .Apache, .wordpress, .oracle, .Perl, .ActionScript, .flash,
.dothtaccess, .VisualStudio, .GoogleAppEngine, .jsp,. PostgreSQL, .ZendFramework,
.email, .GoogleMaps {  
    background: none repeat scroll 0 0 #FFFFFF;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    margin: 10px;
    padding: 5px;
    width: 250px;
    height: 180px;
 }

td {
   padding-right: 20px;
   margin: 10px;
}
Run Code Online (Sandbox Code Playgroud)

HTML:

<div class="Languages">
  <table>
    <tr>
      <td class="chash"></td>
      <td class="java"></td>
      <td …
Run Code Online (Sandbox Code Playgroud)

html css html-table

5
推荐指数
1
解决办法
1万
查看次数

使用YQL为Facebook获取JSON数据

我想知道如何使用YQL获取JSON数据.

这是我的JSON URL:

https://www.facebook.com/feeds/page.php?id=397319800348866&format=json
Run Code Online (Sandbox Code Playgroud)

ajax jquery json yql

3
推荐指数
1
解决办法
1533
查看次数

.click()函数与ajax一起使用

JavaScript的:

<script>

$('#alink').click(function () {
     $("#loading").ajaxStart(function(){
    $(this).show();
 }).ajaxStop(function(){
    $(this).hide();
 });

$('#aresult').load('content2.html', function() {
 $('#successdata').html('100% loaded');
});
 });
 </script>
Run Code Online (Sandbox Code Playgroud)

HTML:

<a href="#" id="alink">click me</a>
<div id="aresult"></div>
Run Code Online (Sandbox Code Playgroud)

这段代码有什么错误?我想在用户点击鼠标并加载图片时加载ajax调用页面

html javascript ajax jquery

1
推荐指数
1
解决办法
78
查看次数

如果条件为真,我该如何写textarea值

如果条件为真,如何从$ repvalue值写textarea值请帮助我.

<html>
    <body>
    <form action="find4.php" method="post" name="finrep">
    <p>Find: <input type="text" name="fin">Replace: <input type="text" name="rep" >
    </p>
    <p><br/>
    <textarea name="comments" cols="25" rows="5" value="<?php echo $repvalue; ?>"></textarea>
    <input type="submit" name="submit1" value="submit">
    </p>
    </form>
    </body>
    </html>
    <?php
    if ($_POST['submit1'])
    {
    $findval = $_POST['fin'];
    $textboval = $_POST['comments'];
    if($findval == $textboval){
    $repvalue = $_POST['rep'];
    }
    }
    ?>
Run Code Online (Sandbox Code Playgroud)

html javascript php jquery

1
推荐指数
1
解决办法
679
查看次数

标签 统计

html ×4

jquery ×3

ajax ×2

javascript ×2

json ×2

css ×1

database ×1

expires-header ×1

html-table ×1

php ×1

yql ×1

yslow ×1