Search found 6 matches

by pendulum
Wed Apr 20, 2005 2:42 pm
Forum: PHP - Code
Topic: [SOLVED] Dynamic signature
Replies: 10
Views: 456

Brilliant :) It now works perfectly, and it was indeed set to None :):):)
Thanks
by pendulum
Wed Apr 20, 2005 11:03 am
Forum: PHP - Code
Topic: [SOLVED] Dynamic signature
Replies: 10
Views: 456

Thanks it's working now :):):) I configured php with jpeg support to try your example, but still couldn't get the .jpg / .gif / .png (I tried them all) to get parsed as PHP In the end I put what you told me (the AddType thing) inside the actual httpd.conf itself and restarted Apache. It's an ok work...
by pendulum
Wed Apr 20, 2005 7:24 am
Forum: PHP - Code
Topic: [SOLVED] Dynamic signature
Replies: 10
Views: 456

I've tried with AddType just now but no go :( When I request the .gif it just says "The image cannot be loaded because it contains errors" or something, but when I rename the .gif back to .php it works fine :( I followed the tutorial at http://www.phpmix.com/index.php?page=213&t=328#Br...
by pendulum
Tue Apr 19, 2005 11:53 pm
Forum: PHP - Code
Topic: [SOLVED] Dynamic signature
Replies: 10
Views: 456

As you can see from my sig below
by pendulum
Tue Apr 19, 2005 10:55 pm
Forum: PHP - Code
Topic: [SOLVED] Dynamic signature
Replies: 10
Views: 456

But when I put

Image

It doesn't work, the whole thing just appears as plain text in the signature space. It's as if it knows it's not a valid extension (.php) for an image. I tried to trick it with thefile.php?trick=yes.jpg or something but it still won't work :(
by pendulum
Tue Apr 19, 2005 9:48 pm
Forum: PHP - Code
Topic: [SOLVED] Dynamic signature
Replies: 10
Views: 456

[SOLVED] Dynamic signature

The following code works perfectly fine: <?php header( "Content-type: image/gif" ); $im = ImageCreate( 483, 20 ); // width, height $red = ImageColorAllocate( $im, 255, 0, 0 ); $white = ImageColorAllocate( $im, 255, 255, 255 ); $upt = exec('uptime'); ImageString($im,3,3,3,$upt,$white); Imag...