1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to Hide HTML/JavaScript coding from source code using php

Discussion in 'Programming' started by Psych0, Sep 12, 2007.

  1. HurryHost.com

    HurryHost.com Banned

    Messages:
    125
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #21
    Yes its possible, use a HTML cryptor, converts everythign to javascript on the page makign it unreable to the normal person
     
    HurryHost.com, Jan 29, 2008 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #22
    ^ That's a terrible solution.

    First, because the page won't work at all if JS is disabled.
    Second, it can be easily decoded.
    And it's not SEO friendly either.

    I'll repeat once more, you can't hide your source code. All you can do is make it harder to obtain or decode. Not that doesn't make it impossible.
     
    nico_swd, Jan 29, 2008 IP
  3. thumbnailspro

    thumbnailspro Peon

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #23
    THIS IS NOT A JOKE! I "googled" for hours trying to figure out a way to hide css and javascript / jquery functions from view source in php. I found nothing but thousands of people trying to do the same thing and failing! When I coded this method and tested it I was shocked it actually works! FIND OUT HOW AT http://valajionetworks.com
     
    thumbnailspro, Mar 24, 2010 IP