Hi everyone!!
I got this problem, and when i´m an totally newbie in PHP i will try for you to help me.
I got this trouble when i uploading an file..
Warning: rename() [function.rename]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/bygghems:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/bygghems/public_html/Domain.com/uploadvideo.php on line 140
Here is the code:
http://rafb.net/p/G47v5c72.html
Thanx in advance..
Best Regards.
//Jimmy
NEED HELP!! Maybe You will fix this??!! :)
Moderator: General Moderators
Re: NEED HELP!! Maybe You will fix this??!! :)
Noone?? :-/
//Jimmy
//Jimmy
Re: NEED HELP!! Maybe You will fix this??!! :)
i'm afraid to click on the link. it looks like a malware link 
Re: NEED HELP!! Maybe You will fix this??!! :)
then google it out to see it´s not an malware.
i have pasted the code into that..
/J
i have pasted the code into that..
/J
Re: NEED HELP!! Maybe You will fix this??!! :)
i don't trust google either. anyways, your problem seems to be that the new filename for rename is out of the operating range you are allowed to. your host do not allow that, as likely you are on shared hosting.
so you may wish to check that the new filename does indeed point to within your home directory. this is a fairly normal constraint, also good perhaps to ensure your files are not sent elsewhere.
so you may wish to check that the new filename does indeed point to within your home directory. this is a fairly normal constraint, also good perhaps to ensure your files are not sent elsewhere.