PDA

View Full Version : ASP Help


phreakyphonez
04-07-2004, 04:02 PM
I am half way through makin/editing an asp script for downloadin ringtones. It send the info t bango.net, which then sends the user to the correct ringtone... but i cant get the parameters to match, or somthing along them lines.. its causing me a right headache now, if ne1 can help??? thanks

the link goin to bango:
<a href="http://bango.net/go.aspx?bango=00007473259?p=<%=Rs("p")%>&amp;cat=<%=cat%>">Buy Now</a><br/>

and the after result:
<%=header%>
<card id="success" title="Success">
<onevent type="ontimer">
<go href="<%=request("cat")%>/<%= file %>" method="get">
</go>
</onevent><timer name="gettimer" value="3"/>
<p align="center">
<%= name %>
<%= file %><br/> Downloading... Please wait<br/>
<a href="<%=request("cat")%>/<%= filename %>">Download</a>
<%=footer%>

The cats in the the table im using are P which is usedfor id, name which is tone name, filename which is tone name ie tone.mid and cat ie pop, rap etc..

Please sum1 help me b4 this drives me mad :)

putts
04-07-2004, 06:48 PM
You have two ?'s in your href....not sure if that's a typo or not?

Past that I don't understand whether you're saying the problem is on your page or the url being received at Bango.

You should be able to check out the source on your page and see what is being built for the href of that <a>. If it doesn't look right there, what exactly is it doing improperly?