Short tags?
-
Will the code work with short tags i.e.?
<?
echo file_get_contents( “http://www…..”);
?>I have moved to a new host and it seems that I can only use short tags for PHP.
For e.g.
<?
$path = getcwd();
?>
will work on a simple PHP page but
<?php
$path = getcwd();
?>
won’t display anything.
- The topic ‘Short tags?’ is closed to new replies.