Posted by Kyndig on 10/02/35 11:28
This is 'weird'. I'm trying to port my project to php5 so I can get
tidy support in php [ unless someone knows of a better method for
stripping out in-line javascript: onmouseover, onmouseout, etc from
user posts ..not interested in bbtag style usage ], and its stripping
out my CSS _after_ I do a page reload and each page after that. The
first page visit once the webserver is started outputs correctly. Every
page visit after that strips my css. *boggle*
restart webserver and visit page:
Example from the source of one of my pages:
restart webserver and visit page:
============================================================
<link rel="SHORTCUT ICON" href="/favicon.ico" />
<style type="text/css"><!--
BODY {
font-size: 13px;
}
TD{
font-size: 13px;
}
..bigtitle{
font-size: 105%;
font-weight: bold;
}
hit reload:
=========================
<link rel="SHORTCUT ICON" href="/favicon.ico" />
<style type="text/css"><!--
BODY
TD
..bigtitle
..smallfont
==========================
All my: { data.... } is gone..??
I recompiled php5 without tidy, have changed inumerous settings in
php.ini trying to figure out what the cause is. Here is my configure;
any help is greatly appreciated:
====================configured with =================
Configure Command './configure' '--with-apxs2' '--with-mysql=/usr'
'--enable-sockets' '--enable-gd-native-ttf' '--with-gd' '--with-ttf'
'--with-jpeg-dir' '--with-png-dir' '--with-freetype-dir'
'--with-zlib-dir' '--with-kerberos' '--with-imap-ssl' '-with-openssl'
'--with-xmlrpc' '--enable-inline-optimization' '--disable-debug'
'--enable-exif' '--with-imap'
[Back to original message]
|