0

I have Pictures which are located at Images/, and the Thumbnails at Thumbnails/, Whatever my problem is that I can't associate my uploaded images to an SQL table, I want to do so to make the up-loader's name appear on the Public_Images page, Without SQL I can do it by getting the username from the $_SESSION['username'], Because it's an personal view it's okay, but now I'm creating a Public_Images page and I couldn't make the uploaded images or the future uploaded images associated to my table Images ... :( !!! You think that I can use the function Substr to extart the user-name from the full adress which is like

 ./private_images/images/User/photo-0123456789.jpg 

4

0 回答 0