"Dan Muey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello,
My question is : Is there a better,easier, more secure, prettier way to do what I'm outlining below? There are some screamingly obvious security issues but at this point I'm more interested in getting it to do what I need then I'll focus on redesigning for security. I have a script ( http://server1.com/database.cgi ) that does select statements on a database. I have another script that needs to ask that script for values of different things in the database. An example 'conversation' would need to go like this : <snip /> You are reinventing web services. check out the SOAP::Lite toolkit. The module I'd use for your exercise is XMLRPC::Lite, packaged in the SOAP::Lite distro. Theres not much documentation on CPAN, but check out a book called "Programming Web Services with Perl" published by oreilly. The toolkit takes care of all of the issues you were concerned about on your post, and then some. Using the custom http headers is a good idea, but as soon as your data gets more complex, you'll have to start using XML anyway. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]