Page 1 of 1

Hi, i lost some scripts...

Posted: Fri Oct 17, 2003 2:16 pm
by Darkre1gn
Hey, i just registered. :)

I want to make a site that i won't have to update constantly everytime i edit something in the navigation box.
What i mean: i used to have a script that enabled me to have 1 index.php file in it would be the navigation box & the banner of my website, the file it would include depended on the page the user was trying to view.

Do any of you use/have/know how to make a script like that?

And also, i wanted to make a news page that would use the topic's title as the news title and the topic's first message as the new's content. But unfortunetly i lost that script too.

Do any of you use/have/know how to make a script like that?

(excuse my english, english isn't my motherlanguage :P)

Posted: Sat Oct 18, 2003 3:44 am
by Darkre1gn
So i should make all my .html pages to .php pages and add at the top something like:

<html>
<head>
<title>hi/title>
</head>
<body>
<?php

include 'index.php'
?>

(blabla, content, blabla)
</body>
</html>

And also, the news script was for yabbse, i believe it was almost the same as the one above... anyone?

btw. i'm dutch. ;)