Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 01-30-2004, 06:32 PM   #11
Baseband Member
 
andrewuk's Avatar
 
Join Date: Jan 2004
Posts: 48
Default Re: Shared elements on html page

You could use a frame like system where the menu is called using an include!
__________________

__________________
Andrew
ComputerForums.org
----------------------------------
300GB Hard Disk
512MB DDR2 nVIDIA GeForce 7300 Graphics Card
2048MB RAM
Pentium D 3.2GHz (Dual-Core) Processor
Soundblaster Audigy 4 Sound Card
16 x DVD ROM
Sony Dual Layer DVD Re-Wrighter with Lightscribe
andrewuk is offline   Reply With Quote
Old 01-30-2004, 07:18 PM   #12
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: Shared elements on html page

Yes that would work well too.
__________________

__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 01-31-2004, 12:13 AM   #13
Solid State Member
 
Join Date: Jan 2004
Posts: 7
Default Re: Shared elements on html page

Well, I've been banging away at this and cant produce the results you mentioned. I have a file named "hello.htm" and the contents are as follows:

<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello</p>'; ?>
</body>
</html>


And all I get is a syntax error popup in IE when I view the page, but if i give that same file a php extension it works fine. Is there something I'm doing wrong here?
mims1979 is offline   Reply With Quote
Old 01-31-2004, 04:44 AM   #14
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: Shared elements on html page

Is the PHP code being pased so you can still view it in IE? You host may not allow you to do this for some reason. You may have to contact them about it.
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 01-31-2004, 11:52 AM   #15
Solid State Member
 
Join Date: Jan 2004
Posts: 7
Default Re: Shared elements on html page

Yes, that is what I get when I view source on the pages as well. What config changes need to be done? My hosting company uses Win2k.
mims1979 is offline   Reply With Quote
Old 01-31-2004, 02:42 PM   #16
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: Shared elements on html page

If they run apache just change the 'AddType' application/x-httpd-php .php .html to include what ever extensions you want.
__________________

__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 04:15 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0