Well… This doesnt actually matter of the time…
As you said, i could call the yields…
But the only thing im going to use this for, is to return a table with full paths, then upload everything to a website xD…
(its a "quick-function" to upload my whole computer to a certain web… )
I think im going to look into TOBIT's examples, and modify it a bit.
Thank you guys!
EDIT:
Btw. When we talk about website, i actually have an "semi" weird question about PHP
( Yes, i think this topic can go into General now, when we're talking bout' other programming languages. )
I've made a website, with an upload file ( upload.php )
This upload.php page accepts an Auth key ( to ensure its me using the web )
Then it uses a Method ( "startSession", "inSession", "endSession" )
then it uses fileData, and fileName…
But my problem is to create a new folder corresponding to latest folder ID, where the session is going to be in.
( For example: )
uploads/1/testFile.lua
If that "1" folder already exists when a new session is started, its going to create the folder with the name of
"2"
Like this:
uploads/2/EMPTYFOLDER
Then when posting "inSession" its going to create single files and folders with the supplied fileData inside.
For example, lets say im uploading a file in a System/test.lua folder, to the web
Then the following is going to happen in the uploads/2 folder
Folders are created here to ensure the best compatibility of getting everything again.
uploads/2/System/test.lua
Then whenever i end the session, its going to close all connections and stop writing files to that folder.
Btw… You can ask for more info, but since i dont know that much php, im a bit noobish
Thanks in Advance