PDA

View Full Version : How to get something from non-vb page using VB to non-vb page on other domain?


Gutspiller
09-18-2002, 08:17 PM
OK you know about all the hacks that people request to get it so that they can have part of their VB stuff on a non VB page? Well, how would one go about doing this where you are pulling the stuff across domains?

Do you just use include? Also I have a problem. The site that has VB on it, of course supports PHP, but the site that I want to pull the stuff from VB, doesn't support PHP. Is it possible to include it by using Server Side Include?

To clarify, it's not just any non VB hack that I want to transfer over to another domain, but a news hack where the news is actually grabbing the contents of threads from my board.

If somebody can help me with this then I will be :banana:, but if they can't then I will be :( So please help me. ;)

NTLDR
09-18-2002, 08:20 PM
Best bet would be something like a frame/iframe, with the news being displayed from the server with vB on.

Gutspiller
09-18-2002, 08:47 PM
Originally posted by NTLDR
Best bet would be something like a frame/iframe, with the news being displayed from the server with vB on.

That might work. Is it possible to create an Iframe without a scrollbar or boarder if that's what I wanted to do?

NTLDR
09-18-2002, 09:14 PM
Yes, I can't remember exactly how but you can set it up without a border/scrollbar. I used to use this method when I had a HTML home page and worked quite well, you couldn't tell looking at it that it wasn't part of that page.

Issvar
09-18-2002, 10:22 PM
If you want it to work on Netscape as well you can't use iframe, so you need to include a javascript php file.

Advantage of javascript is that the user will download it, so it won't go from server 1 to server 2 to user, which does happen when you include a php file in your code. Also remember that php files get parsed on the server they are located on.

Regs
09-18-2002, 11:55 PM
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=28872&highlight=vbsyndicate" target="_blank">https://vborg.vbsupport.ru/showt...ht=vbsyndicate</a>