TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 94
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 114
  • Total: 114

PHP Article - Include function

Started by cralor, May 16, 2010, 04:19:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cralor

Hello.

I'd like to take an existing PHP script and use TinyPortal as the "shell". This fits the direct description of a PHP page. The problem is, I cannot simply copy and paste the PHP. This is a large script which connects to many other PHP pages. So, I thought I would 'include' the index.php, but this does not work.

What other choices do I have and how can this be done?

Thank you,
cralor

ZarPrime

You could try using an iframe.  Both of these articles on my test site use one to display a particular website inside the frame of the article ...
http://talesofthehavenexpanse.com/smf2test/index.php?page=talent
http://talesofthehavenexpanse.com/smf2test/index.php?page=pumpkin

ZarPrime

cralor


This website is proudly hosted on Crocweb Cloud Website Hosting.