Advertisement
Guest User

Untitled

a guest
Jan 6th, 2014
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. <%
  2. Set istekurl = Request.ServerVariables("QUERY_STRING")
  3. istekbolum = Split(istekurl,"/")
  4.  
  5. istekbolum2=istekbolum(3)
  6. parcala=split(istekbolum2,"/")
  7. id=QueryFilter(parcala(1))
  8.  
  9. IF Not IsNumeric(parcala(1)) or parcala(1)="" THEN
  10. Response.Write "<script>location='"&rs("siteurl")&"';</script>"
  11. Response.End
  12. END IF
  13.  
  14. Set post = Baglanti.Execute("Select * from db_tablo where id="&id&"")
  15.  
  16. if post.eof or post.BOF then
  17. Response.Write "<script>location='"&rs("siteurl")&"';</script>"
  18. response.end
  19. else
  20. %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement