Warning: mkdir(): No space left on device in /var/www/tgoop/post.php on line 37

Warning: file_put_contents(aCache/aDaily/post/jupiterAPI/--): Failed to open stream: No such file or directory in /var/www/tgoop/post.php on line 50
ژوپیتـر اِی‌پی‌آی | Jupiter API@jupiterAPI P.993
JUPITERAPI Telegram 993
📌 یه لاگر ساده پی اچ پی برای کارای دمو دستی با محدودیت حجم روی لاگ
$logFile = 'php.log';
function logMessage($message, $limit = 10 * 1024 * 1024): void
{
global $logFile;
if (file_exists($logFile)) {
$fileSize = filesize($logFile);
if ($fileSize > 2 * $limit) {
$fileContent = file_get_contents($logFile);
$fileContent = substr($fileContent, -1 * $limit);
file_put_contents($logFile, $fileContent);
}
}
$timestamp = date("Y-m-d H:i:s");
$log = "\033[33m[$timestamp]\033[0m $message" . PHP_EOL;
file_put_contents($logFile, $log, FILE_APPEND);
print $log;
}

#logger
🐳41



tgoop.com/jupiterAPI/993
Create:
Last Update:

📌 یه لاگر ساده پی اچ پی برای کارای دمو دستی با محدودیت حجم روی لاگ

$logFile = 'php.log';
function logMessage($message, $limit = 10 * 1024 * 1024): void
{
global $logFile;
if (file_exists($logFile)) {
$fileSize = filesize($logFile);
if ($fileSize > 2 * $limit) {
$fileContent = file_get_contents($logFile);
$fileContent = substr($fileContent, -1 * $limit);
file_put_contents($logFile, $fileContent);
}
}
$timestamp = date("Y-m-d H:i:s");
$log = "\033[33m[$timestamp]\033[0m $message" . PHP_EOL;
file_put_contents($logFile, $log, FILE_APPEND);
print $log;
}

#logger

BY ژوپیتـر اِی‌پی‌آی | Jupiter API


Share with your friend now:
tgoop.com/jupiterAPI/993

View MORE
Open in Telegram


Telegram News

Date: |

In the “Bear Market Screaming Therapy Group” on Telegram, members are only allowed to post voice notes of themselves screaming. Anything else will result in an instant ban from the group, which currently has about 75 members. It’s yet another bloodbath on Satoshi Street. As of press time, Bitcoin (BTC) and the broader cryptocurrency market have corrected another 10 percent amid a massive sell-off. Ethereum (EHT) is down a staggering 15 percent moving close to $1,000, down more than 42 percent on the weekly chart. Public channels are public to the internet, regardless of whether or not they are subscribed. A public channel is displayed in search results and has a short address (link). Administrators While the character limit is 255, try to fit into 200 characters. This way, users will be able to take in your text fast and efficiently. Reveal the essence of your channel and provide contact information. For example, you can add a bot name, link to your pricing plans, etc.
from us


Telegram ژوپیتـر اِی‌پی‌آی | Jupiter API
FROM American