<?php rawurlencode(string $string): string
<?php $encoded_uri = str_replace('%2F', '/', rawurlencode($canonical_uri)); if ($AWSRegion == 'us-east-1') {
<?php $query_string = ""; foreach ($x_amz_params as $key => $value) { $query_string .= rawurlencode($key) . '=' . rawurlencode($value) . "&"; } $query_string = substr($query_string, 0, -1);