Ing. Branislav Gerzo <[EMAIL PROTECTED]> asked: > user come to website, write in textbox some IPs, I want send > this input to my perl script (parse that text, takes IPs, do > operation with them - insert them to database, check > them...), and send results via _PHP_ to user.
I have a really nasty idea how to do this ;-) In your Perl script, open a pipe to a php interpreter binary (php4-cgi on Debian) and feed your PHP code to that. The interpreter's output will then be sent to the end user. e.g. open( PHP, "|/usr/bin/php4" ) or die "Can't start PHP interpreter: $!"; select( PHP ); print '<? echo phpinfo(); ?>'; HTH, Thomas "everything looks like a nail if a hammer is all you have" -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>