I am a novice at PHP. Any Help is greatly appreciated. Here I go !

I am using PHP to insert a row in a Rbase Table which has an ON INSERT 
TRIGGER defined. The trigger in turn runs a externally saved command file 
named TEST.ASC.  When I execute the PHP program it correctly inserts a row 
in the Rbase Table which fires the trigger but then I get the following 
error. (I am using Apache 2.2 as my web server)

Warning: odbc_exec() [function.odbc-exec]: SQL error: [RBTI][Oterro ODBC 
Driver][BDWeb]-ERROR- Unable to open file: test.asc (2583), SQL state 
HY000 in SQLExecDirect in C:\Apache2.2\htdocs\BerjeTest\Insert.php on line 
33 

The database, the PHP program and the command file TEST.ASC are all in the 
same folder under htdocs folder. 

I am assuming it is a security issue that prevents TEST.ASC from being 
accessed but have no idea what I am missing.

Thanks for your help.

Ajay Sanghvi


P
Please consider the environment before printing this e-mail. Thank you. 


Reply via email to