LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 02-01-2018, 11:53 PM   #16
Trihexagonal
Member
 
Registered: Jul 2017
Location: Land of 1000 Nights
Distribution: FreeBSD, OpenBSD and Solaris
Posts: 165

Rep: Reputation: 113Reputation: 113

Quote:
Originally Posted by JJJCR View Post
I think this is what I need.
It is if you want the page to open in a new window.
 
Old 02-02-2018, 11:52 PM   #17
Michael Uplawski
Member
 
Registered: Dec 2015
Location: Normandy, France
Distribution: Debian buster/sid
Posts: 696
Blog Entries: 23

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
PHP and CSS were not yet born, when Server-Side Includes did what the OP wants.

Maybe if s?he inquires a little on the possibilities of the server, SSI could just be fine.
 
Old 02-03-2018, 04:10 AM   #18
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 877

Rep: Reputation: 208Reputation: 208Reputation: 208
Write it as a script say javascript like
Code:
document.write("<h1>My H1</H1>") ;
and so on
and include it in every page like:
Code:
<script src=..>
OK
 
Old 02-03-2018, 04:55 AM   #19
Michael Uplawski
Member
 
Registered: Dec 2015
Location: Normandy, France
Distribution: Debian buster/sid
Posts: 696
Blog Entries: 23

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally Posted by AnanthaP View Post
Write it as a script
I like that very much. Many possibilities and potential for evolution... and playing around. Especially, when nobody else is expected to ever take a look at the code. Or if you do not care, as I do not most of the time.
 
Old 02-03-2018, 04:59 PM   #20
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 9,696
Blog Entries: 7

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Quote:
Originally Posted by Michael Uplawski View Post
PHP and CSS were not yet born, when Server-Side Includes did what the OP wants.
both PHP and SSI had their early beginnings in 1995.
 
Old 02-05-2018, 01:20 PM   #21
Michael Uplawski
Member
 
Registered: Dec 2015
Location: Normandy, France
Distribution: Debian buster/sid
Posts: 696
Blog Entries: 23

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally Posted by ondoho View Post
both PHP and SSI had their early beginnings in 1995.
But I wrote
Quote:
PHP and CSS were not yet born, when Server-Side Includes did what the OP wants.
I do explicitly not want to talk about “Web-Applications” in the context of Server-Side Includes.

P.S.: The link that Ondoho includes above (mis-)leads to Server-Side scripting which is not SSI.

Last edited by Michael Uplawski; 02-06-2018 at 08:27 AM.
 
Old 02-05-2018, 07:12 PM   #22
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,499

Original Poster
Rep: Reputation: 259Reputation: 259Reputation: 259
Wink

Quote:
Originally Posted by AnanthaP View Post
Write it as a script say javascript like
Code:
document.write("<h1>My H1</H1>") ;
and so on
and include it in every page like:
Code:
<script src=..>
OK
Thanks for the idea, I will try what fits most and works fine. Of course, i'm not a web developer who knows the in and out of designing a page. So, my implementation will vary to what I can understand.
 
Old 02-05-2018, 07:14 PM   #23
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,499

Original Poster
Rep: Reputation: 259Reputation: 259Reputation: 259
Lightbulb

Quote:
Originally Posted by Trihexagonal View Post
It is if you want the page to open in a new window.
Nope it didn't open a new window when I tried it.
 
Old 02-07-2018, 12:27 AM   #24
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 9,696
Blog Entries: 7

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Quote:
Originally Posted by Michael Uplawski View Post
Quote:
Originally Posted by ondoho View Post
both PHP and SSI had their early beginnings in 1995.
But I wrote
Quote:
Originally Posted by Michael Uplawski View Post
PHP and CSS were not yet born, when Server-Side Includes did what the OP wants.
I do explicitly not want to talk about Web-Applications in the context of Server-Side Includes.

P.S.: The link that Ondoho includes above (mis-)leads to Server-Side scripting which is not SSI.
this is the link you added after the fact: https://en.wikipedia.org/wiki/Server_Side_Includes
it does not include any historical data, but in the very first sentence it points the reader to the article i quoted.
if you actually read the links i posted, you would see that both PHP and SSI (yes, explicitely SSI) had their beginnings in 1995.
hence your statement:
"PHP and CSS were not yet born, when Server-Side Includes did what the OP wants."
is true for CSS, but not for PHP (give or take a few months).
 
Old 02-07-2018, 12:01 PM   #25
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,078
Blog Entries: 4

Rep: Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170Reputation: 3170
"Server-side includes" died a fairly quick death when people realized that they were unnecessary – and insecure. The client must never be trusted.
 
Old 02-08-2018, 03:19 AM   #26
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,499

Original Poster
Rep: Reputation: 259Reputation: 259Reputation: 259
I didn't know about SSI, i only heard server-side and client-side.

Some events can only be handled on the client side, while the rest is on the server side.

Technology complexity.

Client must never be trusted, because it's the playground of the hackers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic web scraping question(mechanize+BeautifulSoup) methodtwo Programming 1 03-31-2014 04:27 PM
basic html question - download link to files on my webpage question Davno Linux - Server 5 12-25-2009 07:24 AM
LXer: Ideas for a Geek Ranch Web Site LXer Syndicated Linux News 0 12-09-2007 11:40 AM
Basic web-server set-up oldwordsmith Linux - Newbie 4 05-26-2006 09:09 AM
Looking for a very basic HOWTO on setting up a web server CatchFlipsidE Linux - Newbie 5 08-25-2004 01:02 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 07:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration