PDA

View Full Version : Accessing CD Rom Drive


help
09-27-2002, 04:23 AM
Ok I know ASP can do this, may be becoz it is all Microsoft technologies windows OS and ASP etc..

We want to provide a user with a CD ROm and only when the use has this Cd in the CD drive, he can access certain portion on the web site.

I saw codes for Object Drive in ASP at http://www.w3schools.com/asp/asp_ref_drive.asp (It was written within 10 lines of code)

Can we do this in PHP? if yes how?

Thanks in advance.

firepages
09-27-2002, 10:55 AM
hi, php has some corresponding functions like disk_free_space etc, but like the ASP examples in your link they can only gather details from the same machine as the webserver or LAN not a remote filesystem.

I would assume that an activeX object could look at your drive though I know nothing of that.

bcarl314
09-27-2002, 12:12 PM
What about using COM / DCOM? Wouldn't that alllow remote access?