Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
A PHP Script That Shoes Content Form Another Page
Old 07-15-2006, 09:29 AM A PHP Script That Shows Content Form Another Page
rlineker's Avatar
Extreme Talker

Posts: 153
Name: Ryan
Location: UK
Trades: 0
is there a script that allows you to show content from another page that isnt a inlineframe.

Thanks
Ryan
__________________
Directory R Us

Please login or register to view this content. Registration is FREE

Last edited by rlineker; 07-15-2006 at 09:36 AM.. Reason: A Typo
rlineker is offline
Reply With Quote
View Public Profile Visit rlineker's homepage!
 
 
Register now for full access!
Old 07-16-2006, 09:07 PM Re: A PHP Script That Shoes Content Form Another Page
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
I believe you could just use include('http://www.domain.com/page.html'); but it would also import hallt the html headers in too.
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 07-18-2006, 03:11 PM Re: A PHP Script That Shoes Content Form Another Page
mad_willsy's Avatar
Super Spam Talker

Latest Blog Post:
R&R Catering Hire Testimonial
Posts: 805
Name: Will Craig
Location: Cheltenham, Gloucestershire, UK
Trades: 0
I didn't think you could include http :S
__________________
Wont :P

Please login or register to view this content. Registration is FREE
mad_willsy is offline
Reply With Quote
View Public Profile Visit mad_willsy's homepage!
 
Old 07-18-2006, 03:28 PM Re: A PHP Script That Shoes Content Form Another Page
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
You can in PHP > 4.3.0 in which allow_url_fopen is enabled.
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 07-19-2006, 11:45 AM Re: A PHP Script That Shoes Content Form Another Page
mad_willsy's Avatar
Super Spam Talker

Latest Blog Post:
R&R Catering Hire Testimonial
Posts: 805
Name: Will Craig
Location: Cheltenham, Gloucestershire, UK
Trades: 0
does it allow you to do this with php files?
__________________
Wont :P

Please login or register to view this content. Registration is FREE
mad_willsy is offline
Reply With Quote
View Public Profile Visit mad_willsy's homepage!
 
Old 07-19-2006, 11:58 AM Re: A PHP Script That Shoes Content Form Another Page
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
Yes - but I believe it is post-server parsed. There are also other limitations, such as fopen can only open as read-only. PHP > 5 as more advantages with this feature. Check with www.php.net for details.
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 07-19-2006, 02:55 PM Re: A PHP Script That Shoes Content Form Another Page
Junior Talker

Posts: 4
Trades: 0
Get_File_Contents, then use preg_replace and destroy the HTML tags. Not exactly the easiest way to import, but it can be done ^_^, Good Luck.
L3PA is offline
Reply With Quote
View Public Profile
 
Old 07-19-2006, 09:42 PM Re: A PHP Script That Shoes Content Form Another Page
Extreme Talker

Posts: 217
Trades: 0
I just use include('page.php'); for all my stuff. Havnt encountered any problems with it yet.
Slick Nick is offline
Reply With Quote
View Public Profile
 
Old 07-21-2006, 11:05 AM Re: A PHP Script That Shoes Content Form Another Page
rlineker's Avatar
Extreme Talker

Posts: 153
Name: Ryan
Location: UK
Trades: 0
thanks fir the help peeps :-)
__________________
Directory R Us

Please login or register to view this content. Registration is FREE
rlineker is offline
Reply With Quote
View Public Profile Visit rlineker's homepage!
 
Reply     « Reply to A PHP Script That Shoes Content Form Another Page
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.40154 seconds with 12 queries