Re: Example Input Datas
[email protected] ("Rodrigo Faria Tavares")
| Newsgroups | perl.beginners.cgi |
|---|---|
| Message-ID | <001401c7619f$4974bc70$0100000a@faria> |
Hi Jeff, This IP 192.168.1.1 will replaced by IP defined from user. example: Enter with IP : 10.0.0.1 Submit When somebody to type one value, it will replaced the file value. IP: 192.168.1.1 -> will be replaced -> 10.0.0.1 best regards, Rodrigo Faria ----- Original Message ----- From: "Jeff Pang" <[email protected]> To: <[email protected]> Sent: Thursday, March 08, 2007 12:23 PM Subject: Re: Example Input Datas > >>Now it's change the file. >>Very funny :) >> >>if I want the user type one IP. >>I saw the example guestbook.cgi. >> >>Perhaps still : >> >> >>my $ip; >>print IP "To: $ip\n"; >>for (@file) >> { >> s/192.168.1.85/$ip/g; >> print FILE $_; >> } >> > > What would you like to say? > > -- > http://home.arcor.de/jeffpang/ > > -- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > http://learn.perl.org/ > > _______________________________________________________ Yahoo! Mail - Sempre a melhor opção para você! Experimente já e veja as novidades. http://br.yahoo.com/mailbeta/tudonovo/