from html form,I fill in details and wish to compare certain data in mysql.
my dbi code is run normally from the command line.but run under httpd,it fails.
its seem like the httpd process usually runs under the user id of nobody,which implies there is no configured environment.I was wondering that is the problem of making my perl script is not running properly.
here is my code:
.. #skip the foraech statement
$cursor=$dbh->prepare("select * from $tablename");
while(..) #skip the fecthrow statement
hope someone can help me.
June 12th, 2000, 07:15 AM
Does your DB not have a username/password? What does the apache error_log say if anything?