This is a sample cgi program (C files) which you can generate using any standard C compiler. Rename the executable as recvsms.cgi and put in the cgi-bin folder under your HTTP server default directory. Then you can configure the 'server default page' in 'receive API' under 'SMS services' to 'cgi-bin/recvsms.cgi'. We are assuming here that all the CGI scripts are kept under 'cgi-bin' folder. You can put wherever depending on your HTTP server. Now, when HTTP protocol is used for receive, the SMS Finder will use this default page in the POST method. With this, your CGI will get executed on the server side when the POST is received.
 
In the sample C program attached, you can look into the main and add your pieces. This application opens a debug file and writes the sender number and the SMS received after parsing the contents. This could be the ideal place for adding your logic. If you don't like the CGI processing in C, you can easily convert this to a Perl or PHP program.
