Date: 08/01/00
- Next message: Kartic Krishnamurthy: "[phplib] set_block() question.."
- Previous message: Ken: "[phplib] Can't use database, any ideas?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi there,
It seems that PHP escapes all the quotes (" becomes \") in all my templates.
has anyone come across this before? I tried playing with the magic_quote
settings in php.ini, but it doesn't seem to get me anywhere...
thanks,
Ex:
<!-- START: HEADER.TPL -->
<html>
<head>
<title>Test Page - {PAGE_TITLE} -</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.title { font-family: Verdana, Arial, Helvetica, sans-serif; font-size:
24pt; font-weight: normal}
.textb { font-family: Verdana, Arial, Helvetica, sans-serif; font-size:
10pt; font-style: italic}
.texto { font-family: Verdana, Arial, Helvetica, sans-serif; font-size:
12pt ; color: #FF6600; font-style: italic; font-weight: bold}
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<!-- END: HEADER.TPL -->
becomes:
<!-- START: HEADER.TPL -->
<html>
<head>
<title>Test Page - TEST -</title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">
<style type=\"text/css\">
<!--
.title { font-family: Verdana, Arial, Helvetica, sans-serif; font-size:
24pt; font-weight: normal}
.textb { font-family: Verdana, Arial, Helvetica, sans-serif; font-size:
10pt; font-style: italic}
.texto { font-family: Verdana, Arial, Helvetica, sans-serif; font-size:
12pt ; color: #FF6600; font-style: italic; font-weight: bold}
-->
</style>
</head>
<body bgcolor=\"#FFFFFF\">
<!-- END: HEADER.TPL -->
quite annoying :)
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Kartic Krishnamurthy: "[phplib] set_block() question.."
- Previous message: Ken: "[phplib] Can't use database, any ideas?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

