Not using code highlighters for the lose. :P At any rate, if it's not working on the host, make a simple script that contains:Originally posted here by HTRegz
Hey Hey,
So this morning when I came in, I took chsh's posted code and just pasted it directly in.... Still just got the white screen... It was driving me nuts, so I took it over to one of my personal services and ran it.... Success... I got an error message displayed. The missing ) that catch had pointed out was still missing in chsh's repost and it gave me a parse error.... I fixed it and it worked...
If it doesn't output, then PHP is not working, and it's something related to the host. Additionally, you might get some good information about the host version and such.Code:<?php echo phpinfo(); ?>
Once you know what version, you might want to try adding a line that reads:
to the top of your existing code (first line before even the include). If it's working, that should cause PHP to throw errors up on the output. You can set a few directives at runtime, the list is at:Code:ini_set('display_errors', 1);
http://ca3.php.net/manual/en/ini.php#ini.list
Normally you want it disabled for enumeration prevention reasons.




Reply With Quote