|
Posted by Tex John on 08/21/05 18:24
> if ((strtolower(substr(strrchr($filename, "."), 3)) == 'jpg') ||
(strtolower(substr(strrchr($filename, "."), 3)) == 'tif')) {
> # display
> }
"Phil McKraken" <tingtejs@hotmail.com> wrote in message
news:k4fgg1pnk1qjuegg3r1lbr0t1kl1lrtsto@4ax.com...
> Trying to keep this php script from viewing/displaying/working with
> ANYTHING except jpg or tiff files.
>
> I was given this:
>
> if (substr(strrchr($filename, "."), 1) != 'php') {
> # display
> }
>
> on this group but it either is not working or I am putting it in the
> wrong place
>
>
> Help ?!
Navigation:
[Reply to this message]
|