Customising Someone Elses HTML?
Customising Someone Elses HTML?
Author
Discussion

stevieb

Original Poster:

5,253 posts

290 months

Monday 2nd February 2004
quotequote all


I know you can get DNS stuff from laods of servers on the net, but one thing that has got me thinking over the past few days

1) where can you get an automatic request for the DNS info

2) how can you autpmatically save it as a jpg

or am i being short sighted

Steve

judas

6,207 posts

282 months

Monday 2nd February 2004
quotequote all
All that kind of cleverness is done server-side before the HTML page is generated. There will be some kind of application that is called by the CGI script used to generate the page. It does all the DNS lookup and then writes out a JPG file with the information in it, and then passes back the file information to the CGI script so it can add it as a graphic in the HTML page.

Or something like that.

_DJ_

5,047 posts

277 months

Monday 2nd February 2004
quotequote all
Why do you need a DNS lookup - the web server knows your IP address and the version of the browser you're running; when the browser issues a page request it includes the version of the browser so the server can customise content.
As mentioned earlier, it's then just a case of running a script on the server to generate the JPG.