PHP Code at Top of Page

Hi guys,

I'm attempting to move a zenphoto installation. I've run setup again and at the top of each page now is the following PHP code:

`k]; ksort($filters); $c = 0; foreach ( (array) array_keys($filters) as $priority ) { foreach ($filters[$priority] as $filter=>$data) { if ( $filter == $idx ) { return $c; } $c++; } } return false; } ?>`

It was also present in the setup page and doesn't appear to be in the index.php.

Any light on this would be much appreciate.

Cheers.

Comments

  • The code is from the `functions-filter.php` script. But the only way I can think of that it could actually show up on a page is if there has been some corruption of the file.
  • That was exactly the issue, sbillard. I re-uploaded the file and now all is well!

    Thank you very much.
Sign In or Register to comment.