|
#17
| ||||
| ||||
| Hmmm, maybe the osascript will only work if it's run by the user who "owns" the current login session... Try this to test (note this is unsecure so it's best to put things back the way they were once the test is done): (1) Stop the web server (2) Edit /etc/httpd/httpd.conf and set the User and Group to your account name and group name (the command "id" in the terminal will give you this) (3) Start up the webserver and try the php script again. |
|
#18
| |||
| |||
| YES IT WORKS! Thank you VERY much!!! |
|
#19
| ||||
| ||||
| Ok so now we know the answer. Maybe you can use Apache's "suxec" to handle this more securely. Check out this write-up on how to use it: http://apache-server.com/tutorials/LPsuexec.html |
![]() |
| Thread Tools | |
|
|