<?php

$cr_id = "";

$req = "
<xml>
  <contractor>
    <auth>
      <session_id>949734773drt319d05f415ehrzfnd05f415ehrz</session_id>
      <passphrase>21d910334a78180321s83g</passphrase>
    </auth>
    <operation>INS</operation>
    <debug_on>YES</debug_on>

    <cr_id>" . $cr_id . "</cr_id>
    <cr_eid></cr_eid>
    <cr_sid>HH1001</cr_sid>
    <hq_id></hq_id>
    <cr_id_parent>5</cr_id_parent>
    <vht_id></vht_id>
    <vht_id_inv></vht_id_inv>
    <cr_vh_sign>HH-XY 101</cr_vh_sign>
    <cr_imei>812345678</cr_imei>
    <cr_mobile_pda>017212345678</cr_mobile_pda>
    <cr_maxweight>30</cr_maxweight>
    <cr_outlay>100</cr_outlay>
    <cr_locationzipcode>22844</cr_locationzipcode>
    <cr_available></cr_available>
    <cr_availabletime></cr_availabletime>
    <cr_occupied></cr_occupied>
    <cr_logintime></cr_logintime>
    <cr_gps_long></cr_gps_long>
    <cr_gps_lat></cr_gps_lat>
    <cr_gps_time></cr_gps_time>
    <cr_gps_type></cr_gps_type>
    <cr_mobile_cell></cr_mobile_cell>
    
    <cr_weekdays>255</cr_weekdays>

    <company>
      <cmp_type>0</cmp_type>

      <cmp_comp>AN_041</cmp_comp>
      <cmp_comp2>AN_042</cmp_comp2>
      <cmp_comp3>AN_043</cmp_comp3>
      <cmp_comp4>AN_044</cmp_comp4>

      <ad_street>Ottensener Str.</ad_street>
      <ad_hsno>8</ad_hsno>
      <ad_zipcode>22525</ad_zipcode>
      <ad_city>Hamburg</ad_city>
      <ad_country>DE</ad_country>

      <cmp_iln>AN41ILN12345678</cmp_iln>
      <cmp_tax_idno>AN41ST4567</cmp_tax_idno>
      <cmp_stax_idno>AN41UST4567</cmp_stax_idno>

      <cmp_bank>HASPA</cmp_bank>
      <cmp_bankno>200 505 50</cmp_bankno>
      <cmp_bankacc>1234 34 56 78</cmp_bankacc>
      <cmp_iban></cmp_iban>
      <cmp_swift>1234567890</cmp_swift>

      <cmp_logo>an41_logo.jpg</cmp_logo>
      <cmp_logo_width>400</cmp_logo_width>
      <cmp_logo_height>300</cmp_logo_height>

      <cmp_remark>BEMERKUNG_AN41</cmp_remark>
      <cmp_remark2>BEMERKUNG_AN41</cmp_remark2>
      <cmp_match>BUZZWORDS HERE AN41</cmp_match>
      <cmp_match2>TEST AN41</cmp_match2>

      <cmp_newsletter>0</cmp_newsletter>
      <cmp_pda_usage>1</cmp_pda_usage>
    </company>

    <user>
      <usr_name>Name41</usr_name>
      <usr_firstname>Vorname41</usr_firstname>
      <usr_birthdate>1960-04-01</usr_birthdate>

      <usr_email>test41@test41.de</usr_email>
      <usr_inv_email>inv.test@test.de</usr_inv_email>
      <usr_phone>040 456789041</usr_phone>
      <usr_phone2>0172 123456741</usr_phone2>
      <usr_fax></usr_fax>

      <usr_account>an_test_41</usr_account>
      <usr_password>antest1234</usr_password>
    </user>

    <couriervehicles>
      <couriervehicle>


      </couriervehicle>

    </couriervehicles>

  </contractor>
</xml>";

$reqEncoded = urlencode($req);
?>


<html>

<head>

</head>

<body>

  <form name="test_request" action="https://mps1.assecutor.de/test_tp/service/contractor_request.php" method="post">
  
    <input type="hidden" name="contractorReq" value="<?php echo $reqEncoded ?>">

    <input type="submit" value="Senden POST">


  </form>

</body>

</html>
