problem: masked backslash in form

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default problem: masked backslash in form

    Hello,

    Got a problem with php-transfer of a form-content.
    I'm programming a forum and each backslash or " or ' is - of course-
    masked with a backslash after transmitting the form via php.
    Is there a command which does not make the php-interpreter masking
    several charakters ?

    Thanx so far,
    tobi


    so long, herr bert
    Thanx so far,

    Tobi
    Dresden, Germany
    teppichman Guest

  2. Similar Questions and Discussions

    1. cannot control a masked mc
      Hi RQR! Did you find an answer on this? I have the excact same annoying problem!!! Seems there is a bug somewhere. Serveral people have asked...
    2. Trailing backslash on URL problem
      Hi, Can anyone tell me if this is a confiuration problem in my httpd.conf file? I recently installed Apache, and moved an old PHP application to...
    3. backslash
      Hi I created a table with varchar field where i want to store the path of an image. I will then use this file to retrieve this image on my...
    4. ls and backslash - Solaris problem?
      On a sparc Solaris 9 system, I downloaded some jpegs and was able to view them with xv. When I tried to copy one with the command: cp foobar.jpg...
    5. problem of backslash conversion with MKS perl
      > What is "MKS Perl"? What is your platform? OS? I have an idea your Ah... I am sorry. I am running the MKS perl on windows 2000. And MKS perl...
  3. #2

    Default Re: problem: masked backslash in form

    teppichman <teppichman@web.de> wrote:
    > Got a problem with php-transfer of a form-content.
    > I'm programming a forum and each backslash or " or ' is - of course-
    > masked with a backslash after transmitting the form via php.
    > Is there a command which does not make the php-interpreter masking
    > several charakters ?
    Hi Tobi,

    This is caused by a php.ini directive called "magic_quotes_gpc", which
    automatically escapes certain characters in strings.

    If you can't (or don't want) to change the directive itself, you could also
    use stripslashes().

    HTH,
    JOn
    Jon Kraft Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139