2008/5/6 Bruce Richardson :
> > Basically, I wanted to do something like this :
> >
> > if (isInNet(myIpAddress(), "10.0.0.0", "255.0.0.0")) {
> >return "my office's proxy settings";
> > }
> > return "DIRECT";
> >
> > But the function myIpAddress() always returns "127.0.0.1". HOW USEFUL
On Tue, May 06, 2008 at 02:20:09PM +0200, Rafael Garcia-Suarez wrote:
So I was writing a neat proxy.pac to put on my laptop so it could
adjust what web proxy to use depending on my location.
Basically, I wanted to do something like this :
if (isInNet(myIpAddress(), "10.0.0.0", "255.0.0.0")) {
So I was writing a neat proxy.pac to put on my laptop so it could
adjust what web proxy to use depending on my location.
Basically, I wanted to do something like this :
if (isInNet(myIpAddress(), "10.0.0.0", "255.0.0.0")) {
return "my office's proxy settings";
}
return "DIRECT";
But the funct