Hi again, Disregard the last post, i found the problem....the variable was being overwritten by another one below.... Cheers, -Ryan
On 4/13/2004 1:50:07 AM, Ryan A ([EMAIL PROTECTED]) wrote: > Hi, > I created a "control panel" for a client, he wanted the option of > changing > the template as whenever he pleases. > Since he knows HTML I made it very simple by adding a header and a footer. > > > He simple fills in 2 variables in Config.php: > $client_header > $client_footer > > In my scripts I am calling it like this: > <?php > include "../Config.php"; > include "$client_header"; > ?> > > but it gives me this error: > Warning: main() [function.main]: Failed opening '' for inclusion > (include_path='.;C:/php/includes;C:/php/php/class') in > c:\php\www\project14342\client\index.php on line 3 > > Running tests I see taht Config.php IS getting included... > > Any ideas? > > Thanks, > -Ryan > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php