Hello

I think what i am after is possible, but i'm not having much luck!

What i am trying to do is...


READ a line of text in .txt file

IF the isn't a file, or isn't text... open a website

IF the line of text MATCHES "@YEAR @MONTHNO @MDAYNO"
then do nothing,

BUT, IF the line DOES NOT equal "@YEAR @MONTHNO @MDAYNO" open a website AND write the value "@YEAR @MONTHNO @MDAYNO" to the text file.



so basically, i want a webpage to load when a user logs on, but only the first time they log on that day, after the first time dont show it till tomorrow.




thankyou for any help


Edited by momentum (2004-06-09 10:01 PM)