look at your error message:
Code:
Warning: move_uploaded_file(/var/tb/torrents/4.torrent) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\xampp\htdocs\takeupload.php on line 173
it is looking for a file here:
Code:
/var/tb/torrents/4.torrent
which that path does not exist on your server/PC.
then it says:
Code:
No such file or directory in C:\xampp\htdocs\takeupload.php
which is the path of the files for your tracker.
what this is saying that your $torrent_dir is still:
PHP Code:
$torrent_dir = "/var/tb/torrents";
when it should be:
PHP Code:
$torrent_dir = "C:/xampp/htdocs/torrents";
also this should work for either linux or windows:
PHP Code:
$torrent_dir = 'torrents';
=]