• 16-06-2010, 00:05:53
    #10
    🌐 𝘀𝗼𝗰𝗶𝗳𝗹𝘆.𝗰𝗼𝗺
    WebTasarimLive adlı üyeden alıntı: mesajı görüntüle
    Bunu Yapabılıyorum Ama haber.asp?id=1 olanları yapamadım bı turlu
    Tüm urlyi splitle bölüyorsun. Daha sonra querystring alır gibi alıyorsun
  • 16-06-2010, 12:02:10
    #11
    Üyeliği durduruldu
    beyler olmadı ya hata nerde

    Alıntı
    <%
    asd = split(request.querystring, "/")
    if asd(3) = "index.html" then
    %>
    <!--#include file="default.asp"-->

    <%
    elseif asd(3) = "kullanimi.html" then
    %>
    <!--#include file="kullanimi.asp"-->

    <%
    elseif asd(3) = "fixitpro.html" then
    %>
    <!--#include file="fixitpro.asp"-->

    <%
    elseif asd(3) = "siparis.html" then
    %>
    <!--#include file="siparis.asp"-->

    %>
    <%
    end if
    %>
    Alıntı
    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
  • 16-06-2010, 13:09:01
    #12
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Çıkan hata, include edilen sayfalarda olmalı.

    Bu arada her koşul için bir sayfa include etmek, sunucuyu çok yoracaktır. Bir 404.asp içerisinde 4 ayrı sayfanın kodları bulunuyor.
  • 16-06-2010, 13:21:56
    #13
    <%
    asd = split(request.querystring, "/")
    if asd(3) = "index.html" then
    %>
    <!--#include file="default.asp"-->

    <%
    elseif asd(3) = "kullanimi.html" then
    %>
    <!--#include file="kullanimi.asp"-->

    <%
    elseif asd(3) = "fixitpro.html" then
    %>
    <!--#include file="fixitpro.asp"-->

    <%
    elseif asd(3) = "siparis.html" then
    %>
    <!--#include file="siparis.asp"-->

    %>
    <%
    end if
    %>

    hatalı kod'u kalın olarak belirttim.