コード例 #1
0
ファイル: download.php プロジェクト: NikolayIT/NStudio
<?
require_once("include.php");
startpage();
?>
Latest version: <b><?php 
echo $version;
?>
</b><br><br>
Download: <a href='<?php 
echo $download;
?>
'>HERE</a><br>
Download mirror: <a href='<?php 
echo $download2;
?>
'>HERE</a><br>
Download source: <a href='<?php 
echo $source;
?>
'>HERE</a><br><br><br>

Requirements:<br>
For this program to work correctly you need <b>.NET Framework 2.0 or higher</b><br>
For the browser to work correctly you need <b>Internet Explorer 5.0 or higher</b><br>
For the Media Player plugin to work correctly you need <b>Windows Media Player 9 or higher</b><br>
<?
endpage();
?>
コード例 #2
0
    is a fundamental requirement to take part in the emerging world of
    information. And for a number of reasons, not everyone who needs to
    be able to read and write can do so.
  </p>
  <p>
    This is where literacy programs come in. By reaching out to people who
    want to learn to read, they give people the tools they need to survive
    and thrive in our increasingly complex world. I believe that people can
    and should work to support themselves. But I also believe that those of
    us who already have the tools to succeed have a responsibility to get
    those tools into the hands of others, so that they may succeed too.
  </p>
  <p>
    Some Cricket users have in the past offered me gifts as a reward for my
    work on Cricket. Instead, I would be honored if you'd donate to a
    literacy program in the name of Cricket users everywhere.
  </p>
  <p>
    <a href="pr.html">East Palo Alto Project Read</a> is a adult literacy
    program in my area. I encourage you to give donations and your own time
    to support this program, or one in your area.
  </p>
  <p>
    Together, we can make a difference in the lives of people who need to read.
  </p>
  <p>Sincerely, Jeff R. Allen</p>
<?php 
endpage(__FILE__, "\$Author\$", "\$Date\$");
?>

コード例 #3
0
ファイル: test_filecsv.php プロジェクト: chaobj001/tt
function phase5($log, $server)
{
    echo "<H2> 实例 5 - 写入日志</H2>";
    $log->data_file = 'Log.csv';
    $log->new_rows[] = array(date('Y:m:d-H:i:s'), $server['HTTP_USER_AGENT'], $server['HTTP_REFERER']);
    $log->append_csv();
    if ($log->read_csv()) {
        echo "<table>";
        echo "<tr><td> 日期 <hr /></td><td> 浏览器 <hr /></td><td> 操作url <hr /></td></tr>";
        foreach ($log->db as $d) {
            echo "<tr>\n";
            while (list($key, $val) = each($d)) {
                echo "<td>";
                echo $val;
                echo "</td>\n";
            }
            // while
            echo "</tr>\n";
        }
        echo "</table>\n";
    } else {
        echo $PHPSEA_ERROR['FileCsv_Error'];
    }
    echo "<a href='{$PHP_SELF}?phase=5' > 从新执行日志范例</a>\n";
    echo "<a href='{$PHP_SELF}?phase=4' > 上一步</a>\n";
    echo "<a href='{$PHP_SELF}?phase=0' > 下一步</a>\n";
    endpage();
}
コード例 #4
0
ファイル: question.php プロジェクト: shanhaiying/OES
function sendjsondata()
{
    header("Content-Type: application/json; charset=utf-8");
    echo json_encode($GLOBALS["data"]);
    endpage();
}
コード例 #5
0
ファイル: config.php プロジェクト: shanhaiying/OES
function redirect($str)
{
    header("location: " . $str);
    endpage();
}