Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: Generate Random IP Addresses for PHP

by Anonymous Monk
on Feb 27, 2012 at 05:55 UTC ( #956376=note: print w/ replies, xml ) Need Help??

in reply to Re: Generate Random IP Addresses
in thread Generate Random IP Addresses

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"; } ?>

Comment on Re^2: Generate Random IP Addresses for PHP
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2015-12-01 05:34 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (794 votes), past polls