PDA

View Full Version : Anyone tried a HTML BLOG in php



Antonio
March 10th, 2006, 22:13
I mean pages are all in .html not apache rewrite.
I tried S9Y but it seems not work.

stuffradio
March 10th, 2006, 22:19
Ummm.... how do you do that? lol HTML is incompatible with PHP but PHP is compatible with HTML... so I don't really know how that can even work

kaihao96
March 10th, 2006, 23:11
Nope , It won't work. Maybe .phtml can? Not sure

Richard
March 11th, 2006, 05:15
Yeah, you sure as hell can. The only problem would be the adding of the comments, you would have to do it all in javascript.

Antonio
March 11th, 2006, 07:57
comments would be a problem but I'd like to get a blog need less server resouce

Richard
March 11th, 2006, 08:04
You could use javascript (no SQL, store all data in text files, users may be a problem) or you could just generate the HTML code (via php/javascript) every time a comment is added.

Antonio
March 11th, 2006, 08:16
Generating HTML page when comments added need more server resouce, I feel.

Richard
March 11th, 2006, 08:21
But PHP generates the HTML every view when it's just a PHP based page. Trust me, the server resouce useage would be much lower when only generating it when a comment is added, as you only need to create the page every other minute (per example) rather than every second.

Brandon
March 11th, 2006, 10:03
http://daverave.64digits.com/index.php?page=simplog
That Script's ok, but, it is vunerable to hacking....

Antonio
March 11th, 2006, 10:28
Security is more important.
BTW the simplog is only 36 kb?

Brandon
March 11th, 2006, 10:31
Security is more important.
BTW the simplog is only 36 kb?
Yeah...
I didn't make that though.

Antonio
March 11th, 2006, 10:36
I think I'd stay with wordpress

stuffradio
March 11th, 2006, 13:50
You can wait for my blog to be done. :D not many resources being used there.Although it is done in PHP/MySQL and I hope to add AJAX. Also storing comments in a text file is not secure at all... just thought I'd let you know.