oscommerce - PHP named constant prints/concats as the variable name, not value -
i have old oscommerce site php4, running on php5. named constants defined define()
being evaluated incorrectly:
$string = '<a href="http://www.oscommerce.com" target="_blank">' . box_entry_support_site . '</a><br>';
will show box_entry_support_site
, not value placed in box_entry_support_site
.
something needs changed in php.ini
?
i never ran problem when putting oscommerce sites on php5 php4.
most probably, define isn't being define()
'd correctly. default behaviour (with error reporting relaxed) show constant when isn't found.
Comments
Post a Comment