Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

include function 1

Status
Not open for further replies.

SPYDERIX

Technical User
Jan 11, 2002
1,899
CA
Hi,

I am wondering if you can use the inclue() function to call a page in and include it the same way that SSI calls pages in.

Can anything like that be done?

Thanks!
relax.gif

 
a) Try it and find out, that's the easy way.
b) Try looking at some example code somewhere.
c) The function's not called include for nothing.
 
Yes, you can.
But if you include("b.php") in a.php, though the content is b.php, the addr is still a.php.
you can use header("location:b.php") to change whole content and addr.
you can go to to read some detail info.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top