Hi all,
i show some stuff from the links table with an ordinary php, but stuck with getting a file while using the hash method to solve.
I have tried to understand the perl code and translate into php to show this, but i dont do it.
So i ask if someone has done this before; the alternative is to save the pics without hashing, but while i have to save thousands of files for this it makes sense.
Somewhat closer: With the data from the different tables i could get almost everything what i need.
Say the file is saved in /home/.../pics/6/filename.jpg
Then i could get everything from /home/.../pics/ and the filename.
But i have no more clue how to get the /6/ beetween that.
Robert
i show some stuff from the links table with an ordinary php, but stuck with getting a file while using the hash method to solve.
I have tried to understand the perl code and translate into php to show this, but i dont do it.
So i ask if someone has done this before; the alternative is to save the pics without hashing, but while i have to save thousands of files for this it makes sense.
Somewhat closer: With the data from the different tables i could get almost everything what i need.
Say the file is saved in /home/.../pics/6/filename.jpg
Then i could get everything from /home/.../pics/ and the filename.
But i have no more clue how to get the /6/ beetween that.
Robert