Php / Html

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • infinitiiz
    New Member
    • Oct 2001
    • 3

    Php / Html

    Is it possible to insert a PHP file into HTML ??? .. Like with PERL we use .. <-- exec ...... > ..
  • joyce
    Senior Member
    • Aug 2001
    • 134

    #2
    yes, u can insert php files into html. u just need to include the php files that you want to insert into the html files.

    for eg.

    PHP Code:
    <?
    include "abc.php";
    ?>

    Comment

    • infinitiiz
      New Member
      • Oct 2001
      • 3

      #3
      Win2k

      Oh Thankz .. I am using win2k and IIS5 .. the simple COUNTER PHP file works OK itself, but when I insert into HTML, it doesn't show anything. Ultradev insert PHP into HTML with the following code ::
      <!--#include virtual="file:///D|/wwwroot/counter.php" -->
      but still don't work ..

      Comment

      • Chen
        Senior Member
        • Jun 2001
        • 8388

        #4
        The file must be named .php if you're doing what joyce said, or .shtml if you're using what Ultradev gives you.
        Chen Avinadav
        Better to remain silent and be thought a fool than to speak out and remove all doubt.

        גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

        Comment

        • craiovaforum
          Member
          • Nov 2005
          • 79
          • 3.7.x

          #5
          hmm I don't think that I can get this...

          and I need some help
          so, I have a working PHP file that if I run it (ex: www.xyz.com/file.php) it works just fine
          now, I want to insert it into my forum, editing an template
          I tried just to paste the code and it doesn't work, I did the include thingie upstairs and still doesn't work... any ideas?

          Comment

          • °°Ben³
            New Member
            • Sep 2005
            • 0
            • 3.5.x

            #6
            I do not think that it is that easy.
            Let me summarize. You want to add some PHP code into a vBulletin template?

            Is this correct?

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...