You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am making a script to add a torrent from a self-made form.
I have to do it like this, Rutorrent and Rtorrent are on a machine that uses a VPN. So I'm going through another machine which is on the same local network.
In my script I call addtorrent.php so that the torrent is added automatically to Rtorrent and is started. I'am not very good in code and I don't understand what I have to send as information to the $_REQUEST variable (I think it is this one). I tried to give it the $_FILE information but it doesn't seem to be that.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I am making a script to add a torrent from a self-made form.
I have to do it like this, Rutorrent and Rtorrent are on a machine that uses a VPN. So I'm going through another machine which is on the same local network.
In my script I call
addtorrent.php
so that the torrent is added automatically to Rtorrent and is started. I'am not very good in code and I don't understand what I have to send as information to the$_REQUEST
variable (I think it is this one). I tried to give it the$_FILE
information but it doesn't seem to be that.I manage to send my file to the server but when the script calls addtorrent.php I get "File not found."
Result URL :
https://domain.tld/upload/addtorrent.php?result[]=Failed&name[]=file.name.torrent&
Anyone know how I can link my script correctly to
addtorrent.php
please?My script
Beta Was this translation helpful? Give feedback.
All reactions