my site is csecpc.000webhost.com , i cant upload any files to the server but worked fine ion localhost. when I tried this :
$temp_file = tempnam(sys_get_temp_dir(), ‘Tux’);
_ echo $temp_file;_
it shows
tempnam(): open_basedir restriction in effect. File(/storage/ssd4/471/+++++++/tmp) is not within the allowed path(s): (/opt/awex-pages:/storage/ssd2/179/++++++++)
I thought its for free account constraints but I tried it another free account there it works fine.
This is really heartbreaking things