NYCPHP Meetup

NYPHP.org

[nycphp-talk] parse file, return as string

Daniel Convissor danielc at analysisandsolutions.com
Thu Aug 19 14:27:06 EDT 2004


On Thu, Aug 19, 2004 at 02:12:23PM -0400, Fan, Wellington wrote:
> Thanks, all for the input. Sounds like too much work for what I plan to do
> with it. Gonna stick with my original code.

What's hard about what Scott said?  Here's an example...

---- test.inc ----
<?php
$a = 5;
return $a;

---- test.php ----
<?php
$y = require_once './test.inc';
echo $y;


--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409



More information about the talk mailing list