> "tedpot...@gmail.com" (t) wrote:
>t> Hi,
>t> I'm trying to post data to a short test script in php I wrote.
>t> The python code to do the post is
>t> import httplib
>t> #server address
>t> conn = httplib.HTTPConnection("localhost")
headers = {"Content-type": "application/x-www-form-urlenc
On Sep 29, 10:24 am, "tedpot...@gmail.com"
wrote:
> Hi,
> I'm trying to post data to a short test script in php I wrote.
> The python code to do the post is
> import httplib
>
> #server address
> conn = httplib.HTTPConnection("localhost")
>
> #file location
> conn.request("POST", "/programming/bot
Hi,
I'm trying to post data to a short test script in php I wrote.
The python code to do the post is
import httplib
#server address
conn = httplib.HTTPConnection("localhost")
#file location
conn.request("POST", "/programming/bots/test.php","&ted=fred")
r1 = conn.getresponse()
print r1.status, r1.