well what i have so far is a php script that pulls a URL that has suffixes associated with particular images from a mysql database, then passes that to a Flash movie once PHP and Flash have agreed that login access should be granted. Flash then takes that URL and opens a new php window and inserts the suffix values into $_GET values to display the correct image. The problem is when Flash encounters a '&' its stops processing that variable.
So the URL that is being opened from Flash is something like http://www.somedomain.com?one=1
instead of ?one=1&two=2
so what im trying to do is replace '&' with something else so when PHP sends it to Flash it will read the whole URL and be able to send it to the new PHP window where it can replace the new symbol back to '&' before diplaying the image associated with it.
whew.
some code from the php doc that actually displays the image.
<?php
$pid = $GET['pic_id'];
$id = $GET['id'];
$query = "SELECT * FROM login WHERE id='$id'";
$result = mysql_query($query);
$row = mysql_fetch_array($result);
$query2 = "SELECT * FROM login LEFT JOIN uploads ON login.id=uploads.upload_id WHERE uploads.pic_id='$pid' ORDER BY upload_date ASC";
$result2 = mysql_query($query2);
?>
<p class="bodycopy"><?php echo $row['project']; ?></p>
<?php
while($row2 = mysql_fetch_array($result2, MYSQL_ASSOC)){
echo'<p class="labels"><img src="' . $row2['id'] . '.' . $row2['type'] . '"></p><br>';
}
?>