Do you Guys/Gals know how to send the values of a variable to the Visitor's
Browser through the PHP Interpreter.
I have a code that says :
<script language="php">
//First part of HTML
$file_pointer=fopen('skeleton_part_one.php','r');
$out_stream=fpassthru($file_pointer);
//Fetching the Content Section of this page
$file_pointer=fopen('welcome.php','r');
$out_stream.=fpassthru($file_pointer);
//Second part of HTML
//$file_pointer=fopen('skeleton_part_two.php','r');
//$out_stream.=fpassthru($file_pointer);
echo $out_stream;
</script>
Now "echo" command sends the output to browser without processing it through
the PHP Interpreter, code that is in the variable is a set of php scripts
that are required to be processed by the interpreter before actually getting
dispatched to the visitor.
Regards,
Ashish
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]