Go Back   Novahq.net Forum > Computers > Web design and Programming
FAQ Community Calendar Today's Posts Search

Web design and Programming Discuss website creation and other programming topics.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-17-2005, 08:03 AM
katana*GFR* is offline katana*GFR*

Join Date: May 2002
Location: North Sea
Posts: 2,421

Send a message via ICQ to katana*GFR* Send a message via MSN to katana*GFR*
RollEyes 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:
And if Newton Faulkner's voice can be described as "R&B" then Kurt Cobain must be a member of Boyz II Men.
Link here
Reply With Quote
  #2  
Old 07-17-2005, 09:33 AM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
<?php
include ("index.php");
?>

Or you can do some kind of Iframe.
Think that is what you are talkin' about.
__________________
Reply With Quote
  #3  
Old 07-17-2005, 10:31 AM
katana*GFR* is offline katana*GFR*

Join Date: May 2002
Location: North Sea
Posts: 2,421

Send a message via ICQ to katana*GFR* Send a message via MSN to katana*GFR*
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:
And if Newton Faulkner's voice can be described as "R&B" then Kurt Cobain must be a member of Boyz II Men.
Link here
Reply With Quote
  #4  
Old 07-17-2005, 12:09 PM
ziprock is offline ziprock
Registered User

Join Date: Sep 2004
Posts: 62

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!
Reply With Quote
  #5  
Old 07-17-2005, 01:49 PM
katana*GFR* is offline katana*GFR*

Join Date: May 2002
Location: North Sea
Posts: 2,421

Send a message via ICQ to katana*GFR* Send a message via MSN to katana*GFR*
ow ok thx
__________________
<- Sponsored by Chris



Found on Youtube:
Quote:
And if Newton Faulkner's voice can be described as "R&B" then Kurt Cobain must be a member of Boyz II Men.
Link here
Reply With Quote
  #6  
Old 07-17-2005, 02:25 PM
EDGE is offline EDGE
EDGE's Avatar

Join Date: Feb 2003
Location: North Carolina
Posts: 7,184

Send a message via ICQ to EDGE Send a message via AIM to EDGE Send a message via Yahoo to EDGE
So...lets see the site
__________________
Quote:
Voltaire
It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets.
Reply With Quote
  #7  
Old 07-17-2005, 03:02 PM
katana*GFR* is offline katana*GFR*

Join Date: May 2002
Location: North Sea
Posts: 2,421

Send a message via ICQ to katana*GFR* Send a message via MSN to katana*GFR*
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:
And if Newton Faulkner's voice can be described as "R&B" then Kurt Cobain must be a member of Boyz II Men.
Link here
Reply With Quote
  #8  
Old 07-17-2005, 04:31 PM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
Cool
__________________
Reply With Quote
  #9  
Old 07-19-2005, 05:48 PM
JonM is offline JonM
Registered User

Join Date: Jun 2004
Posts: 2,156

cool i like OcPortal...really like the mods you've done...
Reply With Quote
  #10  
Old 07-19-2005, 10:34 PM
Lucky is offline Lucky
Registered User

Join Date: Aug 2004
Posts: 4,705

cooliozorz
__________________
Reply With Quote
  #11  
Old 07-20-2005, 05:10 AM
katana*GFR* is offline katana*GFR*

Join Date: May 2002
Location: North Sea
Posts: 2,421

Send a message via ICQ to katana*GFR* Send a message via MSN to katana*GFR*
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:
And if Newton Faulkner's voice can be described as "R&B" then Kurt Cobain must be a member of Boyz II Men.
Link here
Reply With Quote
  #12  
Old 07-20-2005, 09:04 AM
JonM is offline JonM
Registered User

Join Date: Jun 2004
Posts: 2,156

no no what i mean is what you've done to it....you intergrated it with your forum right?
Reply With Quote
  #13  
Old 07-20-2005, 09:12 AM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
I like Mambo or Mamba better but it is still nice
__________________
Reply With Quote
  #14  
Old 07-20-2005, 09:33 AM
katana*GFR* is offline katana*GFR*

Join Date: May 2002
Location: North Sea
Posts: 2,421

Send a message via ICQ to katana*GFR* Send a message via MSN to katana*GFR*
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:
And if Newton Faulkner's voice can be described as "R&B" then Kurt Cobain must be a member of Boyz II Men.
Link here
Reply With Quote
  #15  
Old 07-20-2005, 09:37 AM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
Invision is a pain to make a custom login script for
__________________
Reply With Quote
  #16  
Old 07-20-2005, 09:58 AM
katana*GFR* is offline katana*GFR*

Join Date: May 2002
Location: North Sea
Posts: 2,421

Send a message via ICQ to katana*GFR* Send a message via MSN to katana*GFR*
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:
And if Newton Faulkner's voice can be described as "R&B" then Kurt Cobain must be a member of Boyz II Men.
Link here
Reply With Quote
  #17  
Old 07-20-2005, 10:41 AM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
Same here
__________________
Reply With Quote
  #18  
Old 07-21-2005, 04:54 AM
NaughtyPerry is offline NaughtyPerry
Banned

Join Date: Sep 2004
Posts: 1,665

anyone tried mambo? that seems good
Reply With Quote
  #19  
Old 07-21-2005, 09:36 AM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
Yeah I tried it. I thought about scrapping the site that I am coding and just use that. It kills PHPnuke
__________________
Reply With Quote
  #20  
Old 07-21-2005, 09:52 AM
NaughtyPerry is offline NaughtyPerry
Banned

Join Date: Sep 2004
Posts: 1,665

yep, mambo looks great, only problem i can see is skinning it, it would be different...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

Forum Jump

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


All times are GMT -5. The time now is 02:50 PM.




Powered by vBulletin®