annama
09-15-2005, 02:39 PM
I'm sort of a newbie to both CF.com and PHP, but after reading this article in ALA (http://alistapart.com/articles/phpcms) got inspired to use the code to manage the content on my website.
Now, my problem is that while the code (see below) works just fine on one server, it does not on another (the one I am using after testing).
It seems that the problem line would be the following:
<a href="template.php?page=kontakt">
which refers to this code in the file template.php:
<div class="innhold">
<?php @ require_once ("$page.php"); ?>
</div>
The file "kontakt.php" simply does not show up, even though it should (?).
Does anyone know what is causing my problems?
I would be so grateful, this is really causing me some headache!!
//annama
Now, my problem is that while the code (see below) works just fine on one server, it does not on another (the one I am using after testing).
It seems that the problem line would be the following:
<a href="template.php?page=kontakt">
which refers to this code in the file template.php:
<div class="innhold">
<?php @ require_once ("$page.php"); ?>
</div>
The file "kontakt.php" simply does not show up, even though it should (?).
Does anyone know what is causing my problems?
I would be so grateful, this is really causing me some headache!!
//annama