• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

how to use extended ASCII instead of unicode in PHP

phpvisual-foxpro


PHP Snippet 1:

SUBSTR(key,1,1)

PHP Snippet 2:

$clAve[0]

PHP Snippet 3:

function Encripta($teXto){
    $clAve = ")&H%\$V1#@^+=?/><:MN*-";
    $teXtoenc = "";
    $c = 0;
    for($j = 0; $j < strlen($teXto); $j++){
        $leTra = (ord($teXto[$j]) + ord($clAve[$c])) % 256;
        $c ++;
        $teXtoenc .= chr($leTra);
        if($c >= strlen($clAve))
            $c = 0;
    }
    return $teXtoenc;
}
?>

PHP Snippet 4:

72 38 / 111 72 / 108 37 / 97 36 

PHP Snippet 5:

72 41 / 111 38 / 108 72 / 97 37

Related Snippets

How to remove from a multidimensional array all duplicate elements including the original?

Using Associative arrays

how to fix Service provider class not found when using repository?

How can I make Laravel return a custom error for a JSON REST API

Open a popup box after receiving result from ajax

Group rows by column and sum another column within groups [duplicate]

Laravel UUID generation

Check if user online laravel

PHP SoapClient: set a namespace without prefix

How can i update or reset my password without entering email field in laravel-8?

How to separate letters and digits from a string in php

selected value from the listbox in php

PHP Startup: Unable to load dynamic library 'openssl' in Ubuntu

Auto increment id JSON

Problem with fetching data from database in Laravel

About Contact Privacy policy Terms and conditions