dcstow
10-11-2007, 03:48 AM
I have a PHP website that I would like to put on CD.
I have got the basics of this working, using Server2Go (http://www.server2go-web.de/).
Due to the setup of the website (it has some nifty image search function) the absolute path to image folder has to be defined (ie: c:/wamp/www/products/images/)
So, does anyone know of a way to detect what drive the CD was inserted into so I can replace the 'c:/' portion of the path to the correct letter when it is viewed from the CD...
Any help / suggestions are much appreciated.
I have got the basics of this working, using Server2Go (http://www.server2go-web.de/).
Due to the setup of the website (it has some nifty image search function) the absolute path to image folder has to be defined (ie: c:/wamp/www/products/images/)
So, does anyone know of a way to detect what drive the CD was inserted into so I can replace the 'c:/' portion of the path to the correct letter when it is viewed from the CD...
Any help / suggestions are much appreciated.