can u post sample codes where site.com/pogi.zip can be moved @ site.com/folderwant/pogi.zip via $POST $GET????
i am trying these
i used $cid for function $POST so URL will be posted there (!copy("$cid", "../vampire/sipogi_$cid")) and url posted correctly as i add data in DB but it dont works in moving that file
FOR EXAMPLE. i just wanted to CLICK the link I WANT TO mOVE In the folder i want
but it tells
Warning: copy() [function.copy]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/hala:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/hala/public_html/sector/hackloads.php on line 256
Couldn't copy file.
can please complete these codes where I WANT TO MOVE A FILE TO ANOTHER FOLDER W/C is already in the first LOCation BY ONLY CLICKING THAT FILE .thanks. cus i want to learn bout that thanks
i am trying these
Code:
if (!copy("$cid", "../vampire/sipogi_$cid")) { echo "<b>Couldn't copy file.</b><br/>"; } else { echo "uploaded"; }
i used $cid for function $POST so URL will be posted there (!copy("$cid", "../vampire/sipogi_$cid")) and url posted correctly as i add data in DB but it dont works in moving that file
FOR EXAMPLE. i just wanted to CLICK the link I WANT TO mOVE In the folder i want
but it tells
Warning: copy() [function.copy]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/hala:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/hala/public_html/sector/hackloads.php on line 256
Couldn't copy file.
can please complete these codes where I WANT TO MOVE A FILE TO ANOTHER FOLDER W/C is already in the first LOCation BY ONLY CLICKING THAT FILE .thanks. cus i want to learn bout that thanks
Comment