Link to home
Start Free TrialLog in
Avatar of RGuillermo
RGuillermoFlag for United States of America

asked on

Inet.execute

Hello Experts,
Using VB and Inet I need to send four parameters to a web page. Then the result displayed by this web page I need to download.

My web page has the following

<BODY><?php
  $use_nam = $_POST['use_nam'];
  $use_pwd = $_POST['use_pwd'];
  $sch_cod = $_POST['sch_cod'];
  $uni_cod = $_POST['uni_cod'];
  $roo_cod = $_POST['roo_cod'];
  $gro_cod = $_POST['gro_cod'];
....

How can i send the values from Vb ??
Here is my VB code

inet1.Execute "http://www.mysite.com/mypage.php?option=com_vest&task=resultdetail '_blank'>https://www.mysite/mypage.php?option=com_vest&task=resultdetail", "POST", "use_nam=" & use_nam & "&use_pwd=" & use_pwd, "Content-Type: application/x-www-form-urlencoded"

Best regards,
ASKER CERTIFIED SOLUTION
Avatar of Bardobrave
Bardobrave
Flag of Spain image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial