[HELP] problem with image path

yo guys, I have a little problem with PHP…actually the problem is made only by one dot and slash ./
I want to make image for every user on my forum with info like post number, reputation, rank, avatar… so that my users can use it on other sites with dynamic information

My avatar upload path is set with this line

[php]$settings[‘avataruploadpath’] = “./images/avatars”;[/php] and avatar on doesn’t show on picture…if i remove ./ avatars shows perfectly on image but upload feature on my forum doesn’t work (user cannot change avatar)…

can you help me somehow solve this problem

here is code that generates the image http://pastebin.com/bjgQxDaF

Sponsor our Newsletter | Privacy Policy | Terms of Service