Author: pere
Email: [EMAIL PROTECTED]
Message:
Im using mnogosearch 3.2.3 and mnogosearch-php 3.2.0 and latest PHP version.

I have made a parser-script in php, and am using wget to run the script, like this(in 
indexer.conf):

"wget --output-document=$2 http://localhost/myscript.php?url=$1";

I need access to complete url and filename of the file being processed. The manual 
says this is exported to an environment variable named UDM_URL.

I cant find a way to access this variable in my script. I have tried both:
$UDM_URL and getenv(UDM_URL)

Both looks empty. Accessing other environment variables like $PATH works fine.

Does anyone know what is wrong?

If not, is there another way to get the complete path to the file in progress. Can I 
pass it on the commandline instead?

pere


Reply: <http://www.mnogosearch.org/board/message.php?id=3953>

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to