|
hi,
i have written a function that reads all the images in a given directory, and then would like to store each image name in a session variable as an array that is then returned outside the function, so that elsewhere the session variable can later be called upon again for use.
i have had no problems with the script reading the images in the directory and storing them in a session variable, however i am having problems in returning the session variable and as an array back to outside the function so it can be used elsewhere.
Any ideas anyone?
Thanks
|