Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Then create a file such as images.php, then when you want say image.jpg, call images.php?img=image.jpg.
SOURCE OF images.php:
<?php
$img = $_GET['img'];
$path = "\path to images folder leaving in trailing slash\";
$instr = fopen($path.$img,"rb");
$bytes = fread($instr,filesize($pat
header("Content-type: image/jpeg");
echo $bytes;
?>
Hope this helps :)
Gileze33.