|
Web design and Programming Discuss website creation and other programming topics. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
Open text from page in another page
Undoubtfully a easy question for you guys,
I have some script with a index.php, and i have a CMS for my site. That allows me to create new pages. So my question is, ho do i write in PHP the code to open the index.php mentioned before. It does have to show the whole page including the header and footer loaded by the index.php. example ( just to be sure) Page1 opens all the info that should be displayed by index.php, which is located at a different place. So what is the code i have to put in Page1? thx for the troubles in advance.
__________________
<- Sponsored by Chris Found on Youtube: Quote:
|
#2
|
||
|
<?php
include ("index.php"); ?> Or you can do some kind of Iframe. Think that is what you are talkin' about.
__________________
|
#3
|
|||
|
cheers bro, ill try that out.
"index.php" can be consisting of a full url i presume? eg "http://www.mysite.com/thing/index.php " ?
__________________
<- Sponsored by Chris Found on Youtube: Quote:
|
#4
|
||
|
include 'http://www.website/index.php';
displays the code from the included file
__________________
My Design -> http://www.killerz4hire.us.tt If you need a template or a web site set up for you email me! |
#6
|
|||
|
So...lets see the site
__________________
Quote:
|
#7
|
|||
|
still working on it, just basic stuff only at the moment. Im opening new pages when they are finished and tested.
Also the template is just plain original and boring. If you still are persisted in taking a look, press the under my posts..... Warning!!!!! site is still boring and under construction!!!!
__________________
<- Sponsored by Chris Found on Youtube: Quote:
|
#8
|
||
|
Cool
__________________
|
#9
|
||
|
cool i like OcPortal...really like the mods you've done...
|
#10
|
||
|
cooliozorz
__________________
|
#11
|
|||
|
mods? which mods... this is pure version 2.1.7. I do have beta3 lying around from version 2.5, but its suggested not to use it on a live site.
Im also Beta tester for OCP. But the design has to wait till 2.5 comes out of beta stage. Theres quite some nifty features in it.
__________________
<- Sponsored by Chris Found on Youtube: Quote:
|
#12
|
||
|
no no what i mean is what you've done to it....you intergrated it with your forum right?
|
#13
|
||
|
I like Mambo or Mamba better but it is still nice
__________________
|
#14
|
|||
|
yeah, its integrated with IPB.
Im trying to make more customizewd things in it, but that involves coding, which isnt my strongest part.
__________________
<- Sponsored by Chris Found on Youtube: Quote:
|
#15
|
||
|
Invision is a pain to make a custom login script for
__________________
|
#16
|
|||
|
OCP comes with a forum diver to make it integrated.
But i want some other goodies running on the site. But like i said be4, coding isnt my strongest thing
__________________
<- Sponsored by Chris Found on Youtube: Quote:
|
#17
|
||
|
Same here
__________________
|
#18
|
||
|
anyone tried mambo? that seems good
|
#19
|
||
|
Yeah I tried it. I thought about scrapping the site that I am coding and just use that. It kills PHPnuke
__________________
|
#20
|
||
|
yep, mambo looks great, only problem i can see is skinning it, it would be different...
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Page Name | atholon | phphq.Net Forums | 4 | 10-17-2007 09:41 AM |
Open page in another | katana*GFR* | phphq.Net Forums | 1 | 07-17-2005 01:51 PM |
Open page in sized window | General Nuisance | Web design and Programming | 1 | 05-19-2005 07:41 PM |
<Previous page 1 2 3 4 5 6 next page> script | big n00b at php | phphq.Net Forums | 4 | 03-11-2005 12:35 PM |
How to get on page 1? | jeremy | Delta Force | 0 | 01-03-2003 07:03 PM |