Unix Shell - Re: Preventing multiple invocations of a script from accessing the same file

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > November 2005 > Re: Preventing multiple invocations of a script from accessing the same file





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Preventing multiple invocations of a script from accessing the same file
Owen Rees

2005-11-28, 6:04 pm

On Mon, 28 Nov 2005 13:30:57 +0000, Martin Gregorie
<martin@see.sig.for.address> wrote in
<dmf0qj$rg0$1$8300dec7@news.demon.co.uk>:

>I'm not up to speed on CGI, but IIRC data is passed to a CGI script as
>command line arguments. If so, you can forget the script and just call
>the C client program in place of the script. Development would also be
>easy: you can test run the client from the command line and configure
>inetd/xinetd to load the server from your development directory.


See <http://hoohoo.ncsa.uiuc.edu/cgi/> for the Common Gateway Interface
spec - most data is passed as environment variables, but data from a
POST will arrive on stdin. There are probably libraries for most
languages that will do the necessary work to retrieve the parameters
into a more convenient form.

--
Owen Rees
[one of] my preferred email address[es] and more stuff can be
found at <http://www.users.waitrose.com/~owenrees/index.html>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com