I don't know what happened really, but it started working now atleast 🙂
I got another question now. I have a script which controls a webpage and from that page I want to include a file with <img src> that is called graph.php which contains the instruction to draw the bar charts, it works almost...
I need to send some variables (one array, two integers) when drawing the image, anyone know how to solve this?