|
Posted by Steve on 09/22/07 18:32
"Krustov" <me@privacy.net> wrote in message
news:MPG.215f3439616da80c98ad29@news.newsreader.com...
> <comp.lang.php>
> <Steve>
> <Fri, 21 Sep 2007 19:25:01 -0500>
> <khZIi.81$NW5.2@newsfe02.lga>
>
>> > I did it using the following , But there must be a better and/or easier
>> > way of doing it .
>>
>> not really. if the below works for you, that's what you need to use i
>> suppose. what i did above is a bit more lenient. it doesn't care what the
>> file name is or in what directory you are looking or what extention a
>> file
>> has (it automatically screens out other images like .tif, etc.). i
>> usually
>> try to build around the concept of what i'm going for rather than
>> pigeon-hole-ing myself into maintaining code - say, if i started using
>> other
>> types of images in this case.
>>
>> like i said. if the below works, go for it.
>>
>
> www.vhit.co.uk/images/steve.jpg
>
> Its nowt important as its only a guestbook i'm writing .
>
> There was no way for you to know this - but a user would need to ftp and
> upload into the correct folder to screw things up .
>
> I figure most newbie users who install and use this sort of thing will
> only ever use the web interface .
probably true. looks good.
best to you,
me
[Back to original message]
|