• 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

Google Calendar API batch request PHP

Put content of wordpress page inside div

How to create a video stream from a single dynamic image in PHP

How to fix bootstrap multiselect search data using ajax

Prestashop cUrl Login

Check if a string contain multiple specific words

How to use $this->session->set_userdata in codeigniter

PHP web3 ERC20 token function call

Laravel eloquent update record without loading from database

PHP: How to raise number to (tiny) fractional exponent?

Laravel 8 Multiple Relationships for Factory

Refresh specific HTML content that retrieves data from MySQL

Laravel Unknown Column 'updated_at'

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given [duplicate]

Require a class from another class - php

About Contact Privacy policy Terms and conditions