Results 1 to 4 of 4

Thread: How to call .php file

  1. #1
    Join Date
    Mar 2006
    Posts
    18

    Default How to call .php file

    Hot to call php to be placed at the index.php page
    Usually this line has worked fine,
    <%include file="'http://www.mydomain/news/news.php"%>

    I would like to set the indexu as the main page of my homesite but i need to place there ie. news from other php scripts

    I have changed from the mod-rewrite option the .html>.php

    Is there support for this?
    Regards,
    Tane

  2. #2
    Join Date
    Mar 2006
    Posts
    18

    Default Some progress

    <%php%>
    include("'http://www.mydomain/news/news.php");
    <%/php%>

    This worked on index.php page when above added to index.html template but if same added to category page>"Content: You may use HTML code" it doesent work there. I would also want to show news on some category pages.

  3. #3
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    What version do you use? It should work well in all pages including browse.html (the category page)

  4. #4
    Join Date
    Mar 2006
    Posts
    18

    Default Pm

    I send PM with password.

Similar Threads

  1. Replies: 2
    Last Post: 02-19-2006, 10:22 AM
  2. Fatal Error: call to undefined function
    By somxai in forum v5.x
    Replies: 2
    Last Post: 04-22-2004, 06:32 PM
  3. Call me lazy but.......
    By craven in forum v5.x
    Replies: 2
    Last Post: 05-28-2002, 05:22 AM
  4. Fatal error: Call to a member...
    By edexly25 in forum v5.x
    Replies: 1
    Last Post: 03-27-2002, 06:57 PM
  5. Top Rated Call
    By Hart_House in forum v5.x
    Replies: 0
    Last Post: 03-06-2002, 04:07 PM

Posting Permissions

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