vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Include ASP page sections (https://vborg.vbsupport.ru/showthread.php?t=67821)

Michael Morris 07-31-2004 09:19 AM

Include ASP page sections
 
Hello. I'm helping to work on a site were the vast majority of the pages are done in Micro$oft ASP.net. I'd like to be able to include certain small page sections like headers in news headers and side colums in the site's bulletin boards (which are of course PHP powered since they are vbulletin).

If the server that receives the page request processes the ASP, would that work (then it becomes a matter of including an HTML file into a vbulletin page)

Modin 08-02-2004 10:07 PM

if you need to include an entire asp page you can do that via a frame...

other than that I don't know of any way to merge the 2 languages... maybe via shell commands?

Michael Morris 08-03-2004 06:00 PM

It's a devilish problem...

Oh, did I mention the ASP pages were on a different server entirely ??

Modin 08-04-2004 01:39 AM

hmm...

I have an idea...

try using fopen (or better yet file_get_contents). If your server supports URL's for fopen then it'll be equivelent to a browser call.

PHP Code:

$asp_page file_get_contents("http://www.link.to.asp.page.asp"); 

after this you'll have the output of the asp page as a string. Then you can do what you want with it :)


All times are GMT. The time now is 11:48 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00896 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete