pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mamoon Rashid <mamoon@imtech.res.in>
To: pgsql-jdbc@postgresql.org
Subject: problem in executing JDBC program through form using PHP
Date: Fri, 1 Jun 2007 09:15:34 +0530 (IST)
Message-ID: <40778.59.160.112.41.1180669534.squirrel@webmail.imtech.res.in> (raw)

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




Message-ID: <40778.59.160.112.41.1180669534.squirrel@webmail.imtech.res.in>
Permalink:  ../40778.59.160.112.41.1180669534.squirrel@webmail.imtech.res.in/
Also on:    postgresql.org/message-id/40778.59.160.112.41.1180669534.squirrel@webmail.imtech.res.in

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: mamoon@imtech.res.in
  Subject: Re: problem in executing JDBC program through form using PHP
  In-Reply-To: <40778.59.160.112.41.1180669534.squirrel@webmail.imtech.res.in>
  References: <40778.59.160.112.41.1180669534.squirrel@webmail.imtech.res.in>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox