vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Shtml(SSI) and php compatible? (https://vborg.vbsupport.ru/showthread.php?t=58218)

gengar003 10-26-2003 10:49 PM

Shtml(SSI) and php compatible?
 
Is there a way to make a webpage that will allow you to use BOTH SSI and php?


E.g. -

Quote:

<body>
<center>
<#--include virtual="blah.html">
</center>
<b>
<?
//PHP code.
?>
</b>
</body>
and if so, what would the file extension be? .phpshtml? ^_^;;


If not, is there a way to clear text files with php?

Sephiroth 9999 10-28-2003 03:37 PM

I'm totally unexperienced in SSI, and have never laid hands on it. But I'll give a few answers according to my HTML/PHP experience. ^^

Does SSI have a "<script language=" thingymabob? Or some way to access the language from an outside source? If so, I'd try that.

I'd leave the extension as .php, at least I think. =P Some uber person will come and prove me totally wrong in a minute though anyway, meh. I don't think the .php extension is important in PHP. As long as the server understands what it must produce when interpreting the code, I think the .php is there to simply make it more user-friendly.

(I think that is. =P)

assassingod 10-28-2003 03:51 PM

Steven;

Uhh, of course the php extension is important :ermm:;)

Also, SSI doesn't require a extension change so it's possible to use it (IIRC)

But why would you want to?

gengar003 10-29-2003 12:33 AM

SSI doesn't require an extension change? I could've sworn it did....

Edit, though: I've decided on an alternate solution, thank you two for your input.

Mods may delete/close/nuke this thread if they so desire.

^_^

Sephiroth 9999 10-31-2003 05:52 AM

Quote:

Originally Posted by assassingod
Steven;

Uhh, of course the php extension is important :ermm:;)

Also, SSI doesn't require a extension change so it's possible to use it (IIRC)

But why would you want to?

Yeah I figured that out two days ago... :nervous: And see? I was right. Some uber person did prove me wrong. ;)


All times are GMT. The time now is 06:23 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.01229 seconds
  • Memory Usage 1,718KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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