Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Generate Random IP Addresses

by Pragma (Scribe)
on Sep 07, 2004 at 18:29 UTC ( #389163=note: print w/ replies, xml ) Need Help??


in reply to Generate Random IP Addresses

For the obfuscation section:

s,,...,.s,,int rand 256,eg


Comment on Re: Generate Random IP Addresses
Download Code
Re^2: Generate Random IP Addresses for PHP
by Anonymous Monk on Feb 27, 2012 at 05:55 UTC
    Thank you was useful
    <?php for ($n = 1; $n < 100; $n++) { print implode('.', array(intval(mt_rand(0,255)), intval(mt_rand(0,255)), intval(mt_rand(0,255)), intval(mt_rand(0,255)))) . "\n"; } ?>

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://389163]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-09-18 07:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (108 votes), past polls