|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
[SOLVED] setting GRASS-GIS environment variables in PHP
I am currently running php on a Mac osX server with php 4.6.3. I also have GRASS-GIS installed and am trying to run it with php. It should work using "system" grass calls, but I have to set some grass environmet variables. I am pretty much a newbie with all of this, so I have no clue how to do this. Can anyone offer some help. I would very much appreciate it.
- sharyn Last edited by sharyn : August 23rd, 2004 at 05:32 PM. Reason: solved |
|
#2
|
|||
|
|||
|
I used putenv() to do this and it works great. The main thing to keep in mind is that the browser has to have the proper username and permissions which is a different username than the Grass terminal.
- sharyn |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > setting GRASS-GIS environment variables in PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|