Google Answers Logo
View Question
Q: perl lwp post ( No Answer,   0 Comments )
Subject: perl lwp post
Category: Computers > Internet
Asked by: virtanet-ga
List Price: $100.00
Posted: 17 Aug 2004 11:26 PDT
Expires: 24 Aug 2004 11:01 PDT
Question ID: 389053
Hi I need a perl script to enter the contact form for a user such as this, on ebay,

.. just as if "Contact Member" was selected from a browser.

then, send them a message, (ie: for if someone wins one of my
auctions, to automatically send them shipping details or ask for
payment if a few days pass after the auction) here

.. which is refered from the previous page.

This script, I found on google, logs me in,


use LWP; 
use HTTP::Request::Common; 
use HTTP::Cookies; 
$userid =       'userid'; 
$pass   =       'password'; 
$ua = LWP::UserAgent->new; 

$req=$ua->request(GET '');

$req=$ua->request(POST '',
        'MfcISAPICommand'       =>      'SignInWelcome',
        'siteid'                        =>      0, 
        'co_partnerId'          =>      2,
        'UsingSSL'                      =>      0,
        'ru'                            =>      '',
        'pp'                            =>      '',
        'pa1'                           =>      '',
        'pa2'                           =>      '',
        'pa3'                           =>      '',
        'i1'                            =>      -1,
        'pageType'                      =>      559,
        'userid'                        =>      $userid,
        'pass'                          =>      $pass,

.., but when I try a similar POST, based on the parameter settings I
see in the source output from my browser, it does not "contact user"

$req=$ua->request(POST '',


'MfcISAPICommand' =>    'ReturnUserEmail',
'requested'     =>      'phildevon',
'frm'           =>      279,
'iid'           =>      -1,
'de'            =>      'off',
'redirect'      =>      0,
'contactsubmit' =>      'Contact Member',


There is no answer at this time.

There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy