Samme SMS til flere brugere !!!
Jeg har en ASP SMS sender der funker fint - men nogen der kan hjælpe med at få den til at udlæse i en access database mobilnummerne på eksempelvis dem der har post nummer 5500 ???----------
Her mit script !
--------------------------------
<!--#INCLUDE FILE ="sms_function.asp" -->
<HTML>
<HEAD>
<CENTER>
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="5">
<FORM METHOD="POST" NAME="smsform" ACTION="sms.asp">
<% if Request.Form("mode") <> "send" then %>
<INPUT TYPE="HIDDEN" NAME="mode" VALUE="send">
<% else %>
<INPUT TYPE="HIDDEN" NAME="mode" VALUE="sendny">
<% end if %>
<TR>
<TD ALIGN="CENTER" BGCOLOR="#000000">
<font color="#FFFFFF">
<% = gulfedfont %></font>
<p><font color="#FFFFFF"><b>Send din SMS besked</b><% = fe %></font></p>
</TD>
</TR>
<TR>
<TD BGCOLOR="#000000">
<% if Request.Form("mode") = "" OR Request.Form("mode") = "sendny" then %>
<TABLE BORDER="0" WIDTH="100%" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD VALIGN="TOP" ALIGN="LEFT" COLSPAN="4">
<font color="#FFFFFF">
</font>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults"
U-File="fpweb:///_private/form_results.txt"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p><select size="1" name="D1">
<option>Postnummer</option>
<option>Kun Mand</option>
<option>Kun Kvinder</option>
<option>Kun Personale</option>
</select></p>
</form>
</TD>
</TR>
<TR>
<TD VALIGN="TOP" ALIGN="LEFT">
<font color="#FFFFFF"><% = fedfont %><b>Tlf nummer:</b><% = fe %></font>
</TD>
<TD VALIGN="TOP" ALIGN="LEFT">
<font color="#FFFFFF">
<INPUT TYPE="TEXT" NAME="telefonnummer" SIZE="8" MAXLENGTH="8">
</font>
</TD>
<TD VALIGN="TOP" ALIGN="LEFT">
<P ALIGN="CENTER"><font color="#FFFFFF"><% = fedfont %><b>Afsender:</b><% = fe %></font>
</TD>
<TD VALIGN="TOP" ALIGN="LEFT">
<font color="#FFFFFF">
<INPUT TYPE="TEXT" NAME="afsender" SIZE="10">
</font>
</TD>
</TR>
<TR>
<TD VALIGN="TOP" ALIGN="CENTER" COLSPAN="4">
<font color="#FFFFFF">
<TEXTAREA ROWS="2" COLS="35" NAME="besked" BORDER="0" SCROLLING="NO">Besked</TEXTAREA>
</font>
</TD>
</TR>
</TABLE>
<font color="#FFFFFF">
<% else %>
<BR>
<% = sendsms(Request.Form("telefonnummer")) %>
<% end if %>
</font>
</TD>
</TR>
<TR>
<TD VALIGN="TOP" ALIGN="CENTER" BGCOLOR="#000000">
<CENTER>
<INPUT TYPE="SUBMIT" VALUE="Send<% if Request.Form("mode") = "send" then %> ny <% end if %>SMS">
</CENTER>
</TD>
</TR>
</FORM>
</TABLE>
<% if Request.Form("mode") = "" then %>
<script language='javascript'> document.smsform.telefonnummer.focus(); </script>
<% end if
if mailer = 0 then
%>
<FONT FACE="Arial" SIZE="2" COLOR="#CC0000"><STRONG>SMS afsendelse er slået fra !!!</STRONG></FONT>
<% end if %>
</BODY>
</HTML>