Raja <rokkamraja at gmail.com> writes: > The code is working fine on the command line but when executing it > on the browser i get the famouse "Premature end of script headers" > error. Look at the server's error log to see what the real error message is. You are probably missing an environment variable such as ORACLE_HOME.