Re: Making sure an include file works

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



1.  My host does not allow command line access and has disabled shell
execution of PHP;

2.  Error reporting has been turned off and I can't seem to turn that on
with ini_set or error_reporting (which is fun when I have minor syntax
errors to fix); and

3.  My host is also stuck in PHP 4.3, so the check_syntax function isn't
available to me either (although I understand that this function has been
deprecated in the most recent builds of PHP).

To be quite honest, your host sounds like it sucks donkey dick. Get another if you can.

At this point, I'll just use file_exists and is_readable for some basic
checking, and hope that the included files have no syntax errors.

Hoping something works leads you down the path of severely broken code.

--
Richard Heyes
Employ me:
http://www.phpguru.org/cv

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux