help with include
| From: | Susan G. Long | Date: | Mon, 07 Aug 2000 17:57:57 +0000 |
| Subject: | help with include | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-10510@lists.php.net to get a copy of this message | ||
> I'm really green with PHP but I thought I would see if someone
> can help me with this problem. I have this include statment that
> works if I put it on a temporary page:
>
> I have a
> script that I want to pull into a section of a page. If I put
> this statement
> on a blank page called temp.php3 it works fine:
>
> http://www.domain.com/temp.php3
>
> <?php
> include ("http://www.domain.com/stuff/news.shtml");
> ?>
>
> If I put this in my phpslash page under one of the blocks from
> the admin interface, it shows the code in the source instead of
> pulling the page in...help???
---------------------------------
Susan G. Long
Corporate Project Manager
sysadmin@up-link.net
---------------------------------
Extra! Extra! Read All About it everyday at
http://www.up-link.net