jrp1
07-11-2008, 07:31 PM
I have a problem that I believe has a simple answer.
I'm working on an image uploading script. If, for some reason, you try to upload an unrecognized file type, it will say "You selected the wrong filetype!". Problem with this is, there's no background, so the background image of my site makes the text hard to read.
Basically what I want is to make the background white, but it looks like PHP or something unfamiliar. Im not too great with coding.
Here's the code:
}
else
{
echo "<font color=\"#333333\" face=\"Geneva, Arial, Helvetica, sans-serif\">You selected a wrong filetype!</font>
<br>\n"; exit;
}
Is there a simple line I can add in there somewhere that makes the BG white? I already tried a few things and no luck.
Thanks in advance.
I'm working on an image uploading script. If, for some reason, you try to upload an unrecognized file type, it will say "You selected the wrong filetype!". Problem with this is, there's no background, so the background image of my site makes the text hard to read.
Basically what I want is to make the background white, but it looks like PHP or something unfamiliar. Im not too great with coding.
Here's the code:
}
else
{
echo "<font color=\"#333333\" face=\"Geneva, Arial, Helvetica, sans-serif\">You selected a wrong filetype!</font>
<br>\n"; exit;
}
Is there a simple line I can add in there somewhere that makes the BG white? I already tried a few things and no luck.
Thanks in advance.