Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

if folder exists...

Quote Reply
if folder exists...
I'm trying to create a global that will check to see if a folder, named the same as a user's login name, exists under /www/html/files/{user_name}. It then needs to return a link if it does, and a different link if it doesn't. So basically it would be:

<%my_global(user_name)%>

Then, the global would take the current user name passed to it, and check to see if the folder exists. It would then return the appropriate href line.

I hope I made some sort of sense with this. Any help would be greatly appreciated. I'm not that great of a programmer. Unsure

Sean
Subject Author Views Date
Thread if folder exists... SeanP 3559 Feb 22, 2005, 7:28 AM
Thread Re: [SeanP] if folder exists...
Andy 3481 Feb 22, 2005, 7:41 AM
Thread Re: [Andy] if folder exists...
SeanP 3464 Feb 22, 2005, 7:53 AM
Thread Re: [SeanP] if folder exists...
Andy 3501 Feb 22, 2005, 8:03 AM
Post Re: [Andy] if folder exists...
SeanP 3466 Feb 22, 2005, 8:10 AM