Pure PHP Upload 2 Support Product Page
Not a problem
Dynamic path name ignored by uploader
Reported 15 years ago
1
has this problem
15 years ago Ross Edwards posted:
I have a script using PPU, with AMU and SIP.The path to save the images is taken from a PHP session variable like this:
$user_id = $_SESSION['selected_user_id'];
$asset_id = $_SESSION['asset_id'];
$path = 'assets/'.$user_id.'/'.$asset_id;
$ppu->path = $path;
echo $ppu->path;
It works fine in IE, but not in Mozilla / Firefox / Chrome / Safari.
On the other browsers the images are all uploaded to the assets/ root folder. If hard code the path name it works fine.
The weird thing is if I echo the path on the form, it is correct. It just seems to ignore the variable parts of it. I have also tried passing using $_POST instead but get the same problem. Why should this not work on non IE browsers when surely it is a server-side thing?
Help!
Replies
Replied 15 years ago
15 years ago Miroslav Zografski replied:
Hello Ross,
That is a flash limitation and it is up to Adobe Flash team to come up with a solution. Unfortunately there is no workaround.
Regards,
That is a flash limitation and it is up to Adobe Flash team to come up with a solution. Unfortunately there is no workaround.
Regards,
Replied 15 years ago
15 years ago Ross Edwards replied:
Whoa! This is a major limitation with the product, doesn't matter if it is Adobe's fault or yours!
Can you confirm - are you saying it is impossible to use this with a dynamic path in any non-IE browser?
If so can I have my money back as the product is advertised as not browser dependent.
Kind regards
Can you confirm - are you saying it is impossible to use this with a dynamic path in any non-IE browser?
If so can I have my money back as the product is advertised as not browser dependent.
Kind regards