<?php

$file = fopen(__FILE__, 'r+');

// Dosyayı kilitleme denemesi
if (!flock($file, LOCK_EX | LOCK_NB)) 
{
    exit('Betiğin bir örneği zaten çalışıyor.');
}

// Betiğin asıl içeriği burada yer alır.
// ...
// ...

// Kiliti serbest bırak
flock($file, LOCK_UN);

// Dosyayı kapat
fclose($file);
?>

Categories: PHP language

468 Comments

scam · 25/01/2024 at 23:35

Fabulous, well executed

scam · 26/01/2024 at 00:02

Marvelous, impressive

scam · 26/01/2024 at 03:27

Super, fantastic

айфон 15 про цена · 26/01/2024 at 03:36

Asking questions are actually pleasant thing if you are not understanding anything entirely, but this article gives good understanding even.

scam · 26/01/2024 at 12:22

nice content!nice history!! boba 😀

scam · 26/01/2024 at 13:56

wow, amazing

scam · 26/01/2024 at 14:39

Stellar, keep it up

scam · 26/01/2024 at 16:45

Remarkable, excellent

liechtenstein praca · 27/01/2024 at 08:20

Remarkable things here. I am very glad to see your article.
Thank you so much and I am having a look ahead
to touch you. Will you kindly drop me a e-mail?

Leave a Reply

Avatar placeholder