Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Directory Submission Service   I Sell Pagerank   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 06-02-2004, 12:49 PM   #1 (permalink)
Inactive
 
Join Date: 05-31-04
Posts: 25
iTrader: 0 / 0%
Latest Blog:
None

Mallarama is liked by many
Same Form on many pages.. how do I update 1 for all?

I'm sure this can be done many ways. Here is the issue.

on the index page is a "drop down" menu form. This form is updated on a daily basis and it's not even on the site just yet. Once we go to add the form to all the pages can the following be done?

<form> "SAMPLE"</form> is on the index.html

What do I put in the spot on the other pages to have the form show up without have to open each file in the future.

Simple HTML will do if possible. Any other suggestions would be helpful for speeding up the linkage.

Look foward to your replies and ideas.
Mallarama is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 06-02-2004, 12:57 PM   #2 (permalink)
v7n Mentor
 
hatchet's Avatar
 
Join Date: 10-11-03
Posts: 1,137
iTrader: 0 / 0%
Latest Blog:
None

hatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nice
Your best bet is to use php.. create a file with your form. Then include"formfile.php"; wherever you want the form. With html you can do shtml and include it that way. All your file extensions would need to .php or .shtml respectively.
hatchet is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-02-2004, 01:09 PM   #3 (permalink)
Inactive
 
Join Date: 05-31-04
Posts: 25
iTrader: 0 / 0%
Latest Blog:
None

Mallarama is liked by many
That was a FAST responce.. thanks!

I've been thrusted into this and I'm a cut, copy paste kinda guy. This is a great way to force-feed the brain. I'm more than happy to learn more about PHP. How does one go about changing all the HTML pages to PHP?

There are over 80 pages that this will be added too. Is there no other way to keep it in HTML and not have to rename and redo so much?
Mallarama is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-02-2004, 01:29 PM   #4 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
iTrader: 0 / 0%
Latest Blog:
A+ Certification

kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
I think their are some programs that would go through all files and look for a set string and replace with a different.. Your best bet there would be http://www.google.com/ but in the long run your best bet would be to change them all over to PHP Includes. That way when you make new pages it is easier also.. I use php includes for tons of things..
mysql connection
common functions
header files
footer files
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-02-2004, 06:02 PM   #5 (permalink)
v7n Mentor
 
hatchet's Avatar
 
Join Date: 10-11-03
Posts: 1,137
iTrader: 0 / 0%
Latest Blog:
None

hatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nice
Yep.. theSpear is right.. search for Text Replacer on google.
Have it search for whatever it is in each file and replace with <?php include "formfile.php"; ?> then change the extension to .php and you're set.
hatchet is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-02-2004, 06:32 PM   #6 (permalink)
Inactive
 
Join Date: 02-08-04
Posts: 164
iTrader: 0 / 0%
Latest Blog:
None

robert adams is liked by many
that is the key, all you have to do to change them to php files, is rename then to file.php , otherfile.php etc.
robert adams is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-02-2004, 06:36 PM   #7 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
iTrader: 0 / 0%
Latest Blog:
A+ Certification

kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
or.. change mime-types in your hosting config and make .html go to php there
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-02-2004, 06:42 PM   #8 (permalink)
v7n Mentor
 
hatchet's Avatar
 
Join Date: 10-11-03
Posts: 1,137
iTrader: 0 / 0%
Latest Blog:
None

hatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nice
That's probably the easiest way.. and it works for seo purposes also.
hatchet is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-02-2004, 06:46 PM   #9 (permalink)
Inactive
 
Join Date: 05-31-04
Posts: 25
iTrader: 0 / 0%
Latest Blog:
None

Mallarama is liked by many
Thanks everyone. I will take on the PHP and kick it's .. ahh, JAVA!

I consider this question answered and once I make it work. I will let ya know how it turned out.
Mallarama is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Form using drop-downs as links to other pages? Bobcat110 Coding Forum 3 03-28-2007 10:37 AM
Can't show non-modal form when modal form is displayed sypond Coding Forum 3 03-23-2007 08:31 AM
After update: PR 3 index and several inner PR5 pages? Forsh Google Forum 7 01-29-2007 01:42 AM
Google Search Engine Result Pages Update websiteideas Google Forum 4 05-03-2006 12:46 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 07:55 PM.
© Copyright 2008 V7 Inc