|
-
February 12th, 2011, 05:47 PM
#1
creating a directory on a external server
hello,
i would like to create a directory (using php) on a external server
so for example if the php script is executed on http://www.Server1.com
i would like to create a directory on http://www.Server2.com/Folders
the folder on server 2 has all read and write permissions.
i tried :
mkdir('http://www.Server2.com/Folders/NewFolder',0770);
but it fails.
so, any idea how to solve this?
-
February 12th, 2011, 06:27 PM
#2
Re: creating a directory on a external server
Wow...Are you actually asking this?
Can you imagine if servers let you modify there file system? There's a reason why they don't. Talk about security whole...
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
February 12th, 2011, 08:14 PM
#3
Re: creating a directory on a external server
ermmm well if the don't want files to be changed they should set the Security Options correct
-
February 12th, 2011, 11:07 PM
#4
Re: creating a directory on a external server
So, give people server software but allow an option to have people remotely alter your server. I'm sorry, and don't mean to be rude, but you have no concept of security.
Doing what you want cannot be done. And, if it could, I, as well as every other person on this site, would fire any architects who designed such a system.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
February 13th, 2011, 07:29 AM
#5
Re: creating a directory on a external server
ok, so i create a ftp acount for the Server2\Folders and connect to it from Server1
and do ftp_mkdir
its more secure and it would be nice if you pointed out this option in the first place instead of handeling this question as its from a complete idiot
-
February 13th, 2011, 08:22 AM
#6
Re: creating a directory on a external server
1. My point was not to make you feel like an idiot. Sorry if that came across.
2. I would have suggested it, but nothing in your previous posts mentioned that you owned or had acess to the other server.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|