Computing.Net > Forums > Programming > [PHP]partial ionclude

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

[PHP]partial ionclude

Reply to Message Icon

Name: Johanovitch
Date: January 30, 2004 at 03:11:28 Pacific
OS: SuSE 8
CPU/Ram: 366/112
Comment:

Hello, I need to inlude a part of a website into another page.
Via google, I found this page:

a script from phpfreaks.com

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



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: [PHP]partial ionclude

:PHP:{FigureThisOut} www.computing.net/answers/programming/phpfigurethisout/3809.html

PHP Parse Errror - Can you see it? www.computing.net/answers/programming/php-parse-errror-can-you-see-it/7947.html

Php + encrypted password www.computing.net/answers/programming/php-encrypted-password/8305.html