As far as I know, You can not set a form's file input box's value by javascript. So your idea of "make a form but set the src of the file field and with the javascript the form runs" is simply impossible.
Simon
immu wrote:
Hi everybody,
wel i have site where i need to insert the text file data generated offline by Oracle to mysql table which is on the webserver. The main thing is this should be done automatically on a specific time. i can run the schedule task or the cron tab but to make a php script which runs without form and uploads or updates the data in mysql.
is it possible to make a form but set the src of the file field and with the javascript the form runs and it uploads the file or updates the records in mysql???