by digolinopage@[EMAIL PROTECTED]
(Rodrigo Faria Tavares)
Mar 8, 2007 at 01:31 PM
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" <pangj@[EMAIL PROTECTED]
>
To: <beginners-cgi@[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 (@[EMAIL PROTECTED]
)
>> {
>> s/192.168.1.85/$ip/g;
>> print FILE $_;
>> }
>>
>
> What would you like to say?
>
> --
> http://home.arcor.de/jeffpang/
>
> --
> To unsubscribe, e-mail: beginners-cgi-unsubscribe@[EMAIL PROTECTED]
> For additional commands, e-mail: beginners-cgi-help@[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/