Click to See Complete Forum and Search --> : use mkdir to make directory in another computer


robertngo
09-09-2004, 03:53 AM
if it posiblle to use mkdir to make a directory in another computer and move_uploaded_file to move uploaded file to that directory?

96turnerri
09-09-2004, 08:01 AM
on another computer well you would first have to open a link to that computer

fsockopen() (http://uk2.php.net/manual/en/function.fsockopen.php)

eg of fsockopen

$fp = fsockopen ("www.paypal.com", 80, $errno, $errstr, 30);

Hellspire
09-09-2004, 12:59 PM
Many firewall types will block your attempt to open a socket to the computer, you will need to have proper authentication, and permissions from the user.

robertngo
09-09-2004, 10:11 PM
how to use mkdir with fsockopen?