howdy,
I was wanting to write a front end in php for posting to craigslist. I wont be spamming and my intentions are within the terms of service and general good taste.
Perhaps someone has an idea of how i might start this? The link to the page to post to is static (ie: https://post.craigslist.org/hmb/C/ats/none/x) but the html form field names and the name of the action are generated randomly every time one goes to the page.
A good first step would be just to automatically populate the fields of the html form. "automatically populate the fields of an html form" doesn't do me so well in a google search, so perhaps someone knows at least some keywords to get me on the research road.
autofiling html forms (craigslist)
Moderator: General Moderators
-
blurredvision
- Forum Newbie
- Posts: 9
- Joined: Fri Apr 04, 2008 5:34 am
Re: autofiling html forms (craigslist)
I'm a complete noob at PHP, so forgive me if this is a stupid question. But can you even do something like this with a server-side scripting program? Wouldn't javascript or something be better suited for this task?
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: autofiling html forms (craigslist)
You don't literally want to "populate" the form with values, you simply want to make a POST request with the said values.
Take a look at cURL
Take a look at cURL