>            I need to access data files residing on  a different computer
in
>the same network as the computer running the php scripts. Is this possible?
>I can't find any documentation on this and I need to figure this out ASAP,
>as in today.
>
>Once I access the files, I need to be able to read from them Is this
>possible, and how??
>
>Please help. Thank you!! ;)

And the type of files you want to share is? And these files recedes on what?
File system, DB, or? And the platform you working on is? Anyhow:

If assume we are talking about regular flat files and you are using NT. Then
why not try to make a share? Then you can access the files just as any
normal file receding in the file system.

Syntax for net share:

[d:\vc98\include]net help share
The syntax of this command is:


NET SHARE sharename
          sharename=drive:path [/USERS:number | /UNLIMITED]
                               [/REMARK:"text"]
          sharename [/USERS:number | /UNLIMITED]
                    [/REMARK:"text"]
          {sharename | devicename | drive:path} /DELETE

NET SHARE makes a server's resources available to network users. When
used without options, it lists information about all resources being
shared on the computer. For each resource, Windows NT reports the
devicename(s) or pathname(s) and a descriptive comment associated with it.

sharename          Is the network name of the shared resource. Type
                   NET SHARE with a sharename only to display information
                   about that share.
drive:path         Specifies the absolute path of the directory to
                   be shared.
/USERS:number      Sets the maximum number of users who can
                   simultaneously access the shared resource.
/UNLIMITED         Specifies an unlimited number of users can
                   simultaneously access the shared resource
/REMARK:"text"     Adds a descriptive comment about the resource.
                   Enclose the text in quotation marks.
devicename         Is one or more printers (LPT1: through LPT9:)
                   shared by sharename.
/DELETE            Stops sharing the resource.

NET HELP command | MORE displays Help one screen at a time.

[d:\vc98\include]

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to