• 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 edit Records using CodeIgniter

HTML and PHP in one file

woocommerce get_order_report_data to show order_item_id

Wordpress how to get the post thumbnail inside a figure tag

Jquery DataTables: Data not displaying in table via Ajax

PHP echo values of all sub keys [duplicate]

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

PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: no such host known

Convert regular text to array using notepad++

Attempted to call an undefined method named "get" of class "MailController"

Laravel Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) on a sub query with "ROW_NUMBER() OVER PARTITION"

Printing more than one array using print_r or any other function in php

dompdf and img tag, image wont show

Problem with fetching data from database in Laravel

Laravel passport auth token not working after moving to different server

About Contact Privacy policy Terms and conditions