27 Jun 20:28
Re: POST vs.GET
Hi Mark, Thanks for your reply. I think I know what the problem is. It is not petal but the apache mod_rewrite that does not handle the post request correctly. I will see if I can find a solution to that. Regards, Jing Mark Holland wrote: > Hi Jing, > > Is this script running under mod_perl? If so, are trying to read in > the POSTed data twice? POST data read can only be read once under > mod_perl. > > ~mark > > Jing Wang wrote: > >> These are the things I have tried: >> 1. <form method="get" action="some_petal_page.pt">: works fine; >> 2. <form method="post" action="some_cgi_script.pl">: works fine; >> 3. <form method="post" action="some_petal_page.pt">: does not work. >> It looks like my browser does not recognize "some_petal_page.pt". It >> acts like I am downloading a file. >> Just to clarify, I have a "request-broker" perl cgi that retrieves >> all the parameters passed from a petal page, and processes the >> resulting petal page.(Continue reading)
RSS Feed