I want to change the directory using this command below and append $cut_name
which $cut_name has a name of a directory
here is the code below,
but an error show up here,Code:chdir('/model/$cut_name');
now, how do i connect $cut_name into /model/ without generating an error.Code:Warning: chdir() [function.chdir]: open_basedir restriction in effect. File(/model/$cut_name) is not within the allowed path(s): (/home/travels:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/travels/public_html/model/upload.php on line 50 next.gif
thanks in advance.





Bookmarks