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 | |
public function runTestCollections() { | |
pre("SORGU BAÞLIYOR..."); | |
$tarih = '20130401'; | |
//$sonuc = array(); | |
$SQL = "BEGIN TEST_COLLECTIONS(:TARIH, :SONUC); END;"; |
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 | |
//phpinfo();die; | |
show(); | |
function show() { | |
$conn=connect(); | |
$text= '<html>'; | |
$text.='<meta http-equiv="Cache-Control" content="no-store,no-cache,max-age=-1"> | |
<meta http-equiv="Pragma" content="no-cache"> |
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
ajax isteğine döndürülecek metini buraya yazıyoruz. |
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 | |
function deltree( $f ,$filename,$remove=false){ | |
if( is_dir( $f ) ){ | |
foreach( scandir( $f ) as $item ){ | |
if( !strcmp( $item, '.' ) || !strcmp( $item, '..' ) || !strcmp( $item, '.svn' ) ) | |
continue; | |
$path= $f . "/" . $item; | |
deltree($path,$filename,$remove ); |
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
program ProjectMysqlADO; | |
{$APPTYPE CONSOLE} | |
uses | |
ActiveX, | |
DB, | |
ADODB, | |
SysUtils; |
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
fluent interface design pattern - method chaining olarak da adlandırılabilir | |
class propertylere değer atayan setter methodlar içersinde return $this ile objeji döndürüyoruz | |
public function setAd($ad){ | |
$this->_ad = $ad; | |
} | |
public function setSoyad($soyad){ | |
$this->_soyad = $soyad; |