Jump to content

Is there a way for PHP to upload a file to another server?


LanceT

Recommended Posts

I have a script that uploads my file, but this script requires apache. I want to get this file onto my other server that's running nginx. Is there a way for PHP to write a file to nginx?

 

Alternatively, is there a way for PHP to copy a file from one server to another? Because that will work as well.

 

How do I do this?

 

 

Basicly for the laymen, if the other server requires "localhost" for the Database on that server the answers is no.

 

If there is another name besides "localhost" like coustomer_..._...._...company_com you may be able to.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.