Boat Drinks  

Go Back   Boat Drinks > General > Computer and Consoles

Reply
 
Thread Tools Display Modes
Old 08-01-2007, 15:14   #21
Mark
Screaming Orgasm
 
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
Default

Yup, I believe so. PHP is a whole language with lots of overheads. SSI is pretty simple (and built into the web server).

It used to be the case many years ago that SSI performance sucked, but I've been reassured that isn't the case now.
Mark is offline   Reply With Quote
Old 08-01-2007, 16:04   #22
Admiral Huddy
HOMO-Sapien
 
Admiral Huddy's Avatar
 
Join Date: Jun 2006
Location: Chelmsford
Posts: 6,692
Default

Mark, the line of code I quoted above, is that correct because it comes out as a comment line?

ps - stop changing your name - you know I'm easily confussed
__________________

I just got lost in thought.. It was very unfamiliar territory.
Techie Talk | My gaming Blog | PC spec | The Admirals log
Admiral Huddy is offline   Reply With Quote
Old 08-01-2007, 16:17   #23
Davey_Pitch
I iz speshul
 
Davey_Pitch's Avatar
 
Join Date: Jun 2006
Location: Liverpool
Posts: 6,296
Default

At a guess I'd remove the

<!--

and

-->

__________________

Our deepest fear is not that we are inadequate. Our deepest fear is that we are powerful beyond measure. It is our light, not our darkness, that most frightens us. Your playing small does not serve the world. There is nothing enlightened about shrinking so that other people won't feel insecure around you. We are all meant to shine as children do. It's not just in some of us; it is in everyone. And as we let our own lights shine, we unconsciously give other people permission to do the same. As we are liberated from our own fear, our presence automatically liberates others.
Davey_Pitch is offline   Reply With Quote
Old 08-01-2007, 16:17   #24
Mark
Screaming Orgasm
 
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
Default

New name is temporary until I can think up a new moniker. I'm tired of all the old ones. Too much baggage in one case, too long in another, and the others were only for the holidays anyway.

And yes, as far as I can tell, the code you used was correct, and (for Davey's benefit), that's including the <!-- and -->.
Mark is offline   Reply With Quote
Old 08-01-2007, 17:42   #25
kaiowas
The Stig
 
kaiowas's Avatar
 
Join Date: Jul 2006
Location: Fightertown USA
Posts: 1,458
Default

The SSI is handled by the server and the line of code replaced with the file to be included before the browser interprets the HTML. As a result the fact that it shares the same syntax as an HTML comment is irrelvant. It's probably done that way so that if the SSI fails for any reason and the include instruction is passed to the browser it'll then see that as a comment and ignore it.
__________________

Anal Fish Porn
kaiowas is offline   Reply With Quote
Old 08-01-2007, 17:55   #26
Welshy
Long Island Iced Tea
 
Join Date: Dec 2006
Location: Beds / Staffs
Posts: 218
Default

Quote:
Originally Posted by Admiral Huddy View Post
Welsy - Report to my cabin for a spanking!
oo eer sailer!
__________________
Welshy is offline   Reply With Quote
Old 08-01-2007, 18:15   #27
Mark
Screaming Orgasm
 
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
Default

No, in other words, the comment tags are required.

SSI won't work without them.
Mark is offline   Reply With Quote
Old 08-01-2007, 18:16   #28
Davey_Pitch
I iz speshul
 
Davey_Pitch's Avatar
 
Join Date: Jun 2006
Location: Liverpool
Posts: 6,296
Default

Quote:
Originally Posted by Mark View Post
No, in other words, the comment tags are required.

SSI won't work without them.
Aye, I realised that and deleted my post.
__________________

Our deepest fear is not that we are inadequate. Our deepest fear is that we are powerful beyond measure. It is our light, not our darkness, that most frightens us. Your playing small does not serve the world. There is nothing enlightened about shrinking so that other people won't feel insecure around you. We are all meant to shine as children do. It's not just in some of us; it is in everyone. And as we let our own lights shine, we unconsciously give other people permission to do the same. As we are liberated from our own fear, our presence automatically liberates others.
Davey_Pitch is offline   Reply With Quote
Old 12-01-2007, 10:52   #29
Admiral Huddy
HOMO-Sapien
 
Admiral Huddy's Avatar
 
Join Date: Jun 2006
Location: Chelmsford
Posts: 6,692
Default

Yay - it works

http://www.admiralcomputers.co.uk/test2.shtml

I've noticed, quite obviously thinking about it, that the "include" actually copies in the code from the html code rather than calls it as a seperate procedure.

I can now make a quick fix to the other pages without the hassle of dupilcating all that damn code.

EDIT - Does any one know how I can make the table semi-tranparent?
__________________

I just got lost in thought.. It was very unfamiliar territory.
Techie Talk | My gaming Blog | PC spec | The Admirals log

Last edited by Admiral Huddy; 12-01-2007 at 10:54.
Admiral Huddy is offline   Reply With Quote
Old 12-01-2007, 15:02   #30
kaiowas
The Stig
 
kaiowas's Avatar
 
Join Date: Jul 2006
Location: Fightertown USA
Posts: 1,458
Default

I seem to recall that IE can't deal with transparency properly so it's generally best not to bother.
__________________

Anal Fish Porn
kaiowas is offline   Reply With Quote
Reply

Thread Tools
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
Forum Jump


All times are GMT +1. The time now is 20:05.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.