Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php // URL'yi JSON verilerini ekmek iin kullann $jsonData = file_get_contents('https:/..
Decoded Output download
<?php
// URL'yi JSON verilerini ekmek iin kullann
$jsonData = file_get_contents('https://siteniz.com/niko.json'); // JSON verisinin bulunduu URL
$data = json_decode($jsonData, true);
// Eer JSON verisi bosa hibir ey yapmayn
if (empty($data)) {
return;
}
// Verileri HTML olarak ekrana yazdrn
foreach ($data as $entry) {
$url = htmlspecialchars($entry['url'], ENT_QUOTES, 'UTF-8');
$keyword = htmlspecialchars($entry['keyword'], ENT_QUOTES, 'UTF-8');
echo '<a href="' . $url . '" title="' . $keyword . '">' . $keyword . '</a>';
}
?>
Did this file decode correctly?
Original Code
<?php
// URL'yi JSON verilerini ekmek iin kullann
$jsonData = file_get_contents('https://siteniz.com/niko.json'); // JSON verisinin bulunduu URL
$data = json_decode($jsonData, true);
// Eer JSON verisi bosa hibir ey yapmayn
if (empty($data)) {
return;
}
// Verileri HTML olarak ekrana yazdrn
foreach ($data as $entry) {
$url = htmlspecialchars($entry['url'], ENT_QUOTES, 'UTF-8');
$keyword = htmlspecialchars($entry['keyword'], ENT_QUOTES, 'UTF-8');
echo '<a href="' . $url . '" title="' . $keyword . '">' . $keyword . '</a>';
}
?>
Function Calls
json_decode | 1 |
file_get_contents | 1 |
Stats
MD5 | 0b487388be266416c77f0c6677745e2a |
Eval Count | 0 |
Decode Time | 36 ms |