Forums
This topic is locked
Set the page title as a variable
Posted 08 Apr 2003 16:23:55
1
has voted
08 Apr 2003 16:23:55 Vince Baker posted:
For some reason I cant get my head around this one....I am creating stats for a site and I have so far got the standard server variables (script_name etc) but I also want the actual title from the page (as in <head> <title><img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle> but I cant seem to set a variable with this information in it.
Help as always greately apprciated.
Regards
Vince
Visit my home: www.chez-vince.com
VBScript | ASP | HTML | SQL | Oracle | Hosting
Replies
Replied 08 Apr 2003 18:19:48
08 Apr 2003 18:19:48 Brent Colflesh replied:
There is no server side variable containg that information - you'll need to setup a script to extract, store, and display it.
Regards,
Brent
Regards,
Brent
Replied 09 Apr 2003 08:28:50
09 Apr 2003 08:28:50 Vince Baker replied:
That was what I thought, do you have any script for doing so?
Regards
Vince
Visit my home: www.chez-vince.com
VBScript | ASP | HTML | SQL | Oracle | Hosting
Regards
Vince
Visit my home: www.chez-vince.com
VBScript | ASP | HTML | SQL | Oracle | Hosting
Replied 09 Apr 2003 16:00:13
09 Apr 2003 16:00:13 Brent Colflesh replied:
I don't have anything pre-made... I'll assume you need an ASP solution - go to aspin.com or the like & get a screen scraping script - use it to grab your pages starting at <TITLE> and ending at </TITLE>.
Regards,
Brent
Regards,
Brent