[PHPLIB] Install 80% done::Problem with phpinfo() and prepend From: Patrick McGilloway (patmcg <email protected>)
Date: 03/30/00

Hello all,

Thanks for offering such a great discussion group, but I haven’t seen this problem pop up::

Why doesn’t phpinfo() return data when using it with prepend.php3? A blank page is displayed. phpinfo();works without prepending (I prepend as an include)and prepend and associated classes (auth, mssql, sess etc.) all work.
The behavior is that if phpinfo() exists on any prepended page, all I get is header info no matter what html I include as a script:

Here are code samples:
THIS returns bank page

<?php_track_vars?>
<?php
 include("../php/prepend.php3");
  page_open(array("sess" => "Example_Session"));
 ?>Hello
<?php
  page_close(); ?>
<?php echo "patrick";?>
<?php phpinfo();?>

This returns data as expected:
<?php_track_vars?>
Hello
<?php echo "patrick";?>
<?php phpinfo();?>

Any thoughts?

Patrick G. McGilloway

Turn off the computer and go outside.

______________________________________________________________________
Get Visto.com! Private groups, event calendars, email, and much more.
Visto.com. Life on the Dot.
Check it out @ http://www.visto.com/info

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.