function getPageName($currentURL = '') { $currentFile = $currentURL == '' ? $_SERVER["PHP_SELF"] : $currentURL; $parts = Explode('/', $currentFile); $realurl = Explode('?', $parts[count($parts) - 1]); return $realurl[0]; }
public function handle($instance, $serverKey, $parameters, $httpRequestMethod) { // Validate HTTP Verb if (strtolower($httpRequestMethod) != "get") { throw new MashapeException(EXCEPTION_INVALID_HTTPMETHOD, EXCEPTION_INVALID_HTTPMETHOD_CODE); } // Validate request if ($this->validateRequest($serverKey) == false) { throw new MashapeException(EXCEPTION_AUTH_INVALID_SERVERKEY, EXCEPTION_AUTH_INVALID_SERVERKEY_CODE); } $resultXml = "<?xml version=\"1.0\" ?>\n"; $fileParts = Explode('/', $_SERVER["PHP_SELF"]); $scriptName = $fileParts[count($fileParts) - 1]; $baseUrl = Explode("/" . $scriptName, $this->curPageURL()); $resultXml .= "<api baseUrl=\"" . $baseUrl[0] . "\" " . $this->getSimpleInfo() . ">\n"; $mode = isset($parameters[MODE]) ? $parameters[MODE] : null; $configuration = RESTConfigurationLoader::reloadConfiguration($serverKey); if ($mode == null || $mode != SIMPLE_MODE) { $objectsFound = array(); $objectsToCreate = array(); $methods = discoverMethods($instance, $configuration, $objectsFound, $objectsToCreate, $scriptName); $objects = discoverObjects($configuration, $objectsFound); $resultXml .= $methods . $objects . generateObjects($objectsToCreate); // Update the .htaccess file with the new route settings updateHtaccess($instance); } $resultXml .= "</api>"; return $resultXml; }
function current_pagename() { $currentFile = $_SERVER["PHP_SELF"]; $parts = Explode('/', $currentFile); $mypage = $parts[count($parts) - 1]; return $mypage; }
function QueryMinecraft($IP, $Port = 25565, $Timeout = 2) { $Socket = Socket_Create(AF_INET, SOCK_STREAM, SOL_TCP); Socket_Set_Option($Socket, SOL_SOCKET, SO_SNDTIMEO, array('sec' => (int) $Timeout, 'usec' => 0)); Socket_Set_Option($Socket, SOL_SOCKET, SO_RCVTIMEO, array('sec' => (int) $Timeout, 'usec' => 0)); if ($Socket === FALSE || @Socket_Connect($Socket, $IP, (int) $Port) === FALSE) { return FALSE; } Socket_Send($Socket, "þ", 2, 0); $Len = Socket_Recv($Socket, $Data, 512, 0); Socket_Close($Socket); if ($Len < 4 || $Data[0] !== "ÿ") { return FALSE; } $Data = SubStr($Data, 3); // Strip packet header (kick message packet and short length) $Data = iconv('UTF-16BE', 'UTF-8', $Data); // Are we dealing with Minecraft 1.4+ server? if ($Data[1] === "§" && $Data[2] === "1") { $Data = Explode("", $Data); return array('HostName' => $Data[3], 'Players' => IntVal($Data[4]), 'MaxPlayers' => IntVal($Data[5]), 'Protocol' => IntVal($Data[1]), 'Version' => $Data[2]); } $Data = Explode("§", $Data); return array('HostName' => SubStr($Data[0], 0, -1), 'Players' => isset($Data[1]) ? IntVal($Data[1]) : 0, 'MaxPlayers' => isset($Data[2]) ? IntVal($Data[2]) : 0, 'Protocol' => 0, 'Version' => '1.3'); }
function scriptname() { $file = $_SERVER["SCRIPT_NAME"]; $break = Explode('/', $file); $pfile = $break[count($break) - 1]; return $pfile; }
public function __construct() { $path = Explode('/', $_SERVER["SCRIPT_NAME"]); $name = $path[count($path) - 1]; $this->name = $name; $this->controllerName = preg_replace('/_view/', '_controller', $name); }
function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) { // For security, start by assuming the visitor is NOT authorized. $isValid = False; // When a visitor has logged into this site, the Session variable MM_Username set equal to their username. // Therefore, we know that a user is NOT logged in if that Session variable is blank. if (!empty($UserName)) { // Besides being logged in, you may restrict access to only certain users based on an ID established when they login. // Parse the strings into arrays. $arrUsers = Explode(",", $strUsers); $arrGroups = Explode(",", $strGroups); /*if (in_array($UserName, $arrUsers)) { $isValid = true; } // Or, you may restrict access to only certain users based on their username. if (in_array($UserGroup, $arrGroups)) { $isValid = true; } */ if ($UserName == 'w3oitreasury') { $isValid = true; } /* if (($strUsers == "") && true) { $isValid = true; } */ } return $isValid; }
function DB_Query($Query) { /******************************************************************************/ $__args_types = array('string'); #------------------------------------------------------------------------------- $__args__ = Func_Get_Args(); eval(FUNCTION_INIT); /******************************************************************************/ $Link =& Link_Get('DB'); #------------------------------------------------------------------------------- if (!Is_Object($Link)) { #------------------------------------------------------------------------------- $Config = Config(); #------------------------------------------------------------------------------- $Link = new MySQL($Config['DBConnection']); #------------------------------------------------------------------------------- if (Is_Error($Link->Open())) { #------------------------------------------------------------------------------- $Link = NULL; #------------------------------------------------------------------------------- return ERROR | @Trigger_Error('[DB_Query]: невозможно соединиться с базой данных'); #------------------------------------------------------------------------------- } #------------------------------------------------------------------------------- if (Is_Error($Link->SelectDB())) { #------------------------------------------------------------------------------- $Link = NULL; #------------------------------------------------------------------------------- return ERROR | @Trigger_Error('[DB_Query]: невозможно выбрать базу данных'); #------------------------------------------------------------------------------- } #------------------------------------------------------------------------------- } #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- list($Micro, $Seconds) = Explode(' ', MicroTime()); #------------------------------------------------------------------------------- $StartTime = $Micro + $Seconds; #------------------------------------------------------------------------------- $Result = $Link->Query($Query); #------------------------------------------------------------------------------- list($Micro, $Seconds) = Explode(' ', MicroTime()); #------------------------------------------------------------------------------- $EndTime = $Micro + $Seconds; #------------------------------------------------------------------------------- $GLOBALS['__TIME_MYSQL'] = $GLOBALS['__TIME_MYSQL'] + $EndTime - $StartTime; #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- if (Is_Error($Result)) { return ERROR | @Trigger_Error('[DB_Query]: невозможно осуществить запрос'); } #------------------------------------------------------------------------------- $GLOBALS['__COUNTER_MYSQL']++; #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- return $Result; #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- }
function getPageName() { $currentFile = $_SERVER["PHP_SELF"]; $parts = Explode('/', $currentFile); $currentPage = $parts[count($parts) - 1]; $pageParts = Explode('.', $currentPage); return $pageParts[0]; }
function TampilkanDaftarPanduan() { global $arrPanduan; echo "<p><h3>Daftar Panduan</h3></p>"; echo "<ol>"; for ($i = 0; $i < sizeof($arrPanduan); $i++) { $a = Explode('~', $arrPanduan[$i]); echo "<li><a href='desain/" . $a[1] . "' target=_blank>" . $a[0] . "</li>"; } echo "</ol>"; }
function TampilkanDaftarDiagram() { global $arrDiagram; //echo "<p><h3>SOP PENGGUNAAN SISTEM</h3></p>"; echo "<ol>"; for ($i = 0; $i < sizeof($arrDiagram); $i++) { $a = Explode('~', $arrDiagram[$i]); echo "<li><a href='desain/" . $a[1] . "' target=_blank>" . $a[0] . "</a>" . "</li>"; } echo "</ol>"; }
function MasterPageCreate($sender, $params) { global $LoginControl; $currentFile = $_SERVER['SCRIPT_NAME']; $parts = Explode('/', $currentFile); $currentFile = $parts[count($parts) - 1]; if ($currentFile != 'Login.php') { if (!$LoginControl->isAuthenticated()) { redirect("Login.php"); } } }
/** * method where_called() * param $level * return line, object and file name where the query was executed */ private function where_called($level = 1) { $trace = debug_backtrace(); $file = $trace[$level]['file']; $line = $trace[$level]['line']; $object = $trace[$level]['object']; if (is_object($object)) { $object = get_class($object); } $break = Explode('/', $file); $pfile = $break[count($break) - 1]; return "Where called: line {$line} of {$object} <br/>(in {$pfile})"; }
function pagespecific() { global $language, $l_cp_tools_purgecheck; $currentFile = $_SERVER["SCRIPT_NAME"]; $parts = Explode('/', $currentFile); $currentFile = $parts[count($parts) - 1]; switch ($currentFile) { case 'edit.php': echo '<style type="text/css">'; readfile('styles/system/jacs.css'); echo '</style>' . "\n"; echo '<script type="text/javascript" src="script/jacsLang.js"></script>' . "\n"; echo '<script type="text/javascript" src="script/jacs.js"></script>' . "\n"; echo '<script type="text/javascript"> function setLanguages(jacsLanguage) { // Set all calendars to the chosen language for (var i=0;i<JACS.cals().length;i++) { var jacsCal = document.getElementById(JACS.cals()[i]); jacsCal.language = jacsLanguage; jacsSetLanguage(jacsCal); // Refresh any static calendars so that the change shows immediately. if (!jacsCal.dynamic) JACS.show(jacsCal.ele,jacsCal.id,jacsCal.days); } }; window.onload = function() { JACS.make("jacs",true); setLanguages("' . $language . '"); if (document.getElementById("addtitle")) { document.getElementById("addtitle").focus(); document.getElementById("addtitle").select(); } }; </script>' . "\n"; break; case 'settings.php': echo '<script type="text/javascript">function check(){ var message; message = confirm("' . $l_cp_tools_purgecheck . '"); if (message) { this.location.href = "settings.php?delete=confirm"; } else { this.location.href = "settings.php"; } }</script>'; break; } }
public function getSearch() { //get keywords input for search $keyword = Input::get('q'); $keywords = Explode(' ', $keyword); $query = DB::table('events')->leftJoin('organizations', 'organizations.id', '=', 'events.org_id'); foreach ($keywords as $key => $value) { $query->orWhere('organizations.name', 'like', DB::raw("'%{$value}%'")); $query->orWhere('events.name', 'like', DB::raw("'%{$value}%'")); } //search that event in Database $events = $query->get(); // var_dump($events); //return display search result to user by using a view return View::make('event')->with('event', $events); }
function Bytes_Encode($Bytes) { /****************************************************************************/ $__args_types = array('string'); #----------------------------------------------------------------------------- $__args__ = Func_Get_Args(); eval(FUNCTION_INIT); /****************************************************************************/ $Result = ''; #----------------------------------------------------------------------------- foreach (Explode(' ', $Bytes) as $Byte) { $Result .= Chr(HexDec($Byte)); } #----------------------------------------------------------------------------- return $Result; }
function updateHtaccess($instance) { $reflectedClass = new ReflectionClass(get_class($instance)); $implPath = $reflectedClass->getParentClass()->getProperty("dirPath")->getValue($instance); $fileParts = Explode('/', $_SERVER["PHP_SELF"]); $scriptName = $fileParts[count($fileParts) - 1]; $fhandle = @fopen($implPath . "/.htaccess", "w"); if ($fhandle == null) { throw new MashapeException(sprintf(EXCEPTION_INVALID_PERMISSION, $implPath . "/.htaccess"), EXCEPTION_SYSTEM_ERROR_CODE); } fwrite($fhandle, "RewriteEngine On\n"); unset($fileParts[count($fileParts) - 1]); $basePath = count($fileParts) == 1 && empty($fileParts[0]) ? "/" : implode("/", $fileParts); fwrite($fhandle, "RewriteBase " . $basePath . "\n"); fwrite($fhandle, "RewriteRule ^(.*)\$ " . $scriptName . " [QSA,L]"); fclose($fhandle); }
function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) { $isValid = False; if (!empty($UserName)) { $arrUsers = Explode(",", $strUsers); $arrGroups = Explode(",", $strGroups); if (in_array($UserName, $arrUsers)) { $isValid = true; } if (in_array($UserGroup, $arrGroups)) { $isValid = true; } if ($strUsers == "" && false) { $isValid = true; } } return $isValid; }
function QueryMinecraft($IP, $Port = 25565, $Timeout = 2) { $Socket = Socket_Create(AF_INET, SOCK_STREAM, SOL_TCP); Socket_Set_Option($Socket, SOL_SOCKET, SO_SNDTIMEO, array('sec' => (int) $Timeout, 'usec' => 0)); if ($Socket === FALSE || @Socket_Connect($Socket, $IP, (int) $Port) === FALSE) { return FALSE; } Socket_Send($Socket, "þ", 1, 0); $Len = Socket_Recv($Socket, $Data, 256, 0); Socket_Close($Socket); if ($Len < 4 || $Data[0] != "ÿ") { return FALSE; } $Data = SubStr($Data, 3); $Data = iconv('UTF-16BE', 'UTF-8', $Data); $Data = Explode("§", $Data); return array('HostName' => SubStr($Data[0], 0, -1), 'Players' => isset($Data[1]) ? IntVal($Data[1]) : 0, 'MaxPlayers' => isset($Data[2]) ? IntVal($Data[2]) : 0); }
public static function getCORALURL() { $pageURL = 'http'; if (isset($_SERVER["HTTPS"]) and $_SERVER["HTTPS"] == "on") { $pageURL .= "s"; } $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"] . ":" . $_SERVER["SERVER_PORT"]; } else { $pageURL .= $_SERVER["SERVER_NAME"]; } $currentFile = $_SERVER["PHP_SELF"]; $parts = Explode('/', $currentFile); for ($i = 0; $i < count($parts) - 2; $i++) { $pageURL .= $parts[$i] . '/'; } return $pageURL; }
function DoInstall() { global $APPLICATION, $step; $curPhpVer = PhpVersion(); $arCurPhpVer = Explode(".", $curPhpVer); if (IntVal($arCurPhpVer[0]) < 5) { $this->errors = array(GetMessage("BIZPROC_PHP_L439", array("#VERS#" => $curPhpVer))); } elseif (!IsModuleInstalled("bizproc")) { $this->errors = array(GetMessage("BIZPROC_ERROR_BPM")); } elseif (!CBXFeatures::IsFeatureEditable("BizProc")) { $this->errors = array(GetMessage("BIZPROC_ERROR_EDITABLE")); } else { $this->InstallDB(false); $this->InstallFiles(); CBXFeatures::SetFeatureEnabled("BizProc", true); } $GLOBALS["errors"] = $this->errors; $APPLICATION->IncludeAdminFile(GetMessage("BIZPROC_INSTALL_TITLE"), $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/bizprocdesigner/install/step2.php"); }
function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) { $isValid = False; // CUANDO UN VISITANTE INICIA SESION, LA VARIABLE SESSION: MM_USERNAME TOMA EL VALOR DEL USERNAME // DE OTRA FORMA, CUANDO EL USUARIO NO ES ADMITIDO LA VARIABLE ESTARÁ EN BLANCO if (!empty($UserName)) { $arrUsers = Explode(",", $strUsers); $arrGroups = Explode(",", $strGroups); if (in_array($UserName, $arrUsers)) { $isValid = true; } if (in_array($UserGroup, $arrGroups)) { $isValid = true; } if ($strUsers == "" && false) { $isValid = true; } } return $isValid; }
/** * Вставляет HTML код * * Функция вставляет HTML код $HTML в тег которому ранне был присвоен свой ID - $Names * (при формировании инициализирующей строки и передачи ее в конструктор класса DOM или * при создании объекта класса Tag). Если $IsAfter = true, то $HTML вставляется в начало * списка тегов. * * @param string <идентификатор тега> * @param string <HTML код> * @param boolean <вставка в начало списка тегов> */ public function AddHTML($Names, $HTML, $IsAfter = FALSE) { /****************************************************************************/ $__args_types = array('string', 'string', 'boolean'); #----------------------------------------------------------------------------- $__args__ = Func_Get_Args(); eval(FUNCTION_INIT); /****************************************************************************/ $Names = Explode(',', $Names); #----------------------------------------------------------------------------- foreach (Array_Keys($this->Links) as $LinkID) { #--------------------------------------------------------------------------- foreach ($Names as $Name) { #------------------------------------------------------------------------- if (Preg_Match(SPrintF('/^%s(#[a-zA-Z0-9]+){0,1}$/', $Name), $LinkID)) { #----------------------------------------------------------------------- # Debug(SPrintF('[DOM->AddHTML]: добавление атрибутов по ссылке (%s -> %s)',$Name,$LinkID)); #----------------------------------------------------------------------- $Indexes = $this->Links[$LinkID]->AddHTML($HTML, $IsAfter); #----------------------------------------------------------------------- for ($i = 0; $i < Count($Indexes); $i++) { $this->Linking($Indexes[$i]); } } } } }
?> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include "fbegin.inc"; ?> <?php /* Data input processing */ $cmd = $_GET['cmd']; $cmd = str_replace("+", " ", $cmd); if ($cmd == "") { $cmd = "core show settings"; } $file = $_SERVER["SCRIPT_NAME"]; $break = Explode('/', $file); $pfile = $break[count($break) - 1]; ?> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <?php $tab_array = array(); $tab_array[0] = array(gettext("Commands"), true, "asterisk_cmd.php"); $tab_array[1] = array(gettext("Calls"), false, "asterisk_calls.php"); $tab_array[2] = array(gettext("Log"), false, "asterisk_log.php"); $tab_array[3] = array(gettext("Edit configuration"), false, "asterisk_edit_file.php"); display_top_tabs($tab_array); ?> </td> </tr>
This sample code uses Invoice PHP SDK to make API call */ ?> <html> <head> <title>PayPal Invoicing - SendInvoice Sample API Page</title> <link rel="stylesheet" type="text/css" href="sdk.css"/> <script type="text/javascript" src="sdk.js"></script> </head> <body> <img src="https://devtools-paypal.com/image/bdg_payments_by_pp_2line.png"> <h2>SendInvoice API Test Page</h2> <?php //get the current filename $currentFile = $_SERVER["SCRIPT_NAME"]; $parts = Explode('/', $currentFile); $currentFile = $parts[count($parts) - 1]; $_SESSION['curFile'] = $currentFile; if ($_SERVER['REQUEST_METHOD'] == 'POST') { /* * ##SendInvoiceRequest Use the SendInvoiceRequest message to send an invoice to a payer, and notify the payer of the pending invoice. The code for the language in which errors are returned, which must be en_US. */ $requestEnvelope = new RequestEnvelope("en_US"); /* * SendInvoiceRequest which takes mandatory params:
function getCurrentScriptFileName() { $break = Explode('/', $_SERVER["SCRIPT_NAME"]); return $break[count($break) - 1]; }
function InstallFiles() { global $APPLICATION; $arCurPhpVer = Explode(".", PhpVersion()); if (IntVal($arCurPhpVer[0]) < 5) return true; if($_ENV["COMPUTERNAME"]!='BX') { CopyDirFiles( $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/calendar/install/components", $_SERVER["DOCUMENT_ROOT"]."/bitrix/components", true, true ); CopyDirFiles( $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/calendar/install/admin", $_SERVER["DOCUMENT_ROOT"]."/bitrix/admin", true, true ); CopyDirFiles( $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/calendar/install/js", $_SERVER["DOCUMENT_ROOT"]."/bitrix/js", true, true ); CopyDirFiles( $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/calendar/install/images", $_SERVER["DOCUMENT_ROOT"]."/bitrix/images", true, true ); CopyDirFiles( $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/calendar/install/activities", $_SERVER["DOCUMENT_ROOT"]."/bitrix/activities", true, true ); } return true; }
private function _getAddress($addressNode, $id_customer, $type) { //alias is limited $type = Tools::substr($type, 0, 32); $id_address = (int) Db::getInstance()->getValue('SELECT `id_address` FROM `' . _DB_PREFIX_ . 'address` WHERE `id_customer` = ' . (int) $id_customer . ' AND `alias` = \'' . pSQL($type) . '\''); if ($id_address) { $address = new Address((int) $id_address); } else { $address = new Address(); } $customer = new Customer((int) $id_customer); $street1 = ''; $street2 = ''; $line2 = false; $streets = Explode(' ', (string) $addressNode->Street); foreach ($streets as $street) { if (Tools::strlen($street1) + Tools::strlen($street) + 1 < 32 && !$line2) { $street1 .= $street . ' '; } else { $line2 = true; $street2 .= $street . ' '; } } $lastname = (string) $addressNode->LastName; $firstname = (string) $addressNode->FirstName; $address->id_customer = (int) $id_customer; $address->id_country = (int) Country::getByIso(trim($addressNode->Country)); $address->alias = pSQL($type); $address->lastname = !empty($lastname) ? pSQL($lastname) : $customer->lastname; $address->firstname = !empty($firstname) ? pSQL($firstname) : $customer->firstname; $address->address1 = pSQL($street1); $address->address2 = pSQL($street2); $address->company = pSQL($addressNode->Company); $address->postcode = pSQL($addressNode->PostalCode); $address->city = pSQL($addressNode->Town); $address->phone = Tools::substr(pSQL($addressNode->Phone), 0, 16); $address->phone_mobile = Tools::substr(pSQL($addressNode->PhoneMobile), 0, 16); if ($id_address) { $address->update(); } else { $address->add(); } return $address->id; }
function QueryMinecraft($IP, $Port) { $Socket = Socket_Create(AF_INET, SOCK_STREAM, SOL_TCP); Socket_Set_Option($Socket, SOL_SOCKET, SO_SNDTIMEO, array('sec' => 2, 'usec' => 0)); Socket_Set_Option($Socket, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 2, 'usec' => 0)); if ($Socket === FALSE || @Socket_Connect($Socket, $IP, (int) $Port) === FALSE) { return FALSE; } Socket_Send($Socket, "�", 2, 0); $Len = Socket_Recv($Socket, $Data, 512, 0); Socket_Close($Socket); if ($Len < 4 || $Data[0] !== "�") { return FALSE; } $Data = SubStr($Data, 3); $Data = iconv('UTF-16BE', 'UTF-8', $Data); if ($Data[1] === "�" && $Data[2] === "1") { $Data = Explode("", $Data); return array('HostName' => $Data[3], 'Players' => IntVal($Data[4]), 'MaxPlayers' => IntVal($Data[5]), 'Protocol' => IntVal($Data[1]), 'Version' => $Data[2]); } $Data = Explode("�", $Data); return array('HostName' => SubStr($Data[0], 0, -1), 'Players' => isset($Data[1]) ? IntVal($Data[1]) : 0, 'MaxPlayers' => isset($Data[2]) ? IntVal($Data[2]) : 0, 'Protocol' => 0, 'Version' => '1.3'); }
if (!tep_session_is_registered('sppc_customer_group_id')) { $customer_group_id = '0'; } else { $customer_group_id = $sppc_customer_group_id; } // EOF Separate Pricing Per Customer ?> > <head> <?php require DIR_WS_INCLUDES . 'meta_tags.php'; //Page Name variable - places current php file name into a variable $page = $_SERVER["SCRIPT_NAME"]; $break = Explode('/', $page); $pfile = $break[count($break) - 1]; //echo $pfile; //debug code - displays current page name. // BOF: Remove & Prevent duplicate content with the canonical tag V1.3.2 CanonicalLink($xhtml = false, 'SSL'); // EOF: Remove & Prevent duplicate content with the canonical tag V1.3.2 ?> <title><?php echo META_TAG_TITLE; ?> </title> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?> "> <meta name="keywords" content="<?php