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
sharyn posted this at 19:04 — 20th August 2004.
They have: 18 posts
Joined: Aug 2004
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
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.