Author |
Message |
Amailer
![](http://compsci.ca/wiki/images/1/19/Avatar.jpg)
|
Posted: Sat Sep 06, 2003 9:19 pm Post subject: GD...w/e! HELP! |
|
|
code: |
<?php
header ("Content-type: image/png");
$im = @imagecreatetruecolor (50, 100)
or die ("Cannot Initialize new GD image stream");
$text_color = imagecolorallocate ($im, 233, 14, 91);
imagestring ($im, 1, 5, 5, "A Simple Text String", $text_color);
imagepng ($im);
imagedestroy ($im);
?>
|
Error:
code: |
The image "http://termix-zero.ath.cx/scripts/GD.php" cannot be displayed, because it contains errors.
|
Or in other words (IE) broken link.
WHY!
HELP!
[script from php.net]
-- http://termix-zero.ath.cx/scripts/GD.php ---
See whats wrong :S!
PHP VERSION: 4.3.3 (w/e the latest is)
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
|
|
|
![](images/spacer.gif) |
octopi
![](http://compsci.ca/v3/uploads/user_avatars/1246682444a1aa25749124.gif)
|
Posted: Sun Sep 07, 2003 1:07 am Post subject: (No subject) |
|
|
You don't have gd installed.
IE does support png's, except for transparent ones, which it shows the transparent part as grey. (50/50 w/b)
|
|
|
|
|
![](images/spacer.gif) |
Asok
![](http://www.battle.net/war3/images/neutral/units/animations/pandarenbrewmaster.gif)
|
Posted: Sun Sep 07, 2003 1:25 am Post subject: (No subject) |
|
|
.php extention is not an image extention
|
|
|
|
|
![](images/spacer.gif) |
Blade
|
Posted: Sun Sep 07, 2003 3:03 am Post subject: (No subject) |
|
|
no, but you can create images with php....
http://avatar.dblade.sytes.net/test.php
.... meh its nothing right now, but i'm learning how to do fractals..
its alot like octopi's avatar... his is a perl script
|
|
|
|
|
![](images/spacer.gif) |
Amailer
![](http://compsci.ca/wiki/images/1/19/Avatar.jpg)
|
Posted: Sun Sep 07, 2003 6:31 am Post subject: (No subject) |
|
|
where can i get it to install it?
Or it is in the php.ini or some dll???idk!
|
|
|
|
|
![](images/spacer.gif) |
octopi
![](http://compsci.ca/v3/uploads/user_avatars/1246682444a1aa25749124.gif)
|
Posted: Sun Sep 07, 2003 7:08 am Post subject: (No subject) |
|
|
remove the ';' from the line in your php.ini file that looks similar to below
extention=*gd*.dll
I don't know the specific name...but it can't be too hard to find.
Make sure you have the proper dll in the folder.
|
|
|
|
|
![](images/spacer.gif) |
Amailer
![](http://compsci.ca/wiki/images/1/19/Avatar.jpg)
|
Posted: Sun Sep 07, 2003 7:59 am Post subject: (No subject) |
|
|
SAYS MODULE NOT FOUND!!! AHAHAH!
extension=php_gd.dll
ahha grr help!
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
octopi
![](http://compsci.ca/v3/uploads/user_avatars/1246682444a1aa25749124.gif)
|
Posted: Sun Sep 07, 2003 1:50 pm Post subject: (No subject) |
|
|
Make sure the php_gd.dll is in the extention_dir, and make sure you have the file....if you don't find one that is compatible with your version of php, or else you will get insane errors.
|
|
|
|
|
![](images/spacer.gif) |
Amailer
![](http://compsci.ca/wiki/images/1/19/Avatar.jpg)
|
Posted: Sun Sep 07, 2003 2:24 pm Post subject: (No subject) |
|
|
rit..lets find that dir brb
Err no such dir..where is that dir suppose to be?
and i don't havee the php_gd.dll or w/e
|
|
|
|
|
![](images/spacer.gif) |
Homer_simpson
![](http://compsci.ca/v3/uploads/user_avatars/18138546704b4d2a3b2e50e.gif)
|
Posted: Sun Sep 07, 2003 3:59 pm Post subject: (No subject) |
|
|
here u go
Description: |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
php_gd.zip |
Filesize: |
159.4 KB |
Downloaded: |
377 Time(s) |
|
|
|
|
|
![](images/spacer.gif) |
Amailer
![](http://compsci.ca/wiki/images/1/19/Avatar.jpg)
|
Posted: Sun Sep 07, 2003 4:09 pm Post subject: (No subject) |
|
|
, thanks dude.
Now the extensions dir..where does that have to be in?
|
|
|
|
|
![](images/spacer.gif) |
Amailer
![](http://compsci.ca/wiki/images/1/19/Avatar.jpg)
|
Posted: Sun Sep 07, 2003 4:13 pm Post subject: (No subject) |
|
|
ERROR!
|
|
|
|
|
![](images/spacer.gif) |
octopi
![](http://compsci.ca/v3/uploads/user_avatars/1246682444a1aa25749124.gif)
|
Posted: Sun Sep 07, 2003 6:31 pm Post subject: (No subject) |
|
|
Seriously, does no one listen?
octopi wrote: Make sure the php_gd.dll is in the extention_dir, and make sure you have the file....if you don't find one that is compatible with your version of php, or else you will get insane errors.
|
|
|
|
|
![](images/spacer.gif) |
Amailer
![](http://compsci.ca/wiki/images/1/19/Avatar.jpg)
|
Posted: Sun Sep 07, 2003 6:56 pm Post subject: (No subject) |
|
|
No hehe j/k
Ok, i need 1 for v4.3.3!
Where can i get it?
|
|
|
|
|
![](images/spacer.gif) |
|