To my knowledge you can include as many files as you want.
If by commenting out the clean() function, I'd say you have a syntax error
in that function and you're just not seeing the error message. Turn on
full error reporting and see what happens.
On Thu, 3 Oct 2002, Matias Silva wrote:
> This might sound like a dumb question but I just need verification so that
> I can convince myself that I'm going insane!
> I have this error in which I include 3 files (common_html.inc,
> common_db.inc, common_functions.inc)
> well I have a clean() function in the common_functions.inc file. But it
> seems that it is not getting called
> and then my script crashes. If I comment out the clean() function then it
> works. The clean() function
> is just for added security.
> Is there a maximum number of times you can include different files?
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php