Php Include

Started by scolari March 17th, 2005 11:42 PM
  • 667 views
  • 12 replies

scolari

spriter god (yes me)

Age 34
sydney australia
Seen March 27th, 2007
Posted February 21st, 2006
781 posts
18.4 Years
ok right i have this page http://eon-community.com/new/index.php?id=exchange what i want to do is on this page include another page located at http://eon-community.com/EasyBanner/join.php how would i do this with a php include or would i have to more the easy banner folder inside the new folder (which i dont want to do but then if i have to ..)

Pazuzu

Flushing Meadows

Room 1202
Seen October 30th, 2010
Posted March 29th, 2010
5,448 posts
18.7 Years
<?php include("content/$action.php"); ?>
you call like that: index.php?action=blabla
remember to put the blabla.php file in a folder named content!
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.

scolari

spriter god (yes me)

Age 34
sydney australia
Seen March 27th, 2007
Posted February 21st, 2006
781 posts
18.4 Years
scizz for that to work i have to have the easy banenr folder inside the new folder but i dont want that (it doesnt have to be named content)
.................. Easybanner----join.php
public_html---
................. New ---------- index.php
theres a sort of diagram
Seen March 14th, 2008
Posted March 4th, 2006
576 posts
18.2 Years
hang on on that join page there is just a form what i want to do is include that form on the exchange page so in the php include would i just use a normal link? cause i didn't think you could do that
What do you mean scolari? Do you want to include a form which is in the join page. I don't get you.

~ CC
Age 62
Male
Melbourne, Australia
Seen April 26th, 2018
Posted June 9th, 2014
11,439 posts
19.7 Years

<? include("../EasyBanner/join.php"); ?>

Actually, it should be that. Folder structure Gweggyboo~ XD


"One reason why mathematics enjoys special esteem, above all other sciences, is that its laws are absolutely certain and indisputable, while those of other sciences are to some extent debatable and in constant danger of being overthrown by newly discovered facts."
Albert Einstein

"What science can there be more noble, more excellent, more useful for men, more admirably high and demonstrative than mathematics."
Benjamin Franklin

"Mathematics, rightly viewed, possesses not only truth, but supreme beauty – a beauty cold and austere, like that of sculpture, without appeal to any part of our weaker nature, without the gorgeous trappings of paintings or music, yet sublimely pure and capable of a stern perfection such as only the greatest art can show."
Bertrand Russell

avatar and signature by FoxHound

ANNOY ME AT YOUR PERIL. I am becoming increasingly tired of the unmanly elitism and closed-mindedness of certain members who shall remain unnamed.
Age 62
Male
Melbourne, Australia
Seen April 26th, 2018
Posted June 9th, 2014
11,439 posts
19.7 Years
o_O So you did work it out. Just because one is in /new and the other one is in /EasyBanner so it seems you should be able to thingy.


"One reason why mathematics enjoys special esteem, above all other sciences, is that its laws are absolutely certain and indisputable, while those of other sciences are to some extent debatable and in constant danger of being overthrown by newly discovered facts."
Albert Einstein

"What science can there be more noble, more excellent, more useful for men, more admirably high and demonstrative than mathematics."
Benjamin Franklin

"Mathematics, rightly viewed, possesses not only truth, but supreme beauty – a beauty cold and austere, like that of sculpture, without appeal to any part of our weaker nature, without the gorgeous trappings of paintings or music, yet sublimely pure and capable of a stern perfection such as only the greatest art can show."
Bertrand Russell

avatar and signature by FoxHound

ANNOY ME AT YOUR PERIL. I am becoming increasingly tired of the unmanly elitism and closed-mindedness of certain members who shall remain unnamed.