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.

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.