need php help
Is there any way I can pull a variable from another file without completely parsing/running/outputting the contents of that file?
Por ejemplo:
I have a file called variable_puller.php and a file called variable_holder.php. variable _puller needs to output the contents of $myVar, but NOTHING else. variable _holder.php contains the following:
<?
$myVar = "This is the variable content.";
?>
This text should NOT be displayed.
How do I get $myVar into variable_puller.php without displaying "This text should NOT be displayed." in the process????
Por ejemplo:
I have a file called variable_puller.php and a file called variable_holder.php. variable _puller needs to output the contents of $myVar, but NOTHING else. variable _holder.php contains the following:
<?
$myVar = "This is the variable content.";
?>
This text should NOT be displayed.
How do I get $myVar into variable_puller.php without displaying "This text should NOT be displayed." in the process????
Thread
Thread Starter
Forum
Replies
Last Post
mingster
Off-topic Talk
5
Apr 11, 2001 09:26 PM





