script to auto encode webpage

Discussion in 'PHP' started by BAM78, Jul 22, 2009.

  1. #1
    BAM78, Jul 22, 2009 IP
  2. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm not sure, but can I ask your reason for wanting to do this?
     
    wd_2k6, Jul 22, 2009 IP
  3. BAM78

    BAM78 Peon

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    parts of my website html always change and I always want to have it encoded
     
    BAM78, Jul 22, 2009 IP
  4. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes but i was asking why you want it encoded?
     
    wd_2k6, Jul 22, 2009 IP
  5. BAM78

    BAM78 Peon

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i don't want anyone looking at my html source code i know the php part is hidden but i want the html part encoded
     
    BAM78, Jul 22, 2009 IP
  6. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Well I have to inform you there is no way to protect your HTML from being seen, you can take measurs to delay people, but if people want to get it they can get it e.g (de-encode).
    Also the way you want to do it would mean people with no Javascript or Javascript disabled would see nothing?

    Anyhow I found a link on your behalf
    http://scriptasylum.com/tutorials/encdec/encode-decode.html
     
    wd_2k6, Jul 22, 2009 IP
  7. BAM78

    BAM78 Peon

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    is there a free script?
     
    BAM78, Jul 25, 2009 IP