Hello.
I was read PHP manual, but i'm not sure yet. Here is my meta tags in html:
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2">
<META HTTP-EQUIV="Expires" CONTENT="0">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-store, no-cache,
must-revalidate, max-age=0, post-check=0, pre-check=0">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META NAME="title" CONTENT="test">
<META NAME="descripti on" CONTENT="Test description.">
<META NAME="keywords" CONTENT="a b c">
<META NAME="robots" CONTENT="All">
<META NAME="copyright " CONTENT="x y z ">
<META NAME="author" content="x y z">
and here is in PHP:
// META TAGS CONFIGURATION
// Cache deactivate
header("Expires : Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always
modified
// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
// HTTP/1.0
header("Pragma: no-cache");
header("Content-Type: text/html;charset=IS O-8859-2">;
header("Title: test");
header("Content-Description: Test description.");
header("Keyword s: a b c");
header("Robots: All");
header("Copyrig ht: xyz");
header("Author: xyz");
Is PHP code correct?
Any suggestions appreciated.
Greets,
Cezary.
I was read PHP manual, but i'm not sure yet. Here is my meta tags in html:
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2">
<META HTTP-EQUIV="Expires" CONTENT="0">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-store, no-cache,
must-revalidate, max-age=0, post-check=0, pre-check=0">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META NAME="title" CONTENT="test">
<META NAME="descripti on" CONTENT="Test description.">
<META NAME="keywords" CONTENT="a b c">
<META NAME="robots" CONTENT="All">
<META NAME="copyright " CONTENT="x y z ">
<META NAME="author" content="x y z">
and here is in PHP:
// META TAGS CONFIGURATION
// Cache deactivate
header("Expires : Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always
modified
// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
// HTTP/1.0
header("Pragma: no-cache");
header("Content-Type: text/html;charset=IS O-8859-2">;
header("Title: test");
header("Content-Description: Test description.");
header("Keyword s: a b c");
header("Robots: All");
header("Copyrig ht: xyz");
header("Author: xyz");
Is PHP code correct?
Any suggestions appreciated.
Greets,
Cezary.
Comment