I have a page set up that loads the contents of a text file into an HTML
template using PHP. (i.e. something.com/page.php?include=1 where "1" is a
simple no-extension text file in the same directoy as page.php). Is there a
way to modify the PHP code in the template page to search for the included
page in another directory? Right now, the only way to do it is to have the
URL as "page.php?include=files/1".

Currently, here is the code I use to takes the $include URL variable and
makes the file accessible in the template:

$info = file($include);

Kyrie Eleison,

Outgoing mail is certified Virus Free because I care. Jesus Saves!
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.391 / Virus Database: 222 - Release Date: 9/19/02

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to