php 4.3.4 help with passing parameters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • queer
    Confirmed User
    • Apr 2003
    • 671

    #1

    php 4.3.4 help with passing parameters

    Help!
    My server just got upgrated from php 4.3.3 to 4.3.4.
    I always pass parameters like this :

    somefile.php?a=123&b=456

    Now this dont work anymore, some kind of security setting in php.ini?

    If so, please let me know what to change in the php.ini file, to make me able to pass parameters this way in php 4.3.4

    Most appreciated if someone knows this matter...
    FREE GALLERY RETURN TRAFFIC
    New better system for all TGP owners! Use your own sponsor codes!
    Traffic in return for listing quality galleries, RATIO 1:12 !
  • PurrrsianPussyKat
    Confirmed User
    • Jan 2004
    • 2088

    #2
    You need to set register_globals=on
    Need a reliable, reasonably priced php programmer? Hit me up! 2934409

    Comment

    • queer
      Confirmed User
      • Apr 2003
      • 671

      #3
      Ok cool. I just tried, didnt work yet, do I need to restart the server/php?
      FREE GALLERY RETURN TRAFFIC
      New better system for all TGP owners! Use your own sponsor codes!
      Traffic in return for listing quality galleries, RATIO 1:12 !

      Comment

      • Dopy
        Confirmed User
        • Feb 2001
        • 1572

        #4
        It would be a much better idea to read this. Of course thats if this is the problem.


        http://php.benscom.com/manual/en/sec...terglobals.php

        Comment

        • Dopy
          Confirmed User
          • Feb 2001
          • 1572

          #5
          Ok cool. I just tried, didnt work yet, do I need to restart the server/php?



          You need to re-start PHP

          Comment

          • spritian
            Registered User
            • Jan 2004
            • 4

            #6
            actually, turning registered globals on is a bad idea... you can get post variables by doing the following:

            example: test.php?action=test

            the value for action can be retrieved as $_GET[action]
            <a href=http://www.videopass.com/>VideoPass - Pay-Per-View</a>

            Comment

            • Alky
              Confirmed User
              • Apr 2002
              • 5651

              #7
              those variables passed are in the _GET array

              so $a = $_GET["a"];

              Comment

              • Andy
                Confirmed User
                • Jan 2001
                • 460

                #8
                hmm .. I think it was on older php but maybe you need to extract HTTP_GET_VARS ?
                Submit Your Movie Galleries Trade Movie Traffic: 43559081

                Comment

                • queer
                  Confirmed User
                  • Apr 2003
                  • 671

                  #9
                  Originally posted by spritian
                  actually, turning registered globals on is a bad idea... you can get post variables by doing the following:

                  example: test.php?action=test

                  the value for action can be retrieved as $_GET[action]
                  this works fine!

                  Thank you all
                  FREE GALLERY RETURN TRAFFIC
                  New better system for all TGP owners! Use your own sponsor codes!
                  Traffic in return for listing quality galleries, RATIO 1:12 !

                  Comment

                  Working...