July 15, 2005

Show/Hide Commie -- HTML or PHP?

Uh oh. Watch out. It's Kyer again.

I want to make my comments extendable. I noticed in the Thingys and Doodads section there are two helpful posts for this.

However, I don't know the difference between HTML and PHP. ::winces at noviceness::

First, what IS the diff, and second, how do I find out which uh.. "version" site I have?

I remember a while back somebody here in the Family (or maybe it was the strange drifter that handed me these scratch n sniff stickers that make me...)

::collapses:: ***

ok, I'm back now. Someone told me to input:

[?php ob_start("ob_gzhandler"); ?]

(it has "<";s on both side, not brackets)

at the top of my main index template. What does that do?

ALSO ---- In implementing the Entendable POST code, it says to implement the code in the HEAD section of "every page you want to utilize the script"....other than in the Main Index, where else would I put it???

Posted by Kyer at July 15, 2005 09:44 PM | TrackBack

PHP is the way to go as you can use all kinds of other cool toys with PHP.

If you go into the templates and look at the output file name for your main index, it will read main.php if you are running php. If not, it will read .html.

Instructions for changing over to php are here:

If that makes your brain explodey, let me know and I can set it up for you :)

Posted by Gir at July 15, 2005 10:42 PM

Oh, and as for the extended entry script...Some people put in their archive templates. This also works for the show comments here script.

Posted by Gir at July 15, 2005 10:44 PM

You're set up with PHP, Kyer.

That gzhandler is a compressor (decompressor? precompressor? whateverthehellitis) and it helps save the server some work. It's good to have in there because saving load on the server is very good.

Might speed up graphics loading too, but I'm not completely sure about that.

Posted by Jim at July 16, 2005 01:41 AM
Live Comment Preview
Post a comment

Remember personal info?