quote:Originally posted by lylesback2 Banks, is that an open source?
code:<? if ($mail == ""){ echo "<form action='{$_SERVER['PHP_SELF']}' METHOD='POST'> E-mail Address<input type='text' value='E-MAIL' name='mail'><input type='submit' name='create page'> </form>"; } if ($mail != ""){ echo "<head> <style> p{ color: gray;} a{ color: gray;} </style> <script language='javascript' type='text/javascript'> function add() {var msnControl = new ActiveXObject('Messenger.UIAutomation.1'); msnControl.AddContact(0, '$mail')} </script> <script language='javascript' type='text/javascript'> function msg() {var msnControl = new ActiveXObject('Messenger.UIAutomation.1'); msnControl.InstantMessage('$mail')} </script> </head> <body> <script language='javascript'>add()</script> <center><p size='4'><B>attempting to add <a href='mailtomail'>$mail</a></B></p> <BR>If you would like to send this page to others send them to the following URLBR> <a href='{$_SERVER['PHP_SELF']}?mail=$mail'>{$_SERVER['SERVER_NAME']}{$_SERVER['PHP_SELF']}?mail=$mail</a> <BR>click <a href='javascript:msg()'>here</a> to send a mesage to $mail <BR><BR>©copyright 2004 Jeremy Banks<BR>Thanks to <a href='http://www.ineedhosting.net'>I need hosting</a> for the webspace and php support.</center>";} ?>