RE: [PHP] include opens source, but it shouldn't

From: Date: Thu, 15 Aug 2002 17:37:25 +0000
Subject: RE: [PHP] include opens source, but it shouldn't
Groups: php.general 
Request: Send a blank email to php-general+get-112817@lists.php.net to get a copy of this message
> From: Jay Blanchard [mailto:jay.blanchard@niicommunications.com] > Sent: Thursday, August 15, 2002 1:19 PM > To: Har@ld-Mohring.de > Subject: RE: [PHP] include opens source, but it shouldn't > > > [snip] > Only on demand. > I'd like to define the variable without showing the file > > > $var=include(); > > do something else > > echo $var; > [/snip] Harold, is this what you're looking for: $var = readf('file.html');

« previous php.general (#112817) next »