|
Posted by Jerry Stuckle on 11/25/06 14:30
Joachim Smit wrote:
>> Ok, then how about the user privileges? When you call it from the
>> browser you're running under a different ID than when you're calling
>> from the command line.
>>
>
> Does it make any difference?
>
> iptables and pg_hba.conf are allright on the external server. I don't
> need to make any changes there, I think.
>
> What could I change on the internal server?
>
> Joachim
It sure can. This has nothing to do with iptables, pg_hba.conf or
anything similar.
There are many things which could be different. The userid is the
first; it could also be you're using a different version of PHP when
running through a web server vs. the command line, could be loading a
different pg library - a lot of things.
You need to find out what's different between the two. Because if the
environment were the same, the script would work the same.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|