Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   Looking for something I don't know if it exists (http://www.greenguysboard.com/board/showthread.php?t=22612)

Yauhen 2005-08-02 04:57 AM

Looking for something I don't know if it exists
 
If i have like 1000 htmls and all of them contain the same table (for instance, with category links), and I want to add some new categories into this table so that the table changes on all 1000 htmls.
Do I have to change every other html from the whole thousand of them manually?
Or maybe there's some soft that can change the table in all my htmls automatically after I change only one page manually. At least I hope a program like this exists.
Any ideas?

Fonz 2005-08-02 05:21 AM

In some (most) html editors you can do a Search&Replace. So basicly you select a piece of html in one file and then enter what you want to change. These html editors usually have an option to change the selected html in every file they can find in pe. the same folder.

Macromedia Homesite is what I use as a HTML editor.

pornoTGB 2005-08-02 06:06 AM

try UltraEdit (www.ultraedit.com) my favorit editor ;-)
It has an option so you can search and replace code in all files that you have open..
Should use PHP and global includes anyways in my opinion.. same space and time

Jim 2005-08-02 06:17 AM

Yeah, almost all html editors have extended find and replace. I use acehtml and it works fine.

Yauhen 2005-08-02 08:23 AM

Thanks guys

SortLinks 2005-08-02 09:46 AM

May be I did not got the questions right, why dont use SSI
include("site-map");
?>
put the table into "site-map" upload it via ftp and enjoy.. each time you would like to change site map you should only overwrite it on server.

Maj. Stress 2005-08-02 11:50 PM

Quote:

Originally Posted by SortLinks
May be I did not got the questions right, why dont use SSI
include("site-map");
?>
put the table into "site-map" upload it via ftp and enjoy.. each time you would like to change site map you should only overwrite it on server.

I read it the same way. A virtual include is the way to go for sure |thumb


All times are GMT -4. The time now is 04:17 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc