Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 5E0EB9FC14A for ; Fri, 1 Jun 2007 00:51:38 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 84618-05 for ; Fri, 1 Jun 2007 00:51:34 -0300 (ADT) X-Greylist: delayed 00:12:40.848962 by SQLgrey-1.7.5 Received: from webmail.imtech.res.in (unknown [59.160.112.41]) by postgresql.org (Postfix) with ESMTP id 747279FC1B1 for ; Fri, 1 Jun 2007 00:51:34 -0300 (ADT) Received: from webmail.imtech.res.in (localhost [127.0.0.1]) by webmail.imtech.res.in (8.13.1/8.13.1) with ESMTP id l513jYnx012411 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 1 Jun 2007 09:15:34 +0530 Received: (from apache@localhost) by webmail.imtech.res.in (8.13.1/8.13.1/Submit) id l513jYfm012410; Fri, 1 Jun 2007 09:15:34 +0530 From: Mamoon Rashid X-Authentication-Warning: webmail.imtech.res.in: apache set sender to mamoon@imtech.res.in using -f Received: from 59.160.112.41 (proxying for 172.141.127.57) (SquirrelMail authenticated user mamoon) by webmail.imtech.res.in with HTTP; Fri, 1 Jun 2007 09:15:34 +0530 (IST) Message-ID: <40778.59.160.112.41.1180669534.squirrel@webmail.imtech.res.in> Date: Fri, 1 Jun 2007 09:15:34 +0530 (IST) Subject: problem in executing JDBC program through form using PHP To: pgsql-jdbc@postgresql.org User-Agent: SquirrelMail/1.4.6-7.el4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.223 tagged_above=0 required=5 tests=AWL=-0.088, BAYES_50=0.001, FORGED_RCVD_HELO=0.135, NORMAL_HTTP_TO_IP=0.175 X-Spam-Level: X-Archive-Number: 200706/2 X-Sequence-Number: 17064 hi all, i am facing a serious problem in running JDBC programm in Apache server environment. Background Information- 1, OS: Enterprise Linux4 running Apache2 2. pgsql8.2 3.JDBC driver: pg74.215.jdbc3.jar i am using jdbc client interface to pgsql database. Although i am able to connect to database server through java progm loading JDBC driver from my console(bash). BUT i am unable to run the same java progm through a html form using php. APART from this the regular java progm (NOT jdbc) is executing through html form using "system " command in php. i looked into Apache error_log, it looked like- Code: ( text ) hi all, i am facing a serious problem in running JDBC programm in Apache server environment. Background Information- 1, OS: Enterprise Linux4 running Apache2 2. pgsql8.2 3.JDBC driver: pg74.215.jdbc3.jar i am using jdbc client interface to pgsql database. Although i am able to connect to database server through java progm loading JDBC driver from my console(bash). BUT i am unable to run the same java progm through a html form using php(server side). APART from this the regular java progm (NOT jdbc) is executing through html form using "system " command in php. i looked into Apache error_log, it looked like- Code: ( text ) [client 127.0.0.1] PHP Fatal error: Only variables can be passed by reference i n /var/www/html/action.php on line 10, referer: http://127.0.0.1/search.html Failed to load current driver. Can anyone suggest how to fix the bug? i will be obliged . with regard mamoon