Forums
This topic is locked
MapPath Issue
Posted 11 May 2007 00:16:11
1
has voted
11 May 2007 00:16:11 John Von Runnen posted:
I have a website (www.theprideallstars.com) that has a subdomain (lubbock.theprideallstars.com). I am uploading images via an admin page on 'www' for a page on 'lubbock'.So, my problem is that I can't get the path to work correctly. When I am on the 'lubbock' domain it won't pull from the 'www' folder, even though they are on the same server.
Is there a way to do this?
www - F:\Plesk\theprideallstars.com\httpdocslubbock - F:\Plesk\theprideallstars.com\subdomains\lubbock\httpdocs\
Replies
Replied 16 May 2007 22:35:14
16 May 2007 22:35:14 dave blohm replied:
Instead of using mappath you could always hard-code the file system path into your code...not the cleanest way to do it, but it will work.
Hope this helps.
- Doc
Progress is made by the discontent.
Hope this helps.
- Doc
Progress is made by the discontent.