> or is there ne diff way of defining username+passwd in php script?
> can external exec file EXPORT these variables ?how to get them in php script
> working?
Yes. "External" exec files can export the variables. Maybe, you can use
this funda to overcome your problem. Even then, it might not be a good
thing to do.
Maybe, you can try this. Write a CGI program which checks the "referer"
page, which, if in the list of "allowed" referers, will get the password
from a non-world-readable file and export it to the PHP script. This CGI
program will have to be a set-uid program and should not be readable by
anyone, preferably. This is so that only that CGI program executing as you
can read from that password from the "password" file.
But the way in which you can export these variables still needs to be
looked into.
My 0.01 Rs. ... ;-)
--jaju
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener