This file contains 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
<meta charset="utf-8"> | |
<?php | |
function tcno_dogrula($bilgiler){ | |
$gonder = '<?xml version="1.0" encoding="utf-8"?> | |
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> | |
<soap:Body> | |
<TCKimlikNoDogrula xmlns="http://tckimlik.nvi.gov.tr/WS"> | |
<TCKimlikNo>'.$bilgiler["tcno"].'</TCKimlikNo> | |
<Ad>'.$bilgiler["isim"].'</Ad> |
This file contains 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 | |
return array( | |
/* | |
|-------------------------------------------------------------------------- | |
| Validation Language Lines | |
|-------------------------------------------------------------------------- | |
| | |
| The following language lines contain the default error messages used by | |
| the validator class. Some of these rules have multiple versions such |
This file contains 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 | |
function link_temizle($par) { | |
$desen = "/[a-zA-Z]*[:\/\/]*[A-Za-z0-9\-_]+\.+[A-Za-z0-9\.\/%&=\?\-_]+/i"; | |
$cevirilecek = ""; | |
return preg_replace($desen, $cevirilecek, $par); | |
} | |
This file contains 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 | |
function dosya_indir($link,$dosya_adi=NULL){ | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL,$link); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
curl_setopt($ch, CURLOPT_BINARYTRANSFER,1); | |
curl_setopt($ch, CURLOPT_HEADER, 0); | |
$dosya=curl_exec($ch); | |
curl_close($ch); |
This file contains 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 | |
/* | |
* Author : Savaş Can Altun | |
* Web : http://savascanaltun.com.tr | |
* Mail : savascanaltun@gmail.com | |
* GİT : http://github.com/saltun | |
* Date : 31.08.2014 | |
* Update : 31.08.2014 | |
*/ |
This file contains 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
<!DOCTYPE html> | |
<!-- | |
* Author : Savaş Can Altun | |
* Web : http://savascanaltun.com.tr | |
* Mail : savascanaltun@gmail.com | |
* GİT : http://github.com/saltun | |
* Date : 31.08.2014 | |
* Update : 31.08.2014 | |
--> | |
<html lang="en"> |
This file contains 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 | |
/* | |
Author : Savaş Can Altun < savascanaltun@gmail.com > | |
Date : 05.09.2014 | |
*/ | |
namespace Tanrilar; | |
Class Zeus | |
{ | |
public function ozellik() |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>%100 İframe</title> | |
</head> | |
<body > | |
This file contains 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 | |
$yazi="SavaÅ Can Altun "; | |
$ara = array ('ı','Å?','ü','ç','ö','Ä?','ÅŸ','Ç','Ä°','ÄŸ','Åž','Ö','Ãœ','ı','Å?','ç','ö','Ä?','ÅŸ','Ç','Ä°','ÄŸ','Åž','Ö','Ãœ','ü','ÄŸ'); | |
$degis = array ('ı','ş','ü','ç','ö','ğ','ş','Ç','i','ğ','Ş','Ö','Ü','ı', 'ş', 'ç', 'ö', 'ğ', 'ş', 'Ç', 'i', 'ğ', 'Ş', 'Ö', 'Ü', 'ü', 'ğ'); | |
$yazi = str_replace($ara, $degis, $yazi); | |
echo $yazi; // Savaş Can Altun | |
?> |
This file contains 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 | |
$args=array( | |
'include' => 1, // kategori id si gelecek - Category id | |
'orderby' => 'name', | |
'order' => 'ASC' | |
); | |
$categories=get_categories($args); | |
foreach($categories as $category) { | |
echo $category->name." (".$category->count.")"; // Genel (1) | |
} |
OlderNewer