Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners Cgi > Re: Example Inp...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 1379 of 1496
Post > Topic >>

Re: Example Input Datas

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/
 




 2 Posts in Topic:
Re: Example Input Datas
pangj@[EMAIL PROTECTED]   2007-03-08 10:23:23 
Re: Example Input Datas
digolinopage@[EMAIL PROTE  2007-03-08 13:31:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 11:35:23 CST 2008.