• 0

putting asp results in neowin signature


Question

i have an asp page that takes input from a text file, and also an image on the web server, and returns results similar to this:

<table><tr><td><img src="http://(mysite)/image.jpg"></td><td>text from file</td></tr></table>

what i need to do is to put this into a signature on neowin. anyone have any ideas?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

can you give me an example of php? maybe i can get an idea of how to do it by looking at php code, even though i know very little php.

Link to comment
Share on other sites

  • 0

<?php

$smallimage = ImageCreateFromJPEG("yourimage.jpg");

$image = ImageCreateTrueColor($width, $height);

ImageCopy($smallimage, $image, 0, 0, 0, 0, $small_width, $small_height, $small_width, $small_height);

ImageFTText($image, 11, 0, $small_width+10, 10, 0, "font", implode("", file("yourtext.txt")));

ImageJPEG($image);

?>

something like that. didn't check whether it works, just quickly written down about how it would work ;)

lots of documentation is here: http://www.php.net/manual/en/ref.image.php

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.