Server-side "submit form" simulator

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

    Server-side "submit form" simulator

    I have a need to simulate the submission of an html-like <form> on the server, and was wondering if
    anyone knew of something out there that could do that.

    Thanks for your help,
    Don


  • TheLobster at Gmail dot Com

    #2
    Re: Server-side &quot;submit form&quot; simulator

    I've been inactivly looking for the answer to this for a while, but as
    far as I've gotten is hacked and nastly written javascript toys

    Comment

    • Philippe Le Van

      #3
      Re: Server-side &quot;submit form&quot; simulator

      Don wrote:[color=blue]
      > I have a need to simulate the submission of an html-like <form> on the server, and was wondering if
      > anyone knew of something out there that could do that.
      >[/color]
      Hi,

      You can try Curl (http://curl.haxx.se/)

      Or you can try a pear lib (php) :


      regards,
      Philippe

      Comment

      • Manuel Lemos

        #4
        Re: Server-side &quot;submit form&quot; simulator

        Hello,

        on 01/02/2005 09:06 AM Don said the following:[color=blue]
        > I have a need to simulate the submission of an html-like <form> on the server, and was wondering if
        > anyone knew of something out there that could do that.[/color]

        This HTTP client class does exactly what you need. It may also capture
        and send back cookies, handle redirection and authentication.




        --

        Regards,
        Manuel Lemos

        PHP Classes - Free ready to use OOP components written in PHP
        Free PHP Classes and Objects 2025 Versions with PHP Example Scripts, PHP Tutorials, Download PHP Scripts, PHP articles, Remote PHP Jobs, Hire PHP Developers, PHP Book Reviews, PHP Language OOP Materials


        PHP Reviews - Reviews of PHP books and other products


        Metastorage - Data object relational mapping layer generator

        Comment

        • Don

          #5
          Re: Server-side &quot;submit form&quot; simulator

          On Sun, 02 Jan 2005 04:06:40 -0700, Don <no@adr.com> wrote:
          [color=blue]
          >I have a need to simulate the submission of an html-like <form> on the server, and was wondering if
          >anyone knew of something out there that could do that.
          >
          >Thanks for your help,
          >Don
          >[/color]
          Thanks everyone. Looks like there are several ways to do this. I appreciate the help.

          Regards,
          Don

          Comment

          • Chung Leong

            #6
            Re: Server-side &quot;submit form&quot; simulator


            "Don" <no@adr.com> wrote in message
            news:7blft01c40 kqga20pm89qtd5i bls5jgbcl@4ax.c om...[color=blue]
            > I have a need to simulate the submission of an html-like <form> on the[/color]
            server, and was wondering if[color=blue]
            > anyone knew of something out there that could do that.
            >
            > Thanks for your help,
            > Don
            >
            >[/color]

            PHP 4.3.6+ knows how to do a HTTP post natively. See
            http://www.php.net/stream_context_create/.


            Comment

            Working...