You are here: Re: [PHP] Strange problem with overlapping names « PHP « IT news, forums, messages
Re: [PHP] Strange problem with overlapping names

Posted by Philip Hallstrom on 10/05/85 11:36

> the page shown below works fine on my own machine, but on another (remote)
> server, it gives me a strange result.
>
> Here's what happens: The first time I view the page it says "array(0) { }"
> as I'd expect, but on the second it says "object(kurv)(0) { }" where I
> expected another array. The problem seems to be that the object has the
> same name as the key in $_SESSION -- if I call it $foobar the problem
> disappears. But that explanation doesn't really make much sense to me.
>
> As I see it there's something wrong on the server. Can anybody tell me
> anything about this problem?

Compare the output of phpinfo() on your machine with the output on the
server. Look at any differences.

BTW - the script works fine on my server.

-philip

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация