本文整理匯總了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