Results 1 to 2 of 2

Thread: [RESOLVED] [MySQL][PHP] Forbiden characters

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2006
    Location
    Slovenia
    Posts
    100

    Resolved [RESOLVED] [MySQL][PHP] Forbiden characters

    I have one big problem...

    When i try to do INSERT INTO or UPDATE i get error, becouse in my posted text apears to be forbbiden characters.

    So i need some help with this things. Is there any function to encode and decode that thing or i will have to write this by myself?



  2. #2
    Hyperactive Member
    Join Date
    Dec 2006
    Location
    Ubuntu Haters Club
    Posts
    405

    Re: [MySQL][PHP] Forbiden characters

    You could try using htmlentities() or simply encode the data completely (base64_encode) then decode the data when you need it (base64_decode).
    » Twitter: @rudi_visser : Website: www.rudiv.se «

    If Apple fixes security flaws, they are heralded as proactive. If Microsoft fixes a security flaw, they finally got around to fixing their buggy OS.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width