Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello, I need to inlude a part of a website into another page.
Via google, I found this page:I used the script in the past, and it worked.
I didn't use it for a while, but now I wanted to use it again, but it doesn't work anymore.
I think it worked on my server when I was using suse 7.3, so maybe it's a function that doesn't work anymore in the newer version of PHP.If I use the script, It just doesn't add the content between the 2 given strings.
I modified it a bit and added an if-else structure to find out with file_exists() if it could find the specified file, and it does find the file.
So I guess there's something going wrong while reading the file.It happens not only on my own server, also on another server.
or does anybody know another way to include only a part of a page into a php-file?
any help appreciated!
Johan

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |