problem in executing JDBC program through form using PHP

From: Mamoon Rashid <mamoon(at)imtech(dot)res(dot)in>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: problem in executing JDBC program through form using PHP
Date: 2007-06-01 03:45:34
Message-ID: 40778.59.160.112.41.1180669534.squirrel@webmail.imtech.res.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kalle Hallivuori 2007-06-01 12:53:18 Re: FYI: porting Copy API to 8.x
Previous Message Mamoon Rashid 2007-06-01 03:32:49 Re: jdbc connection