Hi,
I am a dangerous newbee to PHP and am struggling with the task of moving php sites from unix to windowsXP environment.
My problem is this:
The directory structure on the original unix m/c is as below ( tried using indentation but spacing is being ignored in this forum I guess. Bear with my lisp style..)
(parent(images,private(images)))
I hope u got the structure. Folder "parent" has folders "images" and "private".
Folder "private" has a link node by name "images" which points to the "images" in "parent" folder.
The images folder in "private" directory is a link to the images folder in "parent" directory.
I have to do the same in IIS.
SO I created a virtual directory(in IIS) which points to images folder in "parent" directory.(Note that windows doesn't even show the virtual directory "images" while listing the contents of "private" directory. It is only in IIS that we can see the existence of virtual directory).
Now there are places in the code where file system functions are used and looks like PHP doesn't recognize virtual paths.. for example,
getimagesize("images/filename.jpg")--(this fn is in a file in "private" directory) throws warning, failing to recognize the existence of any images folder, though we have a virtual directory.
Similarly with copy() function..
Now can anyone help me in this regard? Is it that php doesn't recognize virtual directory concept of IIS?
thanks..