<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=698254620-11102005><FONT face=Arial size=2>We've been 
experiencing issues with getting the PROJ_LIB working properly 
</FONT></SPAN></DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial size=2>If we put the proj 
directory in c:\&nbsp;&nbsp;&nbsp; cwc2 will work fine but we want it in another 
directory/drive.</FONT></SPAN></DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial size=2>cwc2 builds its own 
MapFile and doesn't write CONFIG PROJ_LIB ... out into that MapFIle. 
</FONT></SPAN></DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial size=2>Is it possible to 
use php_mapscript to write to that MapFile to set the config proj_lib 
appropriately?</FONT></SPAN></DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial 
size=2>OR</FONT></SPAN></DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial size=2>Does Chameleon / 
cwc2 use a base Mapfile or code that can be altered that we could add the config 
proj_lib setting to so that cwc2 will work?</FONT></SPAN></DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial size=2>Would the following 
code placed in the proper file do anything to help?</FONT></SPAN></DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial size=2>putenv( 
"PROJ_LIB=e:\mapapps\ms461_c22_php4311\proj\nad" );</FONT></SPAN></DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial 
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial size=2>Daniel and Debbie. 
</FONT></SPAN></DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=698254620-11102005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV></BODY></HTML>