Python to PHP Login System (HTTP Post)

Justin Azoff justin.azoff at gmail.com
Thu Jun 22 19:19:50 EDT 2006


Jeethu Rao wrote:
> You need to use httplib.
> http://docs.python.org/lib/httplib-examples.html
>
> Jeethu Rao

Not at all.  They need to read the documentation for urrlib:

http://docs.python.org/lib/module-urllib.html
http://docs.python.org/lib/node483.html
"The following example uses the "POST" method instead:"....

Additionally, they probably need to use cookielib, otherwise the logged
in state will not be persistant.

-- 
- Justin




More information about the Python-list mailing list