View Full Version : NewsPHP v200


Jasper
06-02-2003, 07:39 PM
I installed it and everything. I'm able to post, and everything. Everything is working fine. But there is ONE problem. How do I make the messages appear on my site?

any help?
thanks,
jasper

alkaline39
06-03-2003, 05:31 AM
This is what it said in the readme


----------------------------------------
7) GETTING THE NEWS ONTO YOUR WEB SITE
----------------------------------------

There are two ways of doing this, using
PHP or SSI. If you pages are already
PHP files then use the PHP way. If they
are .shtml or .shtm then use the SSI
method.

PHP Method:
<?php include ("nphp/news.txt"); ?>

SSI Method:
<!-- #include file="nphp/news.txt" -->

If your pages are just .html then you will
need to rename them and use the correct
method. I reccommend renaming to .PHP and
using the PHP method.

PHP method only works with .PHP extensions,
SSI only works with .SHTML, .SHTM extensions.

Jasper
06-03-2003, 02:17 PM
it didn't say that in my help file... well, thanks anyway!

Jasper
06-03-2003, 06:24 PM
Wait, can I do my coding in HTML, put that little PHP thing in it, save it as a .php and everything would work fine. Or should I use the SHTML, do all my coding in HTML and use that little SSI code?