Hello,
Can someone please help me I would really apreciate it, see, I'm trying to get the content (file structure) of a cd and then store it in a database, I have a core 2 (server) with php, mysql and apache installed and running and I am programming and testing with my xp box ie6 (client). I found this code to get the file structure of the cd:
<?php
$testero=ls /mnt/cdrom -la;
echo "<pre>$testero</pre>";
?>
It works ok, I can see the content of the cd in my (client's xp box) browser, but the problem is that the cd has to be mounted directly on the server for this to work...
What I'd like to know is how can I do to be able to insert the cd in my xp box and get the content from there... I mean, I know I can share my cd and mount it with samba in the server and do somenthing like this:
<?php
$testero=ls /mnt/remotecd -la;
echo "<pre>$testero</pre>";
?>
But this just works for one client (computer) and I plan to have several clients accessing the script, so I guess my question is: is there a way to access the client's file system via php? or is there any other way at all? have any ideas?
Thanks a lot for reading this...
Arthur Carrillo...