This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include 'crypt.php'; | |
include 'db.php'; | |
if( ! empty($_POST['phone']) && ! empty($_POST['email'])) { | |
$key = $_POST['email']; | |
$crypt = new Crypt(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^files/(.*).exe$ download.php [NC] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// $array - our array | |
$map = array(); | |
$res = null; | |
foreach($array as $value) { | |
if(isset($map[$value])) { | |
$res = $value; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* --------------------------------- */ | |
Ext.define ('My.observable.Object', { | |
mixins: { | |
observable: 'Ext.util.Observable' | |
} , | |
constructor: function (cfg) { | |
var me = this; | |
me.initConfig (cfg); | |
me.mixins.observable.constructor.call (me, cfg); |