I have a PHP website that I would like to put on CD.
I have got the basics of this working, using Server2Go.
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.



Reply With Quote


Bookmarks