January 25th, 2013, 06:00 AM
Uploading files and creating directory from stored database value
Im having trouble with this one, i want to upload files to a cirtain location and then in the location create a directory based on a database value. i cant seem to get the code to work though, any help?
$path1= "upload/('echo $row')".$HTTP_POST_FILES['ufile']['name'];
January 25th, 2013, 08:06 AM
You don't say what is not working and few of us are clairvoyant. In any case I can see a couple of problems with your quotes. Substitution does not occur within single quotes. It is not at all clear what you are trying to do with "upload/('echo $row')" or what you expect that to do.
There are 10 kinds of people in the world. Those that understand binary and those that don't.