I have some code that I know works - as I have tested it with MAMP to make sure...
<?php
$dir = "./flash/portfolio/branding/images/";
$jpgs = glob($dir . "*.jpg");
foreach ($jpgs as $jpg) {
echo "<img src='{$jpg}' /><br />";
}
?>
but when I use this in one of my pages in wordpress all it shows is 5 broken image links... it's odd it has the correct number of files... but it is as if wordpress (or exec-php) will not render the jpgs..
any ideas here?