PHP on top of each page

Ton

No avatar

2005-12-02 15:06

On top of each page the following php code is showed:

$aFile = file( $this->fileName ); $iCount = count( $aFile ); $this->openFile( 'w' ); for( $i = 0; $i < $iCount; $i++ ){ if( $i > $iStart ){ $aExp = explode( '$', $aFile[$i] ); if( $aExp[$iPosition] == $mValue ){ $aFile[$i] = $this->txt; $bFound = true; } } fwrite( $this->rFile, $aFile[$i] ); } // end for $this->closeFile( ); unset( $this->row ); unset( $this->string ); return $bFound; } // end function changeInFile }; ?>

Looks like there is a missing <?php-tag somewhere, but I can't figure out in which file.

Ton

No avatar

2005-12-04 17:54

Solved: Probably corrupt files

Back to top
about us | contact