Professional Web Applications Themes

What are the pros and cons for magic_quotes_gpc - PHP Development

My first impulse was to turn it off. But maybe I'm wrong. Or is it one of those 6 of one half a dozen of the other things? From what I'm seeing on a search it might improve performance slightly but with some s/w there are security issues... (We have register_globals turned off). General working env. is mySql, but might switch to PostGres in the future. Right now I'm using Perl::DBI to access the database, but that's because I don't know PHP data access methods yet and have some already written stuff to work with. thx, --williamc...

  1. #1

    Default What are the pros and cons for magic_quotes_gpc

    My first impulse was to turn it off. But maybe I'm wrong. Or is it one
    of those 6 of one half a dozen of the other things?

    From what I'm seeing on a search it might improve performance slightly
    but with some s/w there are security issues... (We have register_globals
    turned off).

    General working env. is mySql, but might switch to PostGres in the
    future. Right now I'm using Perl::DBI to access the database, but that's
    because I don't know PHP data access methods yet and have some already
    written stuff to work with.

    thx,

    --williamc
    williamc Guest

  2. #2

    Default Re: What are the pros and cons for magic_quotes_gpc

    Hi William!

    On Mon, 15 Sep 2003 20:34:31 GMT, williamc
    <temp4_NO_SPAM_williamc.com> wrote:
    >My first impulse was to turn it off. But maybe I'm wrong. Or is it one
    >of those 6 of one half a dozen of the other things?
    >
    >From what I'm seeing on a search it might improve performance slightly
    >but with some s/w there are security issues... (We have register_globals
    >turned off).
    >
    >General working env. is mySql, but might switch to PostGres in the
    >future. Right now I'm using Perl::DBI to access the database, but that's
    >because I don't know PHP data access methods yet and have some already
    >written stuff to work with.
    It does something for all scripts which is not the right thing for
    some scripts, namely the scripts which deal with MSSQL, Informix and
    Sybase databases. Thats why I turned it off.

    But its really a protability issue, so the right thing is to cater for
    both turned on and off.

    Jochen
    --
    Jochen Daum - CANS Ltd.
    PHP DB Edit Toolkit -- PHP scripts for building
    database editing interfaces.
    [url]http://sourceforge.net/projects/phpdbedittk/[/url]
    Jochen Daum Guest

  3. #3

    Default Re: What are the pros and cons for magic_quotes_gpc

    thx.

    --wmc

    Jochen Daum wrote:
    > Hi William!
    > It does something for all scripts which is not the right thing for
    > some scripts, namely the scripts which deal with MSSQL, Informix and
    > Sybase databases. Thats why I turned it off.
    >
    > But its really a protability issue, so the right thing is to cater for
    > both turned on and off.
    >
    > Jochen
    > --
    > Jochen Daum - CANS Ltd.
    > PHP DB Edit Toolkit -- PHP scripts for building
    > database editing interfaces.
    > [url]http://sourceforge.net/projects/phpdbedittk/[/url]
    williamc Guest

  4. #4

    Default Re: What are the pros and cons for magic_quotes_gpc

    Jochen Daum <jochen.daumcans.co.nz> wrote in message news:<i9ecmvsn6k2bukhfdi4dt8mbnbidnue2rb4ax.com>. ..
    >
    > It does something for all scripts which is not the right thing for
    > some scripts, namely the scripts which deal with MSSQL, Informix and
    > Sybase databases. Thats why I turned it off.
    >
    > But its really a protability issue, so the right thing is to cater for
    > both turned on and off.
    >
    And it does the wrong thing if you don't want to put the data into a database.
    Okay you can get the raw data with another call but then it's becoming quite ugly.
    Lothar Scholz Guest

Similar Threads

  1. Submitting directly to CFC (pros/cons).
    By brettr_ in forum Macromedia ColdFusion
    Replies: 5
    Last Post: March 21st, 02:06 PM
  2. what are the pros and cons of using MC's to load .swf files or levels?
    By ascensiongrafxx webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 3
    Last Post: February 2nd, 07:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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