开发者

What effects drawing charts/diagrams from $_SESSION data under php5, which worked under php4?

I have a script generating 3 diagrams from $_SESSION variables which work fine under php4 with register_globals = off, but when I parse the same script as php5 I get no diagram.

The diagrams a drawn from GD libary and it works, if I set the data into an Array (manually filled) within the script file. But I need a way to get it work on php5, without much changes.

Are there any SESSION settings or php-settings which might interfere with my script. I al开发者_C百科ready checked a lot of the php-settings (changing php.ini over and over again), but found nothing what brings me the diagrams back.

Hopefully someone of you could kick me into the right direction. Any Ideas?

Thanks a lot.


I think you should first look at the array created with version 4 and version 5 and compare both. And you sould make a logical data structure, so you can access it without compatiblity problems

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜