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

  $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 " '_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,
RGuillermoProject ManagerAsked:
Who is Participating?
BardobraveConnect With a Mentor Commented:
Try to pass the variables through the url, I've found problems sometimes using like you.

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

From novice to tech pro — start learning today.