Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 1.1.3.0
- * @ Author : DeZender
- * @ Release on : 17.05.2011
- * @ Official site : http://DeZender.Net
- *
- */
- function _domain() {
- if (substr( $_SERVER['HTTP_HOST'], 0, 4 ) == 'www.') {
- $domain = substr( $_SERVER['HTTP_HOST'], 4 );
- } else {
- $domain = $_SERVER['HTTP_HOST'];
- }
- return $domain;
- }
- function _lisans($domain) {
- $a = md5( $domain );
- $b = sha1( $domain );
- $c = md5( $a . '' . $b );
- $lisans = substr( $c, 0, 4 ) . '.' . substr( $c, 8, 4 ) . '.' . substr( $c, 16, 4 ) . '.' . substr( $c, 24, 4 );
- return $lisans;
- }
- function _type($id, $access) {
- $json = json_decode( curl_get_file_contents( 'https://graph.facebook.com/' . $id . '?access_token=' . $access ) );
- if (isset( $json->gender )) {
- $type = 'user';
- } else {
- if (isset( $json->category )) {
- $type = 'page';
- } else {
- if (isset( $json->message )) {
- $type = 'status';
- } else {
- if (( isset( $json->height ) && is_array( $json->images ) )) {
- $type = 'photo';
- } else {
- if (( isset( $json->embed_html ) && isset( $json->source ) )) {
- $type = 'video';
- } else {
- $type = 'null';
- }
- }
- }
- }
- }
- return $type;
- }
- function _page_id($id, $access) {
- $json = json_decode( curl_get_file_contents( 'https://graph.facebook.com/' . $id . '?access_token=' . $access ) );
- return $json->id;
- }
- function _user_id($id) {
- $json = json_decode( curl_get_file_contents( 'https://graph.facebook.com/' . $id ) );
- return $json->id;
- }
- function _uid_kontrol($id, $access, $uid) {
- $json = curl_get_file_contents( 'https://graph.facebook.com/' . $id . '?access_token=' . $access );
- $bul = stripos( $json, $uid );
- if ($bul == false) {
- return 'hayir';
- }
- return 'evet';
- }
- ..................................
- ................
- ........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement