febeeh Posted August 23, 2014 Share Posted August 23, 2014 Hi, For a long time, i am working with php image[imagettftext()]. I installed all requirments to work this, free type, gd, php n all. Now the problem is some code of script wont support. i dont know what all requirments needed to be fixed. When i went to php file, it shows 175)?"".(1040+($charcode-176)).";":$s[$i]; } return $result; } ?> link: http://92.222.129.112/ads.php the image wont show and for image, it showing thos codes so i am kindly requesting you to help me when i put this script on a webhost, it work pefect but not in vps Quote Link to comment https://forums.phpfreaks.com/topic/290614-not-supporting/ Share on other sites More sharing options...
QuickOldCar Posted August 23, 2014 Share Posted August 23, 2014 It's hard to tell from that small snippet of code. Try posting the full code here. Is your script using <?php tags and not <? short tags Quote Link to comment https://forums.phpfreaks.com/topic/290614-not-supporting/#findComment-1488700 Share on other sites More sharing options...
Solution Ch0cu3r Posted August 23, 2014 Solution Share Posted August 23, 2014 t work pefect but not in vps If you are seeing the PHP code then you appear to of not configured your server correctly. Or you're using short tags in your code (<? ?>) and not the full PHP tags (<?php ?>). I advise you to always use the full php tag syntax. Short tags are only supported if the short_open_tag directive is enabled in the configuration. Quote Link to comment https://forums.phpfreaks.com/topic/290614-not-supporting/#findComment-1488702 Share on other sites More sharing options...
febeeh Posted August 23, 2014 Author Share Posted August 23, 2014 If you are seeing the PHP code then you appear to of not configured your server correctly. Or you're using short tags in your code (<? ?>) and not the full PHP tags (<?php ?>). I advise you to always use the full php tag syntax. Short tags are only supported if the short_open_tag directive is enabled in the configuration. thank you very much i used <? ?> when i used <?php ?> it work perfectly Quote Link to comment https://forums.phpfreaks.com/topic/290614-not-supporting/#findComment-1488707 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.