I have 2 files... one that is very simple and only contains (for right
now):
<?php
$fontcolor = "0,0,0";
require("/home/rbrooks4/public_html/ticker/image.php");
?>
image.php is a simple image creation via GD library. When I go to the
first page, i get the generic image cannot be displayed because of
errors. However if I go to image.php and paste the $fontcolor =
"0,0,0"; line into the top of that file, the image displays. This says
I have some funkiness with my require(). Is this just not possible to
do? I don't understand what the difference is between the file pasted
above, and pasting the one line on top of image.php.
And yes, i took out the <? ?> tags of image.php when i used it as the
require.