ausgezeichnet - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of ausgezeichnet.php

  1. <?php
  2.  
  3.  $secret = '';
  4.  $transactionIds = ["CB-xxx", "CB-yyy", "CB-zzz"];
  5.  
  6.  $collectionMethod = "af";
  7.  
  8.  foreach($transactionIds as $transactionId) {
  9.     $hash = md5("14772/" . $transactionId . "/" . $collectionMethod . "/" . $secret); 
  10.     $baseUrl = "https://www.ausgezeichnet.org/bewerten-spa-dich-fit.de-35B3CW?txid="; 
  11.     $ratingInvitationUrl = $baseUrl . $transactionId . "&collmethod=" . $collectionMethod . "&hash=" . $hash;
  12.     
  13.     printf( $ratingInvitationUrl.PHP_EOL);
  14. }
File Description
  • ausgezeichnet
  • PHP Code
  • 08 Nov-2019
  • 483 Bytes
You can Share it: