![]() |
command line exec() pulls wrong file (php as cgi?)
Hi. Thanks for a great product, and for such a helpful forum. I've got phpdig up and running. Instead of running the indexer for the whole site, I want to index each document as it is added/edited to the site by a web-based administrator.
As such, I'd like to use the exec() command within php and index the file as its edited or added. I've tested the following command via shell and it worked beautifully. Quote:
However, when I call from a php script as such: Quote:
My php is set to run as cgi - I'm sure this has something to do with it and there is some environment variable that I'm missing. Any advice is appreciated. Thanks. |
Perhaps try one of the following...
Code:
// save output in spider.log |
oy
okay, well fixed that. but its still digging the upload/edit script page and not the document that's being uploaded.
Quote:
|
All times are GMT -8. The time now is 12:29 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.