Dan Muey wrote: > 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 : > > http://server1.com/showmedata.cgi says : > > hello http://server1.com/database.cgi I need the value of > 'first_name' > > > http://server1.com/database.cgi says : > > Why let me look, ah yes here it is It's 'Joe' > > http://server1.com/showmedata.cgi says : > > Thanks. $first_name is now 'Joe' > > I've 'accomplished' this through LWP module by doing a simple > get and having the database script just output the value :
[snip] You might want to investigate SOAP for something like this. The SOAP::Lite module on CPAN is quite easy to set up for this kind of thing. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]