wrathican Posted July 5, 2007 Share Posted July 5, 2007 hi there, ive never written a class before and i followed the tutorial located on this website: http://www.phpfreaks.com/tutorials/85/0.php i kinda understand what is going on throughout the functions. im going to be using this for a gallery picture upload section. so there are some things to be inserted into a mysql db i also want to change the name into a random generation of characters so that the possibility of recievig a duplicate file name is very very very slim. the thing is i dont understand where these would take place in the code and how i would get the names and directory paths from the class to be used in a mysql query, i have both my query and my way of making the name random but just dont know where to put them. would i have to change much code in the class? Link to comment https://forums.phpfreaks.com/topic/58541-file-upload-class/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.