[+] EDITØR MODE [+]
htdocs
>
web
>
PHP_script
>
showimage.php
Edit File: showimage.php
<head> <!-- ------------------------------------------------META------------------------------------------------ --> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-equiv="cache-control" content="max-age=0" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="expires" content="0" /> <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" /> <meta http-equiv="pragma" content="no-cache" /> <!-- ------------------------------------------------CSS------------------------------------------------ --> <link rel="stylesheet" href="../css/home.css" /> </head> <?php $cat_fld = $_GET['cat_fld']; $id_fld = $_GET['id_fld']; $img = $_GET['img']; if (empty($img)){ echo ''; }else { echo '<img src="../upload/'.$cat_fld.'/'.$id_fld.'/'.$img.'" class="r" />'; } ?>
Method:
fopen()
file_put_contents()
stream_context_create()
Simpan
Rename:
Rename