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, 09:10 AM
OptWizard's Avatar
OptWizard OptWizard is offline
Contributing User
SEO Chat Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: www.thesmarterbarter.com
Posts: 790 OptWizard Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 3 Days 13 h 44 m 49 sec
Reputation Power: 0
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, 10: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,453 Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level)Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level)Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level)Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level)Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 21 h 5 m 4 sec
Reputation Power: 20
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, the Original Founder of SEO Chat (this site), Google Dance Tool & some other cool stuff! Read my: Professional SEO Site or Twitter: @DarrinJWard.

Reply With Quote
  #3  
Old June 5th, 2003, 10: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, 11:29 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,453 Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level)Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level)Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level)Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level)Darrin Ward User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 21 h 5 m 4 sec
Reputation Power: 20
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, 12: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: 7
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!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

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




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek