Author | Topic: LoadfromUrl problem | |
---|---|---|
Steffen Raek | LoadfromUrl problem on Wed, 04 Aug 2004 13:44:34 +0200 Hallo all, I have start a project with the ASINet Library. I will use the LoadFromUrl comand in the program. content = LoadFromUrl( 'localhost/scripts/cgi/dwis_scan.pl',,,,,'POST','BEFEHL=Test' ) My problem is, this will start the "dial-up connection" from my computer. Is this normal ? In the case of cancel the dial-up dialog the variable content is NIL. In the case I connect to my provider then the program work fine. In the help stand: "If there is no TCP/IP connection but the computer is configured for a dial-up connection via modem, the operating system will open the dial-up dialog to establish a connection." What is the TCP/IP connection in the case I work to a local Webserver ? With the ipconfig /all command can I see my IP-Adress. Who can help me ? Thanks Steffen | |
Phil Ide | Re: LoadfromUrl problem on Wed, 04 Aug 2004 15:09:51 +0100 Steffen, > I will use the LoadFromUrl comand in the program. > > content = LoadFromUrl( > 'localhost/scripts/cgi/dwis_scan.pl',,,,,'POST','BEFEHL=Test' ) > > My problem is, this will start the "dial-up connection" from my computer. Is > this normal ? > In the case of cancel the dial-up dialog the variable content is NIL. > In the case I connect to my provider then the program work fine. > > In the help stand: "If there is no TCP/IP connection but the computer is > configured for a dial-up connection via modem, the operating system will > open the dial-up dialog to establish a connection." > > What is the TCP/IP connection in the case I work to a local Webserver ? > > With the ipconfig /all command can I see my IP-Adress. You need to setup your computer to use a gateway. Open up the dialog for your network connection properties, and select "Properties", then select "Internet Protocol (TCP/IP)" from the picklist, and click on "Properties". Set the "Default Gateway" to the ip address of your gateway machine. Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** Commercial radio, commercial radio, commercial r | |
Steffen Raek | Re: LoadfromUrl problem on Wed, 04 Aug 2004 16:40:42 +0200 Hallo Phil, Thank for your fast reply. I have insert in the field "default gateway" my ip adress.... The dial-up dialog is starting !!! Have you a other idea ? Thank's Steffen "Phil Ide" <phil@idep.org.uk> schrieb im Newsbeitrag news:e4o0tot0rykc$.dlg@idep.org.uk... > Steffen, > > > I will use the LoadFromUrl comand in the program. > > > > content = LoadFromUrl( > > 'localhost/scripts/cgi/dwis_scan.pl',,,,,'POST','BEFEHL=Test' ) > > > > My problem is, this will start the "dial-up connection" from my computer. Is > > this normal ? > > In the case of cancel the dial-up dialog the variable content is NIL. > > In the case I connect to my provider then the program work fine. > > > > In the help stand: "If there is no TCP/IP connection but the computer is > > configured for a dial-up connection via modem, the operating system will > > open the dial-up dialog to establish a connection." > > > > What is the TCP/IP connection in the case I work to a local Webserver ? > > > > With the ipconfig /all command can I see my IP-Adress. > > You need to setup your computer to use a gateway. Open up the dialog for > your network connection properties, and select "Properties", then select > "Internet Protocol (TCP/IP)" from the picklist, and click on "Properties". > > Set the "Default Gateway" to the ip address of your gateway machine. > > Regards, > -- > Phil Ide > > *************************************** > * Xbase++ FAQ, Libraries and Sources: * > * goto: http://www.idep.org.uk/xbase * > *************************************** > > Commercial radio, commercial radio, commercial r | |
Phil Ide | Re: LoadfromUrl problem on Wed, 04 Aug 2004 16:41:39 +0100 Steffen, > I have insert in the field "default gateway" my ip adress.... The dial-up > dialog is starting !!! > > Have you a other idea ? Uninstall the dial-up networking services? Why do you need tham anyway, if you have a LAN connection? Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** Bulldozer: One who can sleep through a campaign speech | |
Frans Vermeulen | Re: LoadfromUrl problem on Wed, 04 Aug 2004 17:47:18 +0200 Phil, > Uninstall the dial-up networking services? Why do you need tham anyway, if > you have a LAN connection? As a backup in case the internet drops out. Look at Steffen's header: <S*********k@T-Online.de> I had the pleasure of being 8 months dependant of the highest bidder of the UMTS-circus . Regards, Frans Vermeulen | |
Frans Vermeulen | Re: LoadfromUrl problem on Wed, 04 Aug 2004 17:41:51 +0200 Steffen, > I have insert in the field "default gateway" my ip adress.... The dial-up > dialog is starting !!! If setting the gateway does not help, it's a configuration problem. (it does not send dns-requests to the gateway first) I know how to solve it in linux, but not in windows. Probably your comp is searching for dns, and it will do as follows: - searched cached data - search your hosts file - then ask the dns-server IOW. you could see if the line 127.0.0.1 localhost is present in your hosts file, you can find that file under 9x in the WINDOWS directory, and in the WINNT\system32\drivers\etc on NT-class machines It probably is there. Then you could try and replace the localhost in your url with 127.0.0.1 This will probably not help either. Then you can set in the extra/internet-options/connection of the internet-explorer "Never choose a connection". You probably don't want that either, but AFAIK these are the options. HTH, Frans Vermeulen | |
Phil Ide | Re: LoadfromUrl problem on Wed, 04 Aug 2004 17:19:36 +0100 Frans, Steffen, > If setting the gateway does not help, it's a configuration problem. > (it does not send dns-requests to the gateway first) > I know how to solve it in linux, but not in windows. In the same dialog where you entered the gateway information, make sure you have your dns servers setup. These should normally be the same as the gateway. If you don't have these setup, Windows will have to dial out to find a dns server. Once setup, the gateway will provide dns resolution and a path to the target machine through the gateway. Thanks Frans for reminding me. Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** Don't walk through the screen door, you might strain yourself. | |
Steffen Raek | Re: LoadfromUrl problem on Wed, 04 Aug 2004 19:55:16 +0200 Hello, Thanks for your tipps, I have disable the standard dial-up in the internet settings. So can I test and programing my program without internet connection. Steffen "Phil Ide" <phil@idep.org.uk> schrieb im Newsbeitrag news:483o17dfwwdy$.dlg@idep.org.uk... > Frans, Steffen, > > > If setting the gateway does not help, it's a configuration problem. > > (it does not send dns-requests to the gateway first) > > I know how to solve it in linux, but not in windows. > > In the same dialog where you entered the gateway information, make sure you > have your dns servers setup. These should normally be the same as the > gateway. If you don't have these setup, Windows will have to dial out to > find a dns server. Once setup, the gateway will provide dns resolution and > a path to the target machine through the gateway. > > Thanks Frans for reminding me. > > Regards, > -- > Phil Ide > > *************************************** > * Xbase++ FAQ, Libraries and Sources: * > * goto: http://www.idep.org.uk/xbase * > *************************************** > > Don't walk through the screen door, you might strain yourself. |