Get ready for BLACK FRIDAY shopping starting in

Forums

PHP

This topic is locked

Pure PHP Upload 2

Posted 30 Sep 2008 02:29:02
1
has voted
30 Sep 2008 02:29:02 Frank Severino posted:
Hi, I'm trying to use a variable to set my upload directory, (see code below)


$path = $_POST["class_name"];

$ppu = new pureFileUpload();
$ppu->path = "photo_tmp/ . echo $path . /";

This does create a subdirectory but it doesn't grab the class name variable just gives me a random hash.
Anybody have any input on how to get his to work???
TIA

If anybody else is interested in the solution, I found it here.
www.dmxzone.com/showDetail.asp?TypeId=2&NewsId=4523&LinkFile=tutorials/variable_folder/index.htm

RTFM, <G>....................

-Frank
www.roninwerks.com

Edited by - ronin701 on 30 Sep 2008 20:31:36

Reply to this topic