user3710844
user3710844

Reputation: 89

PHP Form POST automated. Your ideas?

This isn't a real code problem but more a where and how to start problem. So I hope you can give me some creative ideas, examples or share your thoughts !

After login in to a website, I can change my product details, this is done by HTTP POST forms. Because we have over 1000 products I somehow want to customise / easyify.

My idea was, make a PHP form on my own server which submits to the supplier url(s). However when doing this, it forwards us to the customer login.

If I temper my submitted data in firefox, I see this is because after login a cookie is been set and obvious our system does not have this.

Anyone an idea how to automate this process ? In other words, how can I set this cookie in my php form in order to submit it succesfully.

Or Im I thinking about the wrong solution ?!

Upvotes: 0

Views: 59

Answers (1)

Funk Doc
Funk Doc

Reputation: 1643

You cannot post to another server unless you use cURL or something like that. Maybe I am not understanding your question.

Upvotes: 1

Related Questions