Reply to Re: How do you retrive drives and net work connections?

Your name:

Reply:


Posted by Tim Roberts on 06/10/06 05:38

"ImOk" <j_macaroni@yahoo.com> wrote:
>
>milahu wrote:
>> Do you want the client's or the server's drives? To get the latter one,
>> you could use PHP's exec, otherwise you need a Java Applet.
>
>Only the client's. What would the command be to use exec() to get list
>of drives?

You can't do it. All of your PHP code, including the exec() function, runs
on the SERVER.

To enumerate the disk drives on a client computer, you have to send a
program to the client. That means using a Java or ActiveX applet. The
user will have to specifically override the security settings to allow that
to happen.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация