Hey Santo
ask your host if you can turn php safe mode off
http://au3.php.net/features.safe-mode
Cheers
Justin
@justin: I think it's a good idea to enable php safe-mode. So I'm looking for another solution.
In principal we got the /cache directory for such file. So I think we could change the following line:
$sPath = tempnam(null,"check");
to
$sPath = tempnam("./cache","check");
What do you think?
@aplysia
- if that(or something similar) works go for it!
- sounds good
Cheers
Justin
@santo
just to confirm
which worked
$sPath = tempnam("./cache","check");
or
$sPath = tempnam("../cache","check");
or
$sPath = tempnam("../../cache","check");
let me know and i'll update the code
Cheers
Justin
It looks like you're new here. If you want to get involved, click one of these buttons!