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.
Sean
<%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.

Sean