Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80533 > unrolled thread

Re: Communicating with a PHP script (and pretending I'm a browser)

Started byJoel Goldstick <joel.goldstick@gmail.com>
First post2014-11-11 11:43 -0500
Last post2014-11-11 11:43 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Communicating with a PHP script (and pretending I'm a browser) Joel Goldstick <joel.goldstick@gmail.com> - 2014-11-11 11:43 -0500

#80533 — Re: Communicating with a PHP script (and pretending I'm a browser)

FromJoel Goldstick <joel.goldstick@gmail.com>
Date2014-11-11 11:43 -0500
SubjectRe: Communicating with a PHP script (and pretending I'm a browser)
Message-ID<mailman.15671.1415724235.18130.python-list@python.org>
On Tue, Nov 11, 2014 at 11:37 AM, Larry Martell <larry.martell@gmail.com> wrote:
> On Tue, Nov 11, 2014 at 10:54 AM, Chris Angelico <rosuav@gmail.com> wrote:
>> On Wed, Nov 12, 2014 at 2:48 AM, Larry Martell <larry.martell@gmail.com> wrote:
>>> Is there some way python can communicate like curl ... it needs to
>>> send the request string in the body of a POST request to the URL that
>>> will route to the PHP script and get the output back.
>>
>> That is possible, but probably more effort than it's worth. It'll
>> likely be easier to just do the translation all at once.
>
> I would tend to agree, but that's not what my client wants. Also, it's
> A LOT of PHP code so it does make some small amount of sense.
> --
> https://mail.python.org/mailman/listinfo/python-list

Is your client technically savvy? If not, then what is he paying you
for? It sounds like he may be paying you to implement his bad idea.
Maybe you can outline a better approach that he can buy into

-- 
Joel Goldstick
http://joelgoldstick.com

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web