I have a CodeIgniter app that works on one server (IIS 6) just fine. I’m moving it to a new server (IIS 7) and I’m having a strange problem. I’m using a IPTC script as an auto-loaded model. When I try to visit the app, I see this, which is contents of the iptc.php file:

When I view the PHP file, this is what the code looks like:
class Iptc extends Model {
var $meta=Array();
var $hasmeta=false;
var $file=false;
function Iptc($filename = false) {
parent::Model();
$size = @getimagesize($filename,$info);
$this->hasmeta = isset($info["APP13"]);
if($this->hasmeta)
$this->meta = iptcparse ($info["APP13"]);
$this->file = $filename;
}
So I’m now wondering why when the page loads, you see “hasmeta = isset…” instead of $this->hasmeta. Would that mean there’s something wrong with $this?
Ack, I figured it out. The iptc.php file uses the PHP short tag