Hi,
I have a basic javascript proxy autoconfig .pac file that a client loads when he opens IE or Netscape.
it is a one function file with no web/html interaction or tags,only lots of 'if' statments.
1.If I make a Dial-up connection with a modem and there's an ADSL adapter on my pc - the javascript .pac file myIpAddress() function gets the ADSL IP and not the correct Dial-up IP assigned to my pc... is there a way to solve this?
2.I would like to be able open and process a text file on a remote server inside the JavaScript function.
can i do that?
if it can't be done - how can i call a php page that will process the text file for me and will return a string (how javascript can fire up a php page and get the answer form it...)
the importent thing is that it's a one function file with no web interaction, just simple javascript function.
thanks
I have a basic javascript proxy autoconfig .pac file that a client loads when he opens IE or Netscape.
it is a one function file with no web/html interaction or tags,only lots of 'if' statments.
1.If I make a Dial-up connection with a modem and there's an ADSL adapter on my pc - the javascript .pac file myIpAddress() function gets the ADSL IP and not the correct Dial-up IP assigned to my pc... is there a way to solve this?
2.I would like to be able open and process a text file on a remote server inside the JavaScript function.
can i do that?
if it can't be done - how can i call a php page that will process the text file for me and will return a string (how javascript can fire up a php page and get the answer form it...)
the importent thing is that it's a one function file with no web interaction, just simple javascript function.
thanks