Jump to content

Automatic form submition with socket? HOW?


S4C

Recommended Posts

:-[ So.
I am trying to creat automatic www.baldonesis.lt shop item discription.
the main idea:
1. My script connects thru socket to www.baldonesis.lt/shop/admin/ and automaticly logins.(im just an administrator, i have no premissions to servers php files : ( )
2.If the session is created my "bot" checks all shop items and fills the describtion form:
exaple:
SHOP ITEM: ID blablabla
Then i check my data file (whatever.txt) analyze it for blablabla and if its there i take its description adn submit it.
then "bot" checks another shop item and try to do the same: ) I dont know if it was clear to understand. The main idea is that i dont know how to automaticly submit forms(login or whatever) thruu socket. Tanks for help.

P.S Sorry for my english.
Link to comment
Share on other sites

Well, i know how to use sockets: ) but i need to know how to send data: ) how it should be formated? In other words HOW BROWSER SENDS REQUEST TO SUBMIT FORM : )
My imagination  ;D example:
[code]socket_write($socket, "SUBMIT whateverform POST[username]=whatever POST[password]");[/code]

SUBMIT whateverform POST[username]=whatever POST[password] <- how should this look like ?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.