• 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

Fatal error: Uncaught Error: Call to undefined method mysqli_stmt::fetch_assoc() [duplicate]

Laravel dosen't connect with Oracle

Refresh specific HTML content that retrieves data from MySQL

ldap is missing from system when installing adldap2 in laravel

correct PHP headers for pdf file download

How can i call a function that executes an fpdf based on the choice of a form selector?

How to get median and quartiles/percentiles of an array in JavaScript (or PHP)?

How do I loop through an MS SQL database with VB.NET?

PHP - installing Xdebug on Mac with XAMPP (Unix File)

Laravel 5 session not persisting after user is logged in

Laravel post contact form giving me error 419

Google Gmail API - How to login programatically?

How to programmatically find public properties of a class from inside one of it's methods

How can I create a Download Page with post php method?

Show only featured products in Woocommerce shop page

About Contact Privacy policy Terms and conditions