• 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

Center point of multiple gps coordinates with php

how to create html table in php

Why does using salted hash on python and php give me different results?

Dynamic table in HTML using MySQL and php

SQLSTATE[HY000]: General error: 1 table posts has no column named *

Limit of log line written to Apache Errorlog from mod php error_log

(Laravel) How to delete multiple models including optional relationships?

Log file is not being written in Laravel 5.5

Symfony Make:Migration : The metadata storage is not up to date, please run the sync-metadata-storage command to fix this issue

How to get the survey List from surveygizmo API in the Postman?(Trial Version)

how to get value from array in laravel

Get number of working days between two dates in PHP [duplicate]

Add bold text and line break into Laravel Notification Email

Shortcode or PHP inside a shortcode in Wordpress

Merge column values from two arrays to form an indexed array of associative arrays

About Contact Privacy policy Terms and conditions