Forum Moderators: coopster

Message Too Old, No Replies

How is it done - Image with browser details on signature

Question regarding how an image get details

         

kenchix1

3:37 am on Feb 14, 2008 (gmt 0)

10+ Year Member



I've seen several forum signature where an image displays details such as the browser type and the ip address of the user. I'm really curious how is it done. What I wanted to accomplish is instead of displaying the IP address and browser type, I'd like to display random quotations coming from my database. Then I'll use it as a signature to other forums.

I'm not sure if this is the right forum, if not please move my thread to proper forum.

Thanks. :)

kenchix1

3:40 am on Feb 14, 2008 (gmt 0)

10+ Year Member



BTW, I saw it at Danasoft.

jatar_k

2:04 pm on Feb 14, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I assume it is an include, probably js, so more likely a script tag

coopster

3:54 pm on Feb 16, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Getting text from the visitor is as simple as pulling values from the corresponding PHP superglobals [php.net]. Then, you can either overlay it using markup or if you truly want to embed it in the image you can use the PHP Image Functions [php.net] to write the information on the image.