I had the same thing just two days ago. This is what happend:

I have some code using include files in this way:

1 <?php
2
3 // some php code
4 include("xlib.inc");
5 // some php code
6
7 ?>

The include file looks like

1 <?php
2 // some code
3 ?>

The problem was in line 3 of the include file. If there is a line feed 
behind ?> , the code does not work -> gives a blank page just like yours.
Removing that linefeed solved my problem.

I did not yet figure out why this happend. It has someting to do with 
html headers being send. The line feed behind ?> is considered HTML 
output, so headers are send at that point. Somehow the rest of the 
PHP-code gets lost.

Anyway... with a little luck this could be of any help to you.

Good luck

René





Angel Gabriel wrote:

>... I've got PHP working, on my server, I know this because I used that
>small PHP script that shows all the variables, and that worked fine. The
>problem seems to be that every other script shows me a blank pages. I'm
>using redhat 7.3,  and I installed PHP, MySQL and Apache from RPM's and they
>are all up2date - I have no idea what I could have missed. Has anyone else
>encountered a similar problem, and if so, how did you remedy it? I have
>followed the install instructions to the letter, and I can't seem to find
>what the problem is. Any suggestions, hints or tips, greatfully recieved!
>Thanks in advance.
>
>***
>Not everyone is touched by an Angel......and those that are, never forget
>the experience.
>***
>If you want guest list for bare club
>nights.....http://raw-talent.hopto.org/mailman/clubnights
>***
>Can you sing, dance, MC, DJ, do you have talent?Send an email to
>[EMAIL PROTECTED]
>***
>
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.404 / Virus Database: 228 - Release Date: 10/15/2002
>
>
>
>  
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to