> I first thought of starting a session and checking
> the value of a flag set from the calling page
>
> <snip>
>
> If ($status_flag < 1)
>
> This falls over when called from an external source
> as $status_flag is an unknown variable.
Actually you need to check if the variable exists and
then you can check its value if you still need to
if (isset($status_flag)) {
Bj
=====
Sunshine Graphics / PlainWeb Design
Website Design, Programming and Hosting
http://www.sungraph.co.uk
http://www.plainweb.co.uk
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]