• 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

Dynamic dropdown Ajax PHP request

Wordpress wpdb->delete issue

Distribute array row data to make multiple new rows

Laravel after login Two factor not working

Creating live search with AJAX and CodeIgniter

Show date difference as "20" instead of "20 years ago"

How to Generate PDF invoice to XML format using mPDF

Auto increment id JSON

PHP using str_starts_with for array to exclude same as with wildcard

Target class controller does not exist - Laravel 8

storagelogs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied

how to create html table in php

xdebug 3 not working in ubuntu 20.04 with docker

Issue saving card for customer

How to loop a tree array with unknown depth and get array blocks?

About Contact Privacy policy Terms and conditions