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
https://forums.phpfreaks.com/topic/18422-automatic-form-submition-with-socket-how/
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 ?

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.