Hi now I have a Script wich worked but my problem is i have no Idea how can I secure this(IF the massage is send and the Site of the provider is loadedt You have only to show Site information and you can see username and password) And maby someone can help me to create a mod wich ervery user have his own directory for his phone numbers. Maby it is porsible to save the messages in the DB and the Users have a history of senet sms's.
Thank you for your help luke
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<script language="Javascript" type="text/javascript">
function CheckLength(Textbox,Wert,Counter)
{
if(Textbox.value.length > Wert)
{
Textbox.value=Textbox.value.slice(0,Wert);
alert('Text darf nicht länger als '+Wert+' Zeichen lang sein');
}
document.getElementsByName(Counter)[0].value=Wert-Textbox.value.length;
}
</script>
<p>
<!--#INCLUDE FILE="config.asp"-->
<!--#INCLUDE FILE="inc_sha256.asp"-->
<!--#INCLUDE FILE="inc_header.asp" -->
<%
%>
</p>
<p> </p>
<p> </p>
<form action="" method="post" name="submit" target="_self" id="submit">
<div align="center">
<div align="left">
<div align="center">
<div align="left">
<div align="center">
<div align="left">
<div align="center">
<div align="left">
<pre> <select name="menu1"><option value="ausw">Bitte Auswählen</option><option value="699">One (0699)</option><option value="650">TeleRing(0650)</option><option value="676">T-Mobile(0676)</option><option value="664">A1(0664)</option><option value="tel">Telefonbuch</option> </select> <select name="menu2"><option value="ausw">Bitte auswählen</option><option
value="12345">Lukas</option><option value="34444">Stefan</option><option value="655555">Karin</option><option value="666666">Gernot</option><option value="888888">Angi</option><option value="623434545">Thomas</option><option value="69999999">Christian</option>
</select>
</pre>
</div>
<div align="left">
<pre> <input name="telnr" type="text" id="telnr" value="Nummer" size="32" maxlength="8">
</pre>
</div>
<pre> </pre>
</div>
</div>
</div>
</div>
</div>
</div>
<div align="left">
<pre> <textarea name="text_sms" cols="32" rows="5" wrap="physical" id="text_sms" onKeyup="javascript:CheckLength(this,160,'RestCounter')">Your text here</textarea> <input name="Submit" type="submit" value="Senden">
Es bleiben noch <input type="text" name="RestCounter" size="3" value="160">Zeichen übrig.
</pre>
</div>
</div>
<div align="center">
<div align="left"><%
menu1 = request.form("menu1")
menu2 = request.form("menu2")
telnr = request.form("telnr")
text_sms = request.form("text_sms")
text_sms = Server.URLEncode(text_sms)
if request.form("Submit") = "Senden" then
if menu1 = "tel" then
response.redirect("http://http2sms.com/sms.php3?id=xxxxxx&pw=xxxxxx&dnr=%2b43"+menu2+"&snr=xxxxxxx&msg="+text_sms)
else
response.redirect("http://http2sms.com/sms.php3?id=xxxxxx&pw=xxxxx&dnr=%2b43"+menu1+telnr+"&snr=xxxxxx&msg="+text_sms)
end if
end if
%>
</div>
</div>
</form>