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:
Generating unique SKU from [cart] - Still Stumped... (1997)
Share cost of training videos! (1998)
update on wn searching (1997)
RE: [WebDNA] Send Mail and Outlook Express (2008)
WebCat2 - Getting to the browser's username/password data (1997)
ACGI processing for .html (1997)
Banner DNA (1997)
Sort & Shownext (1999)
[include] (1998)
Using [Showif] tag. Mac (1997)
country of origin from IPADDRESS??? (2001)
Setting up shop (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
Oracle XE (2006)
listfields for a table (2007)
WebCat2 - storing unformatted date data? (1997)
unable to launch acgi in WebCat (1997)
WebStar 3 crackable !!!! (1998)
Re[2]: Next X hits (1996)
Extract my page name (2006)