Re: include and PWS

From: Date: Thu, 29 Jun 2000 03:16:14 +0000
Subject: Re: include and PWS
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-3728@lists.php.net to get a copy of this message
On 28 Jun, Jared Walker wrote: > Hey, > > I only have one machine right now... (this really bites), so I'm using php > on personal web server. My problem is this: > > Preprocessing directives like: > <!-- #include file="myfile" --> > > appear not to be parsed before the file is passed to the php dll for > scripting. > Is this the case because of the ghetto web server I'm using.. or is there > something else I'm over looking? > > -Jared "Igjarjuk" Walker > "Life should come with reference drivers." You can't expect to use server side includes and have your file parsed by something else; you'll need t ouse on or the other. Try using PHP's include() or require() to get round the problem. Cheers -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#3728) next »