SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    ********* Addict WP1's Avatar
    Join Date
    Aug 2000
    Location
    New York , USA
    Posts
    407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello All,

    I am trying to place a weather script into a block on phpNuke.

    I installed version 5.0 beta 4
    http://www.test20.f2s.com/index.php

    I placed the following script into the last block on the right.
    http://www.slashnews.de/weather.txt

    The end result is suppose to look like this,
    http://www.slashnews.de/weather.php

    As you can see code is displayed.

    When I installed the same script into phpNuke version 4.4 it did a similar thing but at that time much more code was displayed.

    I am not that sharp at PHP yet. I just put the entire code into a block. Was there something else I was suppose to do???

    Any and all responses appreciated.

    WP
    Webbing Along!!!

  2. #2
    SitePoint Zealot moshe_be's Avatar
    Join Date
    Dec 2000
    Posts
    169
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to add <? at the start and ?> at the end. good luck

  3. #3
    ********* Addict WP1's Avatar
    Join Date
    Aug 2000
    Location
    New York , USA
    Posts
    407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello,

    Thanks for responding.

    When I place the script into the block the <? is at the beginning. However, when I look at the page (view source). It is missing. I just realsized this later today.

    I do not know why that is happening.

    Also, If I place the script as a left side block. It throws the entire page off.

    Can anyone explain what is happening???

    WP
    Webbing Along!!!


Bookmarks

Posting Permissions

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