Hi!
Im trying to port my php application
from :
linux- apache 1.3.26 - PHP 4.1.2
to:
windows server 2003 - iis 6 - PHP 4.3.6
When I run the code I get an "Fatal Error: cannot redeclare class....
when I include a classfile I allways use require_once... plus I never got this problem on the apache.
I solved the problem by putting
if(!class_exists('c_adress')){
class c_adress{
.....
.....
}
}
The problem in though that this server is a backupserver... so I dont want to change the code to make it work.
Ive been looking everywhere for an answer but I cant find anybody whos been having the same problem. Is there anyone out there who can help me?
//Kenji