[Ilugc] to input files to another back endserversidescript

  • From: smal@xxxxxxxxxxx (Mahalingam Subramaniam)
  • Date: Fri Apr 16 18:50:11 2010

-- Original Message --
From: Manokaran K <manokaran@xxxxxxxxx>
To: ILUG-C <ilugc@xxxxxxxxxxxxx>
Date: Fri, 16 Apr 2010 13:55:28 +0530
Subject: Re: Re: Re: [Ilugc] to input files to another back end 
        serversidescript
On Fri, Apr 16, 2010 at 1:28 PM, Mahalingam Subramaniam <smal@xxxxxxxxxxx>wrote:

here things are little complicated. there are three components as follows.

 a. front end( any html, php)
 b. server side script with action attribute from front end (php)
 c. final target script on server (php)

 the files to be uploaded through (a). with the help of (b) should reach
over to or become input to (c) and once the (C) recognise and accepts by
validating the input files, it suppose to start execute its function so as
to deliver its output as per the given input file.
The event to trigger  th eexecution of final target file should start once
the form submit buttion is clicked. This is what the requirement.  the
complication involves in synchronizing first two with the third one.

From inside the PHP script, Invoke script 'c' with the posted data as input.
I hope the posted file is just data and not some executable which your users
have posted from the wild and script 'C' just evals them - validated on
not!!
regds,
mano
the users will be uploading their data in the form of text through form 
submission(interface) and the script (b) will parse them and place in the 
designated folder in the server side. Then the backend server script will pick 
up these input files from these folders for further processing as input before 
delivering the desired output. These exercise should be automated right from 
file uploading till the target script execution. I have individually created 
all three files using php but waiting for synchronization & automation.
with regards
s.mahalingam

Other related posts: