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 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 Link to comment https://forums.phpfreaks.com/topic/290614-not-supporting/#findComment-1488700 Share on other sites More sharing options...
Ch0cu3r Posted August 23, 2014 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. 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 Link to comment https://forums.phpfreaks.com/topic/290614-not-supporting/#findComment-1488707 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.