Mulig dette kan gå via cURL. Har altfor lite erfaring med cURL til å kunne si noe for sikkert, men du kan jo sjekke det opp.
Wikipedia om cURL:
The main purpose and use for cURL is to automate unattended file transfers or sequences of operations. For example, it is a good tool for simulating a user's actions at a web browser.
cURL kan brukes i PHP også:
http://no.php.net/curl
Men som sagt, har jobbet altfor lite med cURL til å vite om dette kan brukes til å løse ditt problem