From the PHP documentation:
This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
So you either need to downgrade your PHP version to <=5.2 - or you need to remove any code that is using register globals.
There was no php.ini file so i created one and turn register globals off
There is always a php.ini file. I'm guessing your are on a hosted solution somewhere, so you cannot see the ini file. You need to talk to your server administrator and get them to change it.