How to make your web hosting understand <? as <?php

Chris Worner

Well-known member
Registered
Joined
Apr 15, 2016
Messages
612
Points
28
I am using PHP 5.6 and in my PHP code (from a PHP deveoper) he wrote <? instead of <?php hence some codes didn't work until I changed <? to <?php

for examples: <? include ROOT."templates".DS."left-menu.php" ?>

changed to

<?php include ROOT."tmpl".DS."left-menu.php" ?>

What configs to do to correct this on my web hosting?
 
Latest Threads
Replies
0
Views
80
Replies
1
Views
204
Replies
0
Views
38
Replies
0
Views
46
Replies
1
Views
156
Recommended Threads
Replies
0
Views
2,447
Replies
2
Views
3,658
Replies
0
Views
3,059

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top