Page 1 of 1

PHP+ Networking Doubt

Posted: Wed Sep 29, 2004 12:58 am
by harsha
I have three systems (windows)

1. One is mysql server

2. another is webserver

3. and another is where I have stored all the resumes.

the path in the database is stoored as
/ipaddress/path/to/resume.doc (which is the path of system 3)

now i fetch this value from the Db in system 3,
and this path value is fetched from a PHP script in system 1.


now this path is an absolute path or relative path

should i have to use \\ipaddress\
or
file://ipaddress
or what should i use

I am not able to attach doc file to email and send it using this method.

Posted: Wed Sep 29, 2004 1:29 am
by anjanesh
This normally works for connecting to a remote system.
$file = fopen ("ftp://ipaddress/path/to/resume.doc", "r");

Posted: Wed Sep 29, 2004 7:31 am
by timvw
the easiest (imho) just share the resume directory? And then mount it, and approach it like Z://whatever :)