homer.j.simpson
07-03-2006, 10:47 AM
I'm quite new to hosting and facing a problem in hosting php script. I don't get it why a simple testing script which is working fine on my computer running IIS 5.1, getting parse error messge.
I'm using free service from www.freehostia.com
Test Script
<?php
class abc{
private $gen;
private $den;
}
print "hello";
?>
ERROR
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/www/jacbri.freehostia.com/index.php on line 3
I'm using free service from www.freehostia.com
Test Script
<?php
class abc{
private $gen;
private $den;
}
print "hello";
?>
ERROR
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/www/jacbri.freehostia.com/index.php on line 3