|  | Posted by Alan Silver on 06/13/40 12:00 
In article <na0165-9lc.ln1@ophelia.g5n.co.uk>, Toby A Inkster <usenet200712@tobyinkster.co.uk> writes
 >Paul Lautman wrote:
 >
 >> Anyway, your problem is that <? is what is called a "short open tag" and
 >> in the more recent releases of php their use is disabled by default.
 >>
 >> So instead of <?=$CFG_db_user?> use <?php echo $CFG_db_user;?>
 >
 >Or (less work for you) find php.ini and switch the short open tag option
 >on.
 
 Thanks to both of you for your help. I tried changing php.ini and the
 pages worked fine.
 
 If I went through all the .php files in this collection and did a global
 find and replace for "<?" to "<?php" would that do the trick, or is
 there likely to be anything that might get thrown out by this? Obviously
 I would have to check that they hadn't used any <?php tags, as this
 change would result in <?phpphp which would probably cause even more
 problems!
 
 Thanks again
 
 --
 Alan Silver
 (anything added below this line is nothing to do with me)
  Navigation: [Reply to this message] |