Re: [WebDNA] read database from other domain
This WebDNA talk-list message is from 2015
It keeps the original formatting.
numero = 112414
interpreted = N
texte = The idea would be this one:You are on server 1, let=E2=80=99s say you want to search "chicago =office address" on server 2=46rom server 1, you can pass variable "chicago" to server 2 with =something like=20http://server2/office.dna?city=3DchicagoThen on server 2 you have something like this in the page "office.dna"[search db=3Dxx.db&eqCITYdata=3D[city]][founditems][Address][/founditems][/search]So now, you have to recover that information from server 1 with this =(see page http://webdna.us/page.dna?numero=3D265)[text]h=3Dserver2[/text][text]p=3D/office.dna?city=3Dchicago[/text][text]n=3D[unurl]%0D%0A[/unurl][/text][text]result=3D[tcpconnect host=3D[h]&port=3D80][tcpsend skipheader=3DT]GET [p] HTTP/1.0[n][!][/!]Host: [h][n][!][/!]User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT =5.0)[n][n][!][/!][/tcpsend][/tcpconnect][/text]Now, on server 1, [result] will contain the address you were looking for =on server 2- chris> On Aug 17, 2015, at 14:16, christophe.billiottet@webdna.us wrote:>=20> Hi Stephen! You can pass the variables from the first server to the =second one using a GET then recompose the request on the second server.>=20> It should not be difficult to do.>=20> - chris=20>=20> =46rom mobile>=20> On Aug 17, 2015, at 14:09, Steve Braun
wrote:>=20>> Hi All & thanks very much for all the input.>> Most of what you've discussed here is over my head, but very =interesting anyway.>> FYI: The domains are indeed on two different servers, with two =different hosts. I guess that I took that for granted.>>=20>> To further the idea... Can a trigger be written to download the .db =file daily?>>=20>> Thanks again,>> sfb>>=20>>=20>>=20>>=20>> Stephen F Braun>> sbraun1@twcny.rr.com>>=20>> On Fri, Aug 14, 2015 at 10:01 AM, Terry Wilson =wrote:>> That's what I thought too!>>=20>> Sent from my iPad>>=20>> On Aug 14, 2015, at 6:58 AM, Dan Strong wrote:>>=20>>> Drama policy is more accurate, just sayin'.>>>=20>>> -Dan Strong>>> http://danstrong.com>>> http://sw.amphou.se>>>=20>>> On Fri, Aug 14, 2015 at 6:34 AM, Tom Duke =wrote:>>> Hi all,>>>=20>>> That email was meant to refer to Yahoo's 'dmarc' policy!>>>=20>>> Flippin auto-correct.>>>=20>>> - Tom>>>=20>>>=20>>>=20>>> --------------------------------------------------------- This =message is sent to you because you are subscribed to the mailing list . =To unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us>>>=20>>> --------------------------------------------------------- This =message is sent to you because you are subscribed to the mailing list . =To unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us>> --------------------------------------------------------- This =message is sent to you because you are subscribed to the mailing list . =To unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us>>=20>> --------------------------------------------------------- This =message is sent to you because you are subscribed to the mailing list . =To unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us> --------------------------------------------------------- This message =is sent to you because you are subscribed to the mailing list . To =unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us
Associated Messages, from the most recent to the oldest:
The idea would be this one:You are on server 1, let=E2=80=99s say you want to search "chicago =office address" on server 2=46rom server 1, you can pass variable "chicago" to server 2 with =something like=20http://server2/office.dna?city=3DchicagoThen on server 2 you have something like this in the page "office.dna"[search db=3Dxx.db&eqCITYdata=3D[city]][founditems][Address][/founditems][/search]So now, you have to recover that information from server 1 with this =(see page http://webdna.us/page.dna?numero=3D265)[text]h=3Dserver2[/text][text]p=3D/office.dna?city=3Dchicago[/text][text]n=3D[unurl]%0D%0A[/unurl][/text][text]result=3D[tcpconnect host=3D[h]&port=3D80][tcpsend skipheader=3DT]GET [p] HTTP/1.0[n][!][/!]Host: [h][n][!][/!]User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT =5.0)[n][n][!][/!][/tcpsend][/tcpconnect][/text]Now, on server 1, [result] will contain the address you were looking for =on server 2- chris> On Aug 17, 2015, at 14:16, christophe.billiottet@webdna.us wrote:>=20> Hi Stephen! You can pass the variables from the first server to the =second one using a GET then recompose the request on the second server.>=20> It should not be difficult to do.>=20> - chris=20>=20> =46rom mobile>=20> On Aug 17, 2015, at 14:09, Steve Braun wrote:>=20>> Hi All & thanks very much for all the input.>> Most of what you've discussed here is over my head, but very =interesting anyway.>> FYI: The domains are indeed on two different servers, with two =different hosts. I guess that I took that for granted.>>=20>> To further the idea... Can a trigger be written to download the .db =file daily?>>=20>> Thanks again,>> sfb>>=20>>=20>>=20>>=20>> Stephen F Braun>> sbraun1@twcny.rr.com>>=20>> On Fri, Aug 14, 2015 at 10:01 AM, Terry Wilson =wrote:>> That's what I thought too!>>=20>> Sent from my iPad>>=20>> On Aug 14, 2015, at 6:58 AM, Dan Strong wrote:>>=20>>> Drama policy is more accurate, just sayin'.>>>=20>>> -Dan Strong>>> http://danstrong.com>>> http://sw.amphou.se>>>=20>>> On Fri, Aug 14, 2015 at 6:34 AM, Tom Duke =wrote:>>> Hi all,>>>=20>>> That email was meant to refer to Yahoo's 'dmarc' policy!>>>=20>>> Flippin auto-correct.>>>=20>>> - Tom>>>=20>>>=20>>>=20>>> --------------------------------------------------------- This =message is sent to you because you are subscribed to the mailing list . =To unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us>>>=20>>> --------------------------------------------------------- This =message is sent to you because you are subscribed to the mailing list . =To unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us>> --------------------------------------------------------- This =message is sent to you because you are subscribed to the mailing list . =To unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us>>=20>> --------------------------------------------------------- This =message is sent to you because you are subscribed to the mailing list . =To unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us> --------------------------------------------------------- This message =is sent to you because you are subscribed to the mailing list . To =unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us
christophe.billiottet@webdna.us
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[OT] Bad Hard Drive? (2003)
[OT] HTML Table Cell Problem (2003)
[BULK] [WebDNA] [BULK] 7.x and 6.x on same server (2012)
Searching (2000)
ExclusiveLock (2000)
OH MY GOD! (1998)
stumped on simple sort (1999)
webmerch and serials - almost there (1997)
Emailer Chokes on bad address (1997)
too many nested tags ... (1997)
Server crash (1997)
Extended [ConvertChars] (1997)
Changes to the List (1997)
Searching for Nothing (1998)
[Sum] function? (1997)
Can I determine where they are coming from? (2000)
Addlineitems SKU peramiter (2002)
Custom Tags or Modular Code (2001)
Checkboxes (1998)
Cobalt RaQ Installation (2003)