vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Asp + Php? (https://vborg.vbsupport.ru/showthread.php?t=34255)

EJMack 01-19-2002 05:30 AM

is there anyway to combine asp and php?

Mark Hensler 01-19-2002 04:34 PM

Not in the same file. If your server supports both, than you could execute one with the other. Similar to including PERL scripts in you PHP pages.

EJMack 01-19-2002 05:02 PM

how do you execute perl scripts in php?:)

tbloom2002 01-19-2002 05:41 PM

couldnt you do...
PHP Code:

include "file.asp"

? hehe.. probably not.. I suck at these things, hehe.

Scott MacVicar 01-19-2002 05:47 PM

PHP Code:

<?
exec("perl /path/to/perlfile.cgi > /dev/null'");
?>

thats for unix

for Win32

PHP Code:

<?
exec("C:\perl\perl.exe c:\www\perlfile.cgi");
?>


Scott MacVicar 01-19-2002 06:00 PM

its stripped all the / from the windows paths, i hope everyone realises that.

Lesane 02-06-2002 09:12 PM

Quote:

Originally posted by EJMack
is there anyway to combine asp and php?
There is an option in php.ini:

; Allow ASP-style <% %> tags.
asp_tags = Off

Mark Hensler 02-07-2002 05:19 AM

That just allows for the open/close tags, it still doesn't interpret VBScript.

Lesane 02-07-2002 07:11 AM

Yes, thats tru

EJMack 02-07-2002 01:18 PM

so i take it there is no way to do this?


All times are GMT. The time now is 12:32 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.00990 seconds
  • Memory Usage 1,727KB
  • 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
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete