Results 1 to 5 of 5

Thread: Include php on header.html

  1. #1
    arifahmad01 is offline Registered User
    Join Date
    Nov 2008
    Posts
    1

    Default Include php on header.html

    Hi,

    I am working on a project in which I have userd the nicecoder script
    I need to include a php file on the haeder any suggestions.

    Thanx in advance .

  2. #2
    echo@'s Avatar
    echo@ is offline Active Member
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    you could use the following for php

    <%php%>
    include("pathtoyour/php/file");
    <%/php%>

    or

    <%include_php file=pathtoyour/php/file%>

    for html you could use

    <%fetch file=pathtoyour/php/file%>

    or

    <%include file="pathtoyour/php/file"%>
    ____________________________
    http://www.articleconveyer.com
    Give Your Articles Exposure



  3. #3
    FSGDAG's Avatar
    FSGDAG is offline Moderator
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    I could be really wrong about this, but I dont think version 3.2 used the Smarty templates.

    If your using a legal copy of 3.2, why not just upgrade to 5.4 or Deluxe!
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  4. #4
    echo@'s Avatar
    echo@ is offline Active Member
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    Whoops , I didnt see that


    why not use a normal php include then
    ____________________________
    http://www.articleconveyer.com
    Give Your Articles Exposure



  5. #5
    Bruceper is offline Active Member
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    3.2 did not use smarty, I don't remember how includes were done way back then.

    Of course I will assume this is for a valid license and suggest the update to Deluxe 1.1

Similar Threads

  1. pull different header.html
    By kosmo101 in forum v5.x
    Replies: 2
    Last Post: 02-03-2008, 11:57 PM
  2. Error in header.html
    By SKh in forum v5.x
    Replies: 14
    Last Post: 04-04-2007, 12:27 AM
  3. --modifiction --in header.html --5.3.0
    By webandlinkscom in forum Blocks and Modification
    Replies: 0
    Last Post: 03-19-2007, 02:43 PM
  4. <%total_link%> in the header.html
    By marengo in forum v5.x
    Replies: 0
    Last Post: 06-23-2004, 05:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •