Example Input Datas

[email protected] (Rodrigo Tavares)
Newsgroups perl.beginners.cgi
Message-ID <[email protected]>
Hello,

I'm beginner in Perl with CGI. 
I create a two input box;

In the first input box, I'll put the ip adress.
In the second input box I'll put the port

Then when i click em submit, the cgi must make:

perl -pi -e 's/192.168.1.1/10.0.0.1/g' /opt/myfile

How I can to do it ?

Best regards,

Faria







__________________________________________________
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.