rawurlencode

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
URL-encode according to RFC 3986
<?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);
<?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);
<?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);