Pure PHP Upload 3 Support Product Page

Under investigation

dynamic folder name

Reported 08 Aug 2013 19:52:22
2
have this problem
08 Aug 2013 19:52:22 Bart Garner posted:
$ppu->path = "../images/".$row_WADAproperties['prop_id'];

Why does this not work? File is uploaded to the images folder instead of the folder specified from the recordset (propid).

Replies

Replied 09 Aug 2013 08:47:15
09 Aug 2013 08:47:15 Teodor Kuduschiev replied:
Hello,
It depends on how is your page set up.
How are you passing this 'prop_id' to the page that has PPU? Are you filtering your recordset somehow?
Replied 17 Dec 2014 09:59:23
17 Dec 2014 09:59:23 mike payne replied:
I have the same issue...

$uploadnewimage1 = $ppu->files("newimage1";
$uploadnewimage1->path = "image_updates/".$row_imageupdate['url'];

Recordset is filtered for userid, url is a field within the recordset. It completely disregards the url field and throws image directly into the image_updates folder.

Reply to this topic