Html code how to off?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Html code how to off?

    Help coder's! How to off html code in my site? I have a friend trying to put html code like <img src=".../blablah.jpg" alt="*"> or any html code, and after that my site will crashed, how to off this?

    #2
    Place this in your bbcodes so it will edit it so it will not show error but its code lol
    Attached Files
    Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
    Visit: WapMasterz Coming Back Soon!
    _______
    SCRIPTS FOR SALE BY SUBZERO
    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
    _______
    Info & Tips
    php.net
    w3schools.com

    Comment


      #3
      thanks sir, ur always here to guide some noob like me, ,

      Comment


        #4
        i don't look at you as a noob i look at you as a newbie ;)

        Your welcome ..

        this will edit them out lol
        Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
        Visit: WapMasterz Coming Back Soon!
        _______
        SCRIPTS FOR SALE BY SUBZERO
        Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
        FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
        _______
        Info & Tips
        php.net
        w3schools.com

        Comment


          #5
          you can it it easy with this simle funtion.

          $str = "A 'quote' is <b>bold</b>";

          echo htmlentities($str); // Outputs: A 'quote' is &lt;b&gt;bold&lt;/b&gt;


          its simple, and advance, more help @ PHP: htmlentities - Manual

          Free Mobile Web Scripts by me: Free Youtube Downloader, Tweets Reader, Facebook Wall Posts Reader
          PHP Tutorials: How to Secure Your PHP Script (PHP SECURITY)
          Want to Develop/Edit your WAP/Web Site? Add me to Gtalk (gmail) 'lakshan1989' or PM me.

          Comment


            #6
            why no use htmlspecialchars($text)

            Comment


              #7
              sir malaysiawap i have a htmlspecialchar, but its the same, but anyway thanks sir, if you have any suggestion, will you post, ,

              Comment

              Working...
              X