include.asp
Código PHP:
<%
Dim rs_config_inc
Dim rs_config_inc_numRows
Set rs_config_inc = Server.CreateObject("ADODB.Recordset")
rs_config_inc.ActiveConnection = MM_amoga_STRING
rs_config_inc.Source = "SELECT * FROM config_inc"
rs_config_inc.CursorType = 0
rs_config_inc.CursorLocation = 2
rs_config_inc.LockType = 1
rs_config_inc.Open()
rs_config_inc_numRows = 0
%>
<meta name="Description" content="<%=(rs_config_inc.Fields.Item("descripcio").Value)%>" />
<meta name="Keywords" content="<%=(rs_config_inc.Fields.Item("paraules_clau").Value)%>" />
<meta name="Author" content="<%=(rs_config_inc.Fields.Item("autor").Value)%>" />
<meta name="Copyright" content="Copyright (c) <%=(rs_config_inc.Fields.Item("copyright").Value)%>" />
<meta http-equiv="Content-Language" content="<%=(rs_config_inc.Fields.Item("language").Value)%>" />
<meta name="Subject" content="<%=(rs_config_inc.Fields.Item("subject").Value)%>" />
<meta name="Revisit" content="1 day" />
<%
'rs_config_inc.Close()
'Set rs_config_inc = Nothing
%>
Código PHP:
...
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!--#include file="includes/metas.inc.asp" -->
<title>titulo por cada pagina - <%=(rs_config_inc.Fields.Item("titol_general").Value)%></title>
<link href="css/reset.css" rel="stylesheet" type="text/css" />
...