I've developed a few systems in a PHP-5.3.3 development environment. I'm now implementing them on an iPage host site. Their PHP level is 5.2.12. Two problems occur on their site.
(1) when my code

if (session_id() == "") session_start;

executes on their site it fails. It works fine on my development site.
(2) when I execute any

goto end_of_logic;

on their site, it fails.

I believe their PHP level probably doesn't support goto but I don't understand the session error.

check this link, im not sure this is userful for you or not..
just for info.
http://books.google.co.in/books?id=Q9OP0ClTTvIC&pg=PA236&lpg=PA236&dq=if+(session_id()+%3D%3D+%22%22)+in+php+5&source=bl&ots=1E0yhfQHaO&sig=9qVWE4AtPs6W5Ed5OyYVKeYXP5o&hl=en&ei=pgApTqXMDcurrAeJp7nHBg&sa=X&oi=book_result&ct=result&resnum=7&ved=0CEYQ6AEwBg#v=onepage&q&f=false

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.