Need PHP Help

CustomerSupport

Well-known member
  • Mar 21, 2016
    2,407
    1,528
    113
    but this is working for me bro. its give me wht i wont.

    can u tel wht is the correct way or method ???:confused::confused::confused::confused:

    You need a way in your application to generate proper URLs from path.
    You are never going to be a better programmer if you ignore the standards or let alone be aware you are breaking them. It works because browsers are sophisticated enough to figure out the proper URL, but what about wget, curl, lynx, search engines, etc?

    Here is the spec: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30
     
    • Like
    Reactions: NipunaDDDD

    thedigit2s

    Well-known member
  • Oct 3, 2009
    2,726
    3,107
    113
    37
    @ katubedda
    You need a way in your application to generate proper URLs from path.
    You are never going to be a better programmer if you ignore the standards or let alone be aware you are breaking them. It works because browsers are sophisticated enough to figure out the proper URL, but what about wget, curl, lynx, search engines, etc?

    Here is the spec: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30

    hmm thanks..
    ඹච්චර අමාරු දේවල් තේරුම් ගන්න බැ බ්‍රෝ.:confused::confused::confused:මුල ඉඳන් පිලිවෙලකට කරා නම් හෙඳයි කියලා හිතෙනවා:sorry::sorry::sorry::sorry::sorry:
     
    Last edited:

    NipunaDDDD

    Well-known member
  • Jan 16, 2009
    1,556
    120
    63
    pora index eke inda anith page ekata kalin yanawa ne.. so, me code eken aye back wenna try karoth aye index eken redirect wenawa kalin page ekata.. so, end wenne neti loop ekak awith crash wenawa.

    Echara durata hituwe ne ban.. Muta one ekata uttara dunna :)

    Ela ela uba kiyapu eka hoday.. Aye deyak karaddu tawa hitala balala kareki etakota :)