Announcement

Collapse
No announcement yet.

Php / Html

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Php / Html

    Is it possible to insert a PHP file into HTML ??? .. Like with PERL we use .. <-- exec ...... > ..

  • #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


    • #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


      • #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


        • #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


          • #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...
            X