southbeach
Programmer
I think I wrote something to this respect a very long time ago and I now find myself with a blank stare.
The project:
I have my PHP server where people come into to do their daily operations and data entry. Now, we have the need to allow people to, manually or automated, send a query to my server (think of it as a fetch) and receive in turn the data or information pertaining to their query.
I want to think of it as a form being submitted at a remote site, my server will validate origin and once valid, process query and send back the results.
I also need to write the code that makes the query request and need to process the received data segment.
Running in LINUX servers, so may be able to put up a `cron` to do this if automated or provide users with a command (shell script) that would do it on demand.
The problem:
I figure that the receiving server (where the query is sent to), the code is pretty simple, just like processing any other query with a GET/POST method.
The originating server seems to me a bit more of a challenge. I am not sure if I should use PHP as a scripting language (and I am very tempted to) or should I use something else. I have never used PHP as a scripting language but feel as if it would be ideal for this (PHP to PHP, what could go wrong?).
My biggest problem is that I feel as if I lack direction on this and so I am reaching out to you guys, perhaps, it is so simple and obvious that I am over complicating things.
Thank you all in advance for your assistance!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
The project:
I have my PHP server where people come into to do their daily operations and data entry. Now, we have the need to allow people to, manually or automated, send a query to my server (think of it as a fetch) and receive in turn the data or information pertaining to their query.
I want to think of it as a form being submitted at a remote site, my server will validate origin and once valid, process query and send back the results.
I also need to write the code that makes the query request and need to process the received data segment.
Running in LINUX servers, so may be able to put up a `cron` to do this if automated or provide users with a command (shell script) that would do it on demand.
The problem:
I figure that the receiving server (where the query is sent to), the code is pretty simple, just like processing any other query with a GET/POST method.
The originating server seems to me a bit more of a challenge. I am not sure if I should use PHP as a scripting language (and I am very tempted to) or should I use something else. I have never used PHP as a scripting language but feel as if it would be ideal for this (PHP to PHP, what could go wrong?).
My biggest problem is that I feel as if I lack direction on this and so I am reaching out to you guys, perhaps, it is so simple and obvious that I am over complicating things.
Thank you all in advance for your assistance!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.