One more thing for 5.3:
$Picture can have the value "http://" in 5.3
so we need to do 2 more checkings, otherwise people that didn't put a pic in, get the error "not GIF or JPG ending..."
In your hack, alter the checking line to :
[:red] if ( ( (!eregi("gif",$userfile_name)) && (!eregi("jpg",$userfile_name)) && (!eregi("http://",$userfile_name)) && ($userfile_name) ) ) {
(that should be also save with older w3t versions, so I recommend that)
Carl
----------
http://www.colour-ize.de/forum (test entry: user: 'test' pw: 'test')
Edited by caymuc on 04/05/01 02:51 PM.