Http request

Discussion in 'PHP' started by ottodo, Dec 1, 2006.

  1. #1
    I am trying to read variable:
    However normally this variable size is bigger than 256 bit :(

    how can I read more than 256
     
    ottodo, Dec 1, 2006 IP
  2. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Have you tried using POST instead of GET? Be sure to change your script as well as the method of the form that is sending the information to the script.
     
    TwistMyArm, Dec 1, 2006 IP
  3. ottodo

    ottodo Guest

    Messages:
    2,055
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I neef GET and I can't change post method of the form :(
     
    ottodo, Dec 1, 2006 IP
  4. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Then there's not much you can do... GET has limits I'm afraid and unfortunately, each browser and server seems to have a different limit :)
     
    TwistMyArm, Dec 1, 2006 IP
  5. ottodo

    ottodo Guest

    Messages:
    2,055
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Is this information offical?
    Can you post link? i.e from php.net
     
    ottodo, Dec 1, 2006 IP
  6. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I don't know any links off the top of my head, but you'd do better Googling 'http get limitations' or something like that than looking on php.net. It's an HTTP thing, not a PHP thing...
     
    TwistMyArm, Dec 1, 2006 IP
  7. adsblog

    adsblog Active Member

    Messages:
    659
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    70
    #7
    ottodo :)
    see here : http://ir.php.net/manual/en/ini.core.php
    i think admin can limit memory usage by scripts .
    and see here : http://ir.php.net/manual/en/function.memory-get-usage.php
     
    adsblog, Dec 2, 2006 IP