本文整理汇总了PHP中fHTML::sendHeader方法的典型用法代码示例。如果您正苦于以下问题:PHP fHTML::sendHeader方法的具体用法?PHP fHTML::sendHeader怎么用?PHP fHTML::sendHeader使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类fHTML
的用法示例。
在下文中一共展示了fHTML::sendHeader方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: strpos
<?php
fHTML::sendHeader();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php
echo $this->get('lang');
?>
" lang="<?php
echo $this->get('lang');
?>
">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="google-site-verification" content="vWXUlrnTL08knWQIGwumeb38qgYZlsrXc5VReJ1bUbs" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta property="og:title" content="Safecast" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://www.safecast.org" />
<meta property="og:image" content="http://www.safecast.org/images/logo.png" />
<meta property="og:site_name" content="Safecast" />
<meta property="fb:admins" content="595809984" />
<meta name="description" content="Safecast is a website that aggregates radioactivity data from throughout the world in order to provide real-time hyper-local information about the status of the Japanese nuclear crisis.">
<meta name="keywords" content="japan,fukushima,radiation,nuclear,reactor,geiger,counter,RDTN,Safecast">
<title><?php
echo $this->prepare('title');
echo strpos($this->get('title'), 'Safecast') === FALSE ? ' - Safecast' : '';
?>
</title>
<base href="<?php