SEO Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherSEO Scripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old June 5th, 2003, 10:10 AM
OptWizard's Avatar
OptWizard OptWizard is offline
Contributing User
SEO Chat Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: www.dadsinternetservices.com
Posts: 774 OptWizard User rank is Private First Class (20 - 50 Reputation Level)OptWizard User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 3 Days 10 h 29 m 51 sec
Reputation Power: 6
Send a message via AIM to OptWizard Send a message via MSN to OptWizard Send a message via Yahoo to OptWizard
HELLLP

Can someone please asssit me in getting a form that I have on about 5 pages. I have the form hosted on one page and want it on the rest of them?

Would an <!--Include file -- > work?

Reply With Quote
  #2  
Old June 5th, 2003, 11:04 AM
Darrin Ward's Avatar
Darrin Ward Darrin Ward is offline
Founder, SEOChat.com :)
SEO Chat Beginner (1000 - 1499 posts)
 
Join Date: Dec 2002
Location: Miami, Florida
Posts: 1,439 Darrin Ward User rank is Corporal (100 - 500 Reputation Level)Darrin Ward User rank is Corporal (100 - 500 Reputation Level)Darrin Ward User rank is Corporal (100 - 500 Reputation Level)Darrin Ward User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 17 h 5 m 20 sec
Reputation Power: 12
So, let me understand this, the form is stored in a file all by itself and you want to have the forum on multiple pages?

The easiest way would be to copy and paste the HTML code for the forum onto each page, although if you specifically wish to do it dynamically then you'll have to evaluate the circumstances

Before you can do an <!--include--> command, you'll need to be sure the pages can be "parsed" by the server. Using this command on a regular .html page will do nothing.. You need to tell the server to parse the page and look fior the include.

If using .html pages and using the Apache webserver on a Linux machine, you can add the folloing line to your .htaccess file in your root directory to force .htm & .html pages to be parsed (if your host supports it).

Code:
AddHandler server-parsed .htm .html
__________________
Darrin J. Ward, a Professional SEO Consultant and Original Founder of SEO Chat (this site), Google Dance Tool & some other cool stuff!

* Rankings Reporter - Track your Website's Keyword Rankings in Google & Yahoo.

* ChatButton - Free AJAX Chatboxes to embed onto any Webpage - super-easy copy/paste setup!.

Reply With Quote
  #3  
Old June 5th, 2003, 11:25 AM
webmaster-toolkit.com webmaster-toolkit.com is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Lancaster, UK
Posts: 20 webmaster-toolkit.com User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 8 m 56 sec
Reputation Power: 0
Quote:
to force .htm & .html pages to be parsed (if your host supports it).

Just a warning if your site is a busy site and consists mostly of .htm files, parsing all .htm files for SSI tags can slow the server down greatly - I speak from experience ;)

Reply With Quote
  #4  
Old June 5th, 2003, 12:29 PM
Darrin Ward's Avatar
Darrin Ward Darrin Ward is offline
Founder, SEOChat.com :)
SEO Chat Beginner (1000 - 1499 posts)
 
Join Date: Dec 2002
Location: Miami, Florida
Posts: 1,439 Darrin Ward User rank is Corporal (100 - 500 Reputation Level)Darrin Ward User rank is Corporal (100 - 500 Reputation Level)Darrin Ward User rank is Corporal (100 - 500 Reputation Level)Darrin Ward User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 17 h 5 m 20 sec
Reputation Power: 12
Yes it might slow down a bit, but itshouldn't slow it down all that much, so long as there are no more than 1 or 2 SSI's per page and the include files are small & don't require loads of modules to be called.

Using mod_perl would be a better choice than the default mod_cgi in cases like this (if running apache).

Reply With Quote
  #5  
Old June 5th, 2003, 01:39 PM
symetrix's Avatar
symetrix symetrix is offline
Modreator
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 194 symetrix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 20 m 15 sec
Reputation Power: 6
An effective non-SSI method is to use JavaScript includes (CSI). I know JS is a bad word aroud SEO's, but its a form and not going to be indexed anyway.

On each page:
Code:
<SCRIPT LANGUAGE="JavaScript" type="text/javascript" src="form.js"></SCRIPT>


Inside of code.js:

Code:
document.write('<br><!-- hi im html -->'
+ '<!-- line 2 -->'
+ '<!-- line 3 -->'
+ '<!-- line 4 -->');

Reply With Quote
Reply

Viewing: SEO Chat ForumsOtherSEO Scripts > HELLLP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT