GET method in forms.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Maciej Nadolski

    GET method in forms.

    Hi again!
    I can`t understand well the GET method in forms.
    I would like to pass the SID threw form or jest link. Can I simply do sth. like
    that: <a hraf="http://some.url/script.php?<?ph p echo SID ?>&variable1=st h or do I
    have to do sth with htmlspecialtags () and urlencode()?
    I read documentation and this is the purpose why I have doubts. Earlier I thought
    that first solution is right. Can someone explain it to me? Sorry for that many
    questions...

    --
    Best regards,
    Maciej Nadolski
  • Andy Hassall

    #2
    Re: GET method in forms.

    On Mon, 6 Oct 2003 19:44:12 +0000 (UTC), Maciej Nadolski
    <usenet@WYTNI J-TO.nadolski.net > wrote:
    [color=blue]
    >Hi again!
    >I can`t understand well the GET method in forms.
    >I would like to pass the SID threw form or jest link. Can I simply do sth. like
    >that: <a hraf="http://some.url/script.php?<?ph p echo SID ?>&variable1=st h or do I
    >have to do sth with htmlspecialtags () and urlencode()?
    >I read documentation and this is the purpose why I have doubts. Earlier I thought
    >that first solution is right. Can someone explain it to me? Sorry for that many
    >questions...[/color]

    PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.


    --
    Andy Hassall (andy@andyh.co. uk) icq(5747695) (http://www.andyh.co.uk)
    Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)

    Comment

    • Maciej Nadolski

      #3
      Re: GET method in forms.

      Andy Hassall <andy@andyh.co. uk> wrote in news:c0i3ov4hk5 jkdeg1havmvj93i ssaato4i9@4ax.c om:
      [color=blue]
      > http://www.php.net/manual/en/ref.ses...sion.idpassing[/color]

      Yep, I`ve read that and FAQ on php.net and now I have doubts. According to this link
      the first method is ok. Right?
      Thanks.

      --
      Best regards,
      Maciej Nadolski

      Comment

      • Andy Hassall

        #4
        Re: GET method in forms.

        On Tue, 7 Oct 2003 07:38:02 +0000 (UTC), Maciej Nadolski
        <usenet@WYTNI J-TO.nadolski.net > wrote:
        [color=blue]
        >Andy Hassall <andy@andyh.co. uk> wrote in news:c0i3ov4hk5 jkdeg1havmvj93i ssaato4i9@4ax.c om:
        >[color=green]
        >> http://www.php.net/manual/en/ref.ses...sion.idpassing[/color]
        >
        >Yep, I`ve read that and FAQ on php.net and now I have doubts. According to this link
        >the first method is ok. Right?[/color]

        What first method are you referring to? You've snipped everything out of the
        message.

        What are the reasons for your doubts about what the manual says?

        --
        Andy Hassall (andy@andyh.co. uk) icq(5747695) (http://www.andyh.co.uk)
        Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)

        Comment

        • Maciej Nadolski

          #5
          Re: GET method in forms.

          > What first method are you referring to? You've snipped everything out[color=blue]
          > of the
          > message.
          >
          > What are the reasons for your doubts about what the manual says?[/color]

          Sorry I must have had started a new thread. So the problem looks like that:
          I`m caliing after that line sesion_register ("$variable1 ", "$variable2 "). There are
          no prints before session_registe r(). The line with output looks like the one in
          previous post. Now I`m saveing variables in sql, but I still would like to know
          what might be wrong with my session code - for later.
          TIA.

          --
          Best regards,
          Maciej Nadolski

          Comment

          • Andy Hassall

            #6
            Re: GET method in forms.

            On Wed, 8 Oct 2003 11:13:33 +0000 (UTC), Maciej Nadolski
            <usenet@WYTNI J-TO.nadolski.net > wrote:
            [color=blue][color=green]
            >> What first method are you referring to? You've snipped everything out
            >> of the
            >> message.
            >>
            >> What are the reasons for your doubts about what the manual says?[/color]
            >
            >Sorry I must have had started a new thread.[/color]

            No, this is still the same thread.
            [color=blue]
            >So the problem looks like that:[/color]

            Like what?
            [color=blue]
            >I`m caliing after that line[/color]

            Which line?
            [color=blue]
            > sesion_register ("$variable1 ", "$variable2 "). There are
            >no prints before session_registe r(). The line with output looks like the one in
            >previous post.[/color]

            You didn't post any PHP in the previous post.
            [color=blue]
            >Now I`m saveing variables in sql, but I still would like to know
            >what might be wrong with my session code - for later.[/color]

            I have even less idea what you're talking about now.

            --
            Andy Hassall (andy@andyh.co. uk) icq(5747695) (http://www.andyh.co.uk)
            Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)

            Comment

            Working...