Hi All,

I have a registration page that hasn't changed in several weeks.  Today
it decided to freak-out by throwing an error;
'Cannot redeclare myfunctionname() on line 10 of myfunctions.inc'

Nothing has changed in either the calling page, or the function.  The
only thing that has changed since these files were put into production
is the upgrade on php to 5.

I've looked through the release notes and found nothing.  I looked
through the manual and found nothing that I can really put my finger on.
I was able to correct the problem with changing the 'include()' to
'include_once()', but I really want to know why this happened and why it
didn't throw that error until now.


alex hogan

 

*************************************************************************************
The contents of this e-mail and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom it is addressed. The 
views stated herein do not necessarily represent the view of the company. If you are 
not the intended recipient of this e-mail you may not copy, forward, disclose, or 
otherwise use it or any part of it in any form whatsoever. If you have received this 
e-mail in error please e-mail the sender. 
*************************************************************************************

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

Reply via email to