A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 113

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 280

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 145

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 223

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 303

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 344

Kişisel Yazılım Notları
Öneri ve Hata Raporu



Günün Sözü Sevemez kimse seni benim sevdiğim kadar
twitter takip facebook takip youtube takip

kategori PHP
okunma 4030 kez okundu yorum 0 yorum tarih 21 Haziran 2015

php

IP adresi kayıtlarını IP kontrolleri, IP yasaklama, hit sayma, oylama yapma vb. gibi nedenlerle tutmamız gerekebilir. Ancak veritabanında IP adresi tutmak çok güvenli bir yöntem deÄŸildir. Bu yüzden PHP'nin bize saÄŸladığı ip2long() ve

kategori PHP
okunma 3934 kez okundu yorum 0 yorum tarih 21 Haziran 2015

php

PHP'nin kullanımı çok basit fonksiyonlarından biridir. str_repeat() ile istediÄŸiniz string deÄŸerini istediÄŸiniz kadar tekrar ettirebilirsiniz. ÖrneÄŸin; "ba" kelimesini 2 kere yazdırıp "baba" kelimesini elde edebilirsiniz. 2 parametre ile kullanılır. Åžimdi kullanımına ve örneÄŸe

kategori PHP
okunma 3502 kez okundu yorum 0 yorum tarih 21 Haziran 2015

php

Çok sık kullanılmayan bir fonksiyon olan array_fill() ile dizileri istediÄŸimiz deÄŸerle istediÄŸimiz sayı kadar doldurabiliriz. ÖrneÄŸin; diziyi 5. indisten itibaren 3 kere yineleyip (yani 7. indise kadar) "Hakan" ile doldurabiliriz. 3 parametre ile kullanılır.

kategori PHP
okunma 8390 kez okundu yorum 0 yorum tarih 20 Haziran 2015

php

strpos() fonksiyonu bir stringin baÅŸka bir string içerisinde bulunduÄŸu ilk konumu döndürür. ÖrneÄŸin; "sen seni bil sen seni" stringi içerisinde "sen" stringinin bulunduÄŸu ilk konum deÄŸerini döndürür. Büyük küçük harflere duyarlıdır (case-sensitive). Stringin ilk

kategori PHP
okunma 8198 kez okundu yorum 0 yorum tarih 18 Haziran 2015

php

Makale baÅŸlığında da belirtildiÄŸi üzere PHP'de dizilerde sıralama yapmaya yarayan çeÅŸitli fonksiyonlar vardır. Dizideki elemanları alfabetik ya da sayısal açıdan, azalan ya da artan bir ÅŸekilde sıralayabiliriz. Åžimdi tek tek sort() rsort() asort()

kategori PHP
okunma 5350 kez okundu yorum 0 yorum tarih 18 Haziran 2015

php

print_r() fonksiyonu esasen PHP'nin diÄŸer yazdırma fonksiyonları gibi (echo, print) deÄŸiÅŸkenleri yazdırmaya yarar. Ancak print_r() fonksiyonunu diÄŸerlerinden ayıran özellik dizileri yazdırmasıdır. Yani echo ve print ile dizileri yazdıramayız ama print_r() ile diziyi ve