RE: [PHP] [PHP-GENERAL] Serving docs from PHP
| From: | Alex James | Date: | Tue, 28 Oct 2003 13:11:50 +0000 |
| Subject: | RE: [PHP] [PHP-GENERAL] Serving docs from PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-167864@lists.php.net to get a copy of this message | ||
John Nichel wrote:
> Your php page has a link to the word document like this....
> <a href="word.doc">My Document</a>?
> Show some code.
Sorry
Here is the link in menu6.php
<h3><a href="index.php?m=6">PK PATTERNS</a></h3>
<a href="index.php?m=6&c=pkPatterns/MicroModel.doc">Micro models</a>
<a href="index.php?m=6&c=pkPatterns/test.html">Test</a>
and getting called in here in index.php
<?php
$c = $_GET["c"];
if ($c != "") {
include($c);
} else {
include("content1.php");
}
?>
Thanks
Alex James