PDA

View Full Version : net send html multiple ip address


almithellaj
02-23-2003, 12:24 PM
how do i effeciently "net send" to many ip address?

syntax
net send {name | * | /domain[:name] | /users} message

example works fine:
68.32.69.23 is my ip static address.

net send 68.32.69.23 Atlanta Metro. Lawn Care Services call 678-770-7817 or see mywebpages.comcast.net/mitchellservices

example of ip addresses i'd like to send my message to.
Comcast Cable Communications, Inc. JUMPSTART-1 (NET-68-32-0-0-1)
68.32.0.0 - 68.63.255.255
Comcast Cable Communications, Inc. JUMPSTART-DALLAS-GA-1 (NET-68-32-64-0-1)
68.32.64.0 - 68.32.79.255


here's one example of my attempt to code this.
<script language="php"> is a part that's not working.

<html>
<head>
<title>ip address changing2</title>
</head>

<body><font color=#00ff00>

<h1>Mitchell Lawns and Landscaping</h1></font>

<h2>Phone 678-770-7817 My Email address is <a href="mailto:almitchellaj@yahoo.com"> almitchellaj@yahoo.com
</a></h2>


<b>Have a <font color=#00ff00>green</font> pretty lawn, take a break, have more time for self and others</b>

<p><b>Serving Atlanta, GA Metropolitan area</b>

<p>Hiram, Cobb County, Smyrna, Powder Springs, Marietta, Austell, Mableton, Lithia Springs, Paulding County.

<p><b>Services Sample:</b>Mowing, aerating, tilling, seeding, sod, edging, weed control, tree trimming/chopping, bush trimming/chopping, debris hauling.



<p><b>FREE ESTIMATES</p><tt> </tt> PLEASE ASK ABOUT ODD JOBS</b>

<p>ip address changing2.html


<script language="php">.

int x, y, z, q;

sscanf(ip_address, "%d.%d.%d.%d", &x, &y, &z, &q);
if (q < 255) {
q++;
}
else {
q = 0;
if(z < 255) {
z++;
}
else {
z = 0;
if(y < 255) {
y++;
}
else {
y = 0;
if(x < 255) {
x++;
}
else {
fprintf(stderr, "unable to increment ip address\n");
return -1;
}
}
}

sprintf(ip_address, "%d.%d.%d.%d", x, y, z, q);
print(ip_address, x, y, z, q);
document.write (ip_address, x, y, z, q);
return 0;
}

document.write(ip_address, x, y, z, q);

</script>
<?php
echo "Hi, I'm a PHP script!";
?>


<p>




<?php echo "<p>Hello World</p>"; ?>



<a href="http://hop.clickbank.net/hop.cgi?netmillion/75million">
<img src="http://www.101-website-traffic.com/addesign.gif" alt="101-website-traffic.com" border="0" width="468" height="60"></a>

</SCRIPT>
document.write("Birthday")
</SCRIPT>

<p>ip address changing2.html

</body>
</html>