Not supporting

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 :frowning:

so i am kindly requesting you to help me :frowning:

Output like that usually means that you have exited php in the code so now it just prints the code to the screen as if it was normal text. Without your relevant code we can’t say much more than that. Post your code and tell us which line this text is being shown from.

here you go

[php]function win_uni($s)
{
$s = convert_cyr_string($s,‘w’,‘i’);
for ($result=’’, $i=0; $i<strlen($s); $i++)
{
$charcode = ord($s[$i]);
$result .= ($charcode>175)?"&#".(1040+($charcode-176)).";":$s[$i];
}
return $result;
} [/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service