Full-service Internet Marketing & Web Development
Recent Posts

Sponsors
![]() |
eyep net updaterCode Wizard, 12-30-2006 |
A script to update your dynamic host on eyep.net
this is the script i used for a long time, then i just thought it would be nice to post it onto evilwalrus.
the sysnet irc network: irc.system33r.net
<?
// eyep updater v0.1
// written by micke andersson (aka teksys/system33r)
// (info: can be modified to update anything else that is similar
// to eyep.net)
?>
<FORM METHOD=POST ACTION="eyep.php">
User: <INPUT TYPE=TEXT NAME=euser VALUE="<?echo $euser?>"><BR>
Pass: <INPUT TYPE=TEXT NAME=epass VALUE="<?echo $epass?>"><BR>
Host: <INPUT TYPE=TEXT NAME=ehost VALUE="<?echo $ehost?>"><BR>
IP: <INPUT TYPE=TEXT NAME=eip VALUE="<?echo $REMOTE_ADDR?>"> <SMALL>(Optional)</SMALL><BR>
<INPUT TYPE=SUBMIT VALUE=" OK ">
</FORM>
<?
$x = fopen("http://www.eyep.net/update.php/".$euser."/".$epass."/".$ehost."/".$eip, "r");
while (!feof($x)) {
$buffer = fgets($x, 4096);
echo ("<b>".$buffer."</b><br><br>");
if($buffer == "RETURN1") {
echo "Missing fields, request is probably misconfigured.";
}
if($buffer == "RETURN2") {
echo "Bad username/password.";
}
if($buffer == "RETURN3") {
echo "That hostname isnt owned by that user.";
}
if($buffer == "RETURN4") {
echo "Everything went well and the ip was updated.";
}
if($buffer == "RETURN5") {
echo "Invalid IP address specified.";
}
if($buffer == "RETURN6") {
echo "Service is temporarily unavailable";
}
}
fclose ($x);
?>
|
|
Subscribe Now to receive new posts via Email as soon as they come out.
Comments
Post your comments

