I know how to check if the file exists in a particular directory. But How can i check if a particular directory exists, and if not create it?
[man]file_exists[/man] works for files and directories. [man]mkdir[/man] creates directories.
Dah... you're absolutely right.