/    Sign up×
Community /Pin to ProfileBookmark

Is it possible to put a "form" into an external file ??

Hey all, sorry if this was already discussed. I did a search, and read few threads, but it seems that none would apply to my particular case. Also, I know that there are numerous sources available on the Internet about this, but I would like to know exactly how should I implement it in my particular case …

Anyway, I am interested in a general and easy “technique” to put my “OPEN or GET” drop-down menu script (it’s a simple form, but wuite a huge one) into an external file. If you want to, please see this script on any of my “root-main” pages, for instance see my home-site’s [URL=http://users.volja.net/tayiper/intro.html]intro.html[/URL] page. I guess that this is not as easy as referring to my “marquee” script with the following code (see my site’s [URL=http://users.volja.net/tayiper/index.html]index.html[/URL] page):

[CODE]<script type=”text/javascript” src=”http://users.volja.net/tayiper/script/marquee.js”></script>[/CODE]

So is this even possible (to put and refer a form in/from an external file), and if it is, how exactly should I implement it in my particular case ??

tayiper

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@ray326May 15.2006 — Since you're running Apache with PHP you can use either server-side includes (SSI) or PHP's includes to insert that bit of content in every page.
×

Success!

Help @tayiper spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...