473,387 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Include code?

Chrisjc
375 256MB
Besides the <-- include# "page.html" -->

useing server side

is there anything else that dosnt use server side?
Jul 3 '07 #1
11 1618
drhowarddrfine
7,435 Expert 4TB
Don't understand the question.
Jul 3 '07 #2
Chrisjc
375 256MB
Don't understand the question.
as in an include page code. In html..

Not using server side.

Because my host will not enable it. For whatever reason I am unaware of.

as of right now I am using a php include

<?php include ('page.php') ; ?>

works but it has to be live to be able to see the edits I do.. and its just a pain in my ass while getting my CSS to be the way That I would like it to be.
Jul 3 '07 #3
drhowarddrfine
7,435 Expert 4TB
If I understand you correctly, html and css are not executed on the server side, nor are images or anything else. Only program code which I'm surprised he lets you run PHP if he won't let you use includes.
Jul 3 '07 #4
Chrisjc
375 256MB
If I understand you correctly, html and css are not executed on the server side, nor are images or anything else. Only program code which I'm surprised he lets you run PHP if he won't let you use includes.

When I speak of server side this is what I am speaking of..

http://www.netmechanic.com/news/vol2/server_no8.htm

I tryed that code but it wont work.. besides I don't like it.. I used some kind of INCLUDE way back in the day and I can't seem to recall it or find it... I figured someone on here might know some differnt ways in coming about this... If not.. The PHP is working fine and I am more fimiliar with it anyways.
Jul 3 '07 #5
Eepē
14
How about an Iframe? But what I don't like about them is that they can't inherit the parent frame's colors (background, text, link, etc).
Jul 5 '07 #6
Chrisjc
375 256MB
How about an Iframe? But what I don't like about them is that they can't inherit the parent frame's colors (background, text, link, etc).

Yeah I used to use those.. but its like you said.. plus more. so no that wont work.. I just wish I could remeber the code I used 3 years ago.. it was just a simple Include... and I can not find it for the life of me...

oh well the php will work....
Jul 6 '07 #7
Eepē
14
Yeah I used to use those.. but its like you said.. plus more. so no that wont work.. I just wish I could remeber the code I used 3 years ago.. it was just a simple Include... and I can not find it for the life of me...

oh well the php will work....
Perhaps a client-side include that uses javascript?
Jul 7 '07 #8
Chrisjc
375 256MB
Perhaps a client-side include that uses javascript?

Hmm Close but still not it.. Oh well its okay guys the php is fine..

Thanks for the help though If I happen to find the old Code I used way back when I will let you all know.
Jul 9 '07 #9
Besides the <-- include# "page.html" -->

useing server side

is there anything else that dosnt use server side?

If what you're saying is that you want to include code like <a href="http://www.website.com"> and actually HAVE that show up instead of a link...That's easy.

Instead of using normal web brackets... such as < >, replace those with
&lt which makes < and &gt which makes >

That way, < > will show up....but so will your code, since you're not actually writing code.
Jul 15 '07 #10
Eepē
14
If what you're saying is that you want to include code like <a href="http://www.website.com"> and actually HAVE that show up instead of a link...That's easy.

Instead of using normal web brackets... such as < >, replace those with
&lt which makes < and &gt which makes >

That way, < > will show up....but so will your code, since you're not actually writing code.
That's not what he's asking--read the 2nd reply in this thread...
Jul 15 '07 #11
Chrisjc
375 256MB
Thanks "Eep"

Its okay Like I said the php will do now but he is right..

I am lookin to add in a page... with in a page... but keeping it all HTML

I had a code for it back in the day... I can't seem to find it.. plus about a month a go I lost all my HDs in a FIRE.. sooo I have no work all the way from 1999...

sadly.. but I guess you could call me a pack rat.. of all work I have done...
Jul 16 '07 #12

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: mescaline | last post by:
Hi, Suppose a_file.cpp contains a function a_function() Now to include it in main_file.cpp I just do #include "a_file.cpp" and I'm all set. i recently came across this seemingly roundabout...
6
by: Simon Elliott | last post by:
(Note: this is a real C++ question and not an MS Windows question. The window handle I introduce is just an example of OS specific data, which I've used to illustrate my question.) I have some...
28
by: Ramesh | last post by:
Hi, I am currently maintaining a legacy code with a very very large code base. I am facing problems with C/C++ files having a lot of un-necessary #includes. On an average every C/C++ file has...
6
by: atv | last post by:
Alright, i have some questions concerning include files en global variables.I hope someone is willing to answer these. 1).Why is it that if i define a global variable in a file, say main.c, and...
5
by: David Mathog | last post by:
One thing that can make porting C code from one platform to another miserable is #include. In particular, the need to either place the path to an included file within the #include statement or to...
11
by: MBS | last post by:
I am playing around with some PHP code. I want to put in an include() function so I can include existing HTML code and output it to the browser. Lo and behold PHP does not support relative paths...
14
by: Jon Rea | last post by:
I am currently cleaning up an application which was origainlly hashed together with speed of coding in mind and therefore contains quite a few "hacky" shortcuts. As part of this "revamping"...
3
by: sunnylele | last post by:
Hi, all, I have a question on the use of #include: #include <unistd.h> #include <asm/unistd.h> #include "nn.h" What are the differences between the above three usages? It seems the third...
7
by: Bill Pursell | last post by:
I read recently (can't remember if it was on this group or elsewhere) that it is a bad idea to write a header file this way: #ifndef FOO_HDR #define FOO_HDR 1 #include <stdio.h> int...
2
by: key9 | last post by:
Hi all look at the organize tree main.c ------ #include lib_adapter.c main() { foo();
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.