Toon posts:

[Php] Newsscript vraagje....... (newsPHP v200)

Pagina: 1
Acties:
  • 44 views sinds 30-01-2008

Verwijderd

Topicstarter
Ik heb dus net een newsscript gedownned en geinstalled op mijn webserver.........Acounts aangemaakt om te posten en dingen gepost...Nu kon ik die link niet vinden waar ik de geposte dingen mee kon laten weergeven... Hier kon ik het volgende van vinden in een txt maar ik snap het niet...

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.

Verwijderd

te weinig info.
Zit der geen readme bij ??

  • MikeN
  • Registratie: April 2001
  • Laatst online: 09-09 14:39
http://www.nphp.net/forum/viewforum.php?f=3

Misschien handig om het daar te vragen, daar zullen ze er wel meer van weten...

Verwijderd

Topicstarter
Ik snap dus niet wat ik hier meet moet
PHP Method:
<?php include ("nphp/news.txt"); ?>

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


Readme............


Category: Displaying Output
Created: 11/02/2002 10:30 AM
Last Updated: 11/02/2002 10:30 AM

How do I display the news on my 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.

  • MikeN
  • Registratie: April 2001
  • Laatst online: 09-09 14:39
Als je nou gewoon leest wat er staat. Er zijn twee manieren om de inhoud weer te geven in je pagina. Via PHP en via shtml. 1 van deze zal moeten worden ondersteund op je server. Hernoem het bestand waar je het script in wil weergeven naar de juiste extentie (.php of .shtml) en plak 1 van die regels erin. Klaar!

  • ACM
  • Registratie: Januari 2000
  • Niet online

ACM

Software Architect

Werkt hier

KWestie van de readme (begrijpend) lezen...
Pagina: 1

Dit topic is gesloten.