Inserting Code Into Uploaded Content

Need technical advice on coding your web pages? Covers HTML, JavaScript, CSS, and some server side technologies. Also the issue of some webpages not displayed well.

Moderator: Don_HH2K

Inserting Code Into Uploaded Content

Postby Ron Williams » Tue 13 Dec, 2005 1:54 am

I am curious regarding how to upload content to a server and have HTML automatically inserted into the uploaded files (if they are HTML).

So say you upload.
a.html and it contains

happy went to dance


the server would automatically insert code making a.html become

happy went to dance

[server side inserted content]
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
User avatar
Ron Williams
BANNED
BANNED
 
Posts: 845
Joined: Tue 25 Nov, 2003 9:47 am
Location: Cambridge, Maryland

Postby Don_HH2K » Tue 13 Dec, 2005 6:46 am

Apache Simple Headers/Footers Rotator looks like it may suit your needs.
UserAgent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux 2.6.11-1.1369_FC4; X11; i686; en_US) KHTML/3.4.0 (like Gecko)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm


Return to Web Design and Page Coding

Who is online

Registered users: Antony, Google [Bot], Majestic-12 [Bot]