You are here: php5.0.5 strips my css..? « PHP Programming Language « IT news, forums, messages
php5.0.5 strips my css..?

Posted by Kyndig on 11/21/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'

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация