Page 1 of 1
HTTP Request
Posted: Sat Jul 23, 2011 3:05 am
by gradosic
Hi,
Did anyone try to create HTTP reqest from xbase, and is this even possible?
Re: HTTP Request
Posted: Sat Jul 23, 2011 5:02 am
by RDalzell
Look at Roger's \Exp19\Samples\Mapdir example
Re: HTTP Request
Posted: Sat Jul 23, 2011 6:10 am
by gradosic
No, I can't use this function to call this site:
http://checkip.dyndns.com/
I need to call this site and read what site return to me (ip address)
....
Re: HTTP Request
Posted: Sat Jul 23, 2011 12:40 pm
by bwolfsohn
It's way more powerful than what you are asking for, but checkout xb2net from
Boris Borzic
http://xb2.net
http://sqlexpress.net
Brian
Re: HTTP Request
Posted: Sun Jul 24, 2011 1:27 am
by Auge_Ohr
gradosic wrote:No, I can't use this function to call this site:
http://checkip.dyndns.com/
I need to call this site and read what site return to me (ip address)
hm ... just read that Site try
LoadFromUrl()
Code: Select all
cIP := loadfromurl("http://checkip.dyndns.com/")
or did you need it for your own Server ?
Code: Select all
cIP := LoadFromUrl( "[SERVERURL]/ip.php")
and on your Server
Code: Select all
*** ip.php ***
<?php
echo $_SERVER["REMOTE_ADDR"];
?>
Re: HTTP Request
Posted: Tue Jul 26, 2011 5:47 am
by rdonnay
If you have the Alaska Professional Subscription, you will have ASINET10.DLL.
It has an httprequest function.
Re: HTTP Request
Posted: Thu Dec 22, 2011 10:13 am
by gradosic
Hi,
I'm proffesional subscription, but i can't find function LoadFromUrl() ??? What's LIB for that function ?
Br,
Goran
Re: HTTP Request
Posted: Thu Dec 22, 2011 3:48 pm
by rdonnay
That function is in ASINET10.LIB and ASINET10.DLL.
Re: HTTP Request
Posted: Thu Dec 22, 2011 4:04 pm
by gradosic
Seems to me that I do something wrong becaouse I have .dll but no .LIB file... I will try to reinstall alasaka.
BR
Re: HTTP Request
Posted: Fri Dec 23, 2011 9:23 am
by patito
Hi
Here it has an excellent program to realize http request+
Best Regard
Hector