|
Posted by Martie on 05/19/06 19:40
On Fri, 19 May 2006 11:09:23 +0100, Ian Robinson wrote...
>
>Hi,
>
>What's the best way to locate a file on the client with php ?
>
>I'm trying to establish local settings on a client computer that can be read
>from the server. Initially I thought an ".ini" file in the client's windows
>folder or is there another way ?
>
>The scenario is that a customer has "n" thin clients all accessing the
>customers data on the server, however depending on each thin client's
>function (location) they would need to view / filter the data differently.
>I'm trying to do this with local settings rather than forcing each thin
>client to log onto the system with different credentials or even to have the
>server store that users last settings / configuration.
>
>Any help appreciated
>
>TIA
>Ian Robinson
>
>
>
I've never tried to use PHP to access a connecting PC's local file system. You
probably need a 3rd party program or external program that can be run from PHP
as a shell command.
Since the connecting PC could be just about anything, with regard to the
operating system, you may not know the file system or nor have access to it
because of security and firewall settings.
If you are relying on the Location information you can probably make use of
forms with the GET method to exchange information instead.
Navigation:
[Reply to this message]
|