[Twisted-Python] HTTP POST method in php on twisted server

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Sun Apr 18 11:23:52 EDT 2010


On 16 Apr, 04:24 am, tuxattack14 at gmail.com wrote:
>Hi,
>I am trying to use php script on twisted server using twcgi.I want to 
>make
>use of http POST method in that.What I want to do is, suppose I am 
>having
>one html page say index.html and from that page I want to redirect to 
>other
>php page and pass data to that php page using POST method.But I am not 
>able
>to access any POST data in php script.When I debugged through
>twcgi.CGIScript.render method, I didn't find any reference to POST 
>data.So
>how can i make use of POST data in php ?

I don't really understand the question.  You have a lot of stuff going 
on here:

  * HTTP POSTs
  * Redirects
  * CGIScript
  * PHP

Can you try to describe the scenario you're trying to get working step 
by step, carefully separating each of these different pieces?

You may also want to post follow-ups to the twisted-web mailing list 
instead.

Jean-Paul



More information about the Twisted-Python mailing list