I'm new to PHP. To be honest, I know nothing about PHP.
I can only code in ASP Classic. Since my server runs on Linux, it cannot support ASP Classic. That's why I need a piece of code to copy a file from a remote server to my local server. I wonder if anyone can help me.
These are some links I found through googling:
A PHP file with a textbox in it. When you enter a URL in that textbox, the code starts fetching the remote file and copies it to a folder named "Grabbed" on the root of my local host. I think the path should be something like this:
Any help will be appreciated.
Thank you in advance.
I can only code in ASP Classic. Since my server runs on Linux, it cannot support ASP Classic. That's why I need a piece of code to copy a file from a remote server to my local server. I wonder if anyone can help me.
These are some links I found through googling:
A PHP file with a textbox in it. When you enter a URL in that textbox, the code starts fetching the remote file and copies it to a folder named "Grabbed" on the root of my local host. I think the path should be something like this:
Code:
/home/user/public_html/directory/Grabbed/
Thank you in advance.
Comment