hi again. i cant stress how thankful i am. but speaking of stress, it isnt working. ive been trying to get this to work for about half an hour now and i just understand why it isnt working. here is what i have so far:
- my image directory is
http://illconcepts.puregraffiti.com/images
- my $imagedir is "images"
i set up an image.gif file in the images directory and it still wont work. as soon as i load the page i get the file not found error in my table. here is what i have so far.
Code:
// Image Directory
$imagedir = "images";
if (IsSet($HTTP_GET_VARS['image']) && IsSet($HTTP_GET_VARS['text']) && file_exists("$imagedir/$HTTP_GET_VARS[image]")) {
?>
<table border="0" width="100%">
<tr>
<td><img src="<?php echo "$imagedir/$HTTP_GET_VARS[image]"; ?>" border="0"></td>
</tr>
<tr>
<td><?php echo "$HTTP_GET_VARS[text]"; ?></td>
</tr>
</table>
<?php
} else {
echo "File Not Found";
}
?>
and
Code:
<tr>
<td width="90" class="td.rowpic" nowrap="nowrap"><span class="gensmall"><a href="right.php?image=image.gif&text=test" target="right_frame">
45 Lies</a> 2 3 4 5</td></span>
</tr>
again, all this help is greatly appreated. cheers.