Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Dynamic Signatures

Featured Replies

Just wondering how these signatures work. They say.. Your IP is: xx.xx.xx.xx etc. but they seem to be images :)

Liam


you have an image create php code. it puts text over a specified image. this is one of mine that shows which itunes song is playing.

<?php

Header ('Content-type: image/png');
Header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
Header('Expires: Thu, 19 Nov 1990 08:52:00 GMT');
Header('Pragma: no-cache');

// create the image
$nameofimage = "now-playing.jpg"; //name of image
$image = imagecreatefromjpeg($nameofimage);

// set the colours
$cool = imagecolorallocate($image, 87, 87, 87);
$black = imagecolorallocate($image, 0, 0, 0);
$white = imagecolorallocate($image, 255, 255, 255);
$red = imagecolorallocate($image, 255, 0, 0);
$grey = imagecolorallocate($image, 204, 204, 204);
$green = imagecolorallocate($image, 206, 129, 18);
$blue = imagecolorallocate($image, 0, 0, 255);

// set iTunes file (or other information)
$fname = "CurrentSong.txt";
$songfile = fopen($fname, "r");
$artist = fgets($songfile);
if($artist != " ") {
$songname = fgets($songfile);
$song = "Playing: $songname by $artist";
}
else
$song = "No music is playing";
fclose($songfile);

// set the font
$font = '/font.ttf';

// put it all together
//puts text on the image, see bellow about variables
ImageTTFText ($image, 8, 0, 9, 20, $white, $font, $song);


// output and destroy
imagepng($image);
imagedestroy($image);

?>

imageTTFText

completed script example

thx

i just wonder my self many times how does it work :)

so long

darph

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.