well, sort of. I got it working, but now I can't seem to get rid of the last '> no matter how I try it, I tried trimming it, and I also tried this:
$FileSource="<a href='images.php?File=/Jazz/Vintage/tigereyepin.jpg'><img src='/Jazz/Vintage/tigereyepin.jpg'
border='0' align='left' height='100' width='100'></a>";
$startPos=strpos($FileSource, "?") +1;
$endPos=strpos($FileSource, "'>") -2;
$FilePath=substr($FileSource, $startPos, $endPos);
echo"$FilePath";
the ? vanishes, no issue. The img src code vanishes, no issue. But no matter what that little '> stays there like this:
File=/Jazz/Vintage/tigereyepin.jpg'>
why cann't I delete it? I viewed the source of the page and there are no hidden characters being displayed or anything. huhuhuh?