Here ye be! Thank you for the help again. I do appreciate it.
Code: Select all
<?php
header('Content-Type: image/png');
imagepng(imagecreatefrompng('images/bob.png'));
?>
DREAMHOST
Bob shows up just fine.
Code: Select all
http://www.jiggzy.com/jiggzyquick-start ... getest.php
GET /jiggzyquick-startpackage/imagetest.php HTTP/1.1
Host: http://www.jiggzy.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cache-Control: max-age=0
HTTP/1.x 200 OK
Date: Thu, 11 Jun 2009 20:30:46 GMT
Server: Apache/2.0.63 (Unix) PHP/4.4.7 mod_ssl/2.0.63 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
X-Powered-By: PHP/5.2.6
Keep-Alive: timeout=2, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: image/png
LOCALHOST
Prints the following text:
The image “http://127.0.0.1:8000/jiggzyquick-start ... getest.php” cannot be displayed, because it contains errors.
Code: Select all
http://127.0.0.1:8000/jiggzyquick-start ... getest.php
GET /jiggzyquick-startpackage/imagetest.php HTTP/1.1
Host: 127.0.0.1:8000
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: PHPSESSID=ebbc9ae7c7d5f74ed206a67871b468e7
HTTP/1.x 200 OK
X-Powered-By: PHP/5.2.5
Content-Type: image/png
Content-Length: 158
Server: Jetty(6.1.11)
----------------------------------------------------------
http://127.0.0.1:8000/jiggzyquick-start ... getest.php
GET /jiggzyquick-startpackage/imagetest.php HTTP/1.1
Host: 127.0.0.1:8000
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
Accept: image/png,image/*;q=0.8,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: PHPSESSID=ebbc9ae7c7d5f74ed206a67871b468e7
HTTP/1.x 200 OK
X-Powered-By: PHP/5.2.5
Content-Type: image/png
Content-Length: 158
Server: Jetty(6.1.11)
///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////
Code: Select all
<?php
header('Content-Type: image/png');
?>
DREAMHOST
Prints the following text:
http://www.jiggzy.com/jiggzyquick-start ... getest.php
Code: Select all
http://www.jiggzy.com/jiggzyquick-start ... getest.php
GET /jiggzyquick-startpackage/imagetest.php HTTP/1.1
Host: http://www.jiggzy.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cache-Control: max-age=0
HTTP/1.x 200 OK
Date: Thu, 11 Jun 2009 20:36:32 GMT
Server: Apache/2.0.63 (Unix) PHP/4.4.7 mod_ssl/2.0.63 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
X-Powered-By: PHP/5.2.6
Content-Length: 0
Keep-Alive: timeout=2, max=100
Connection: Keep-Alive
Content-Type: image/png
LOCALHOST
Prints the following text:
http://127.0.0.1:8000/jiggzyquick-start ... getest.php
Code: Select all
http://127.0.0.1:8000/jiggzyquick-start ... getest.php
GET /jiggzyquick-startpackage/imagetest.php HTTP/1.1
Host: 127.0.0.1:8000
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: PHPSESSID=ebbc9ae7c7d5f74ed206a67871b468e7
Cache-Control: max-age=0
HTTP/1.x 200 OK
X-Powered-By: PHP/5.2.5
Content-Type: image/png
Content-Length: 0
Server: Jetty(6.1.11)
///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////
DREAMHOST
Outputs nothing.
Code: Select all
http://www.jiggzy.com/jiggzyquick-start ... getest.php
GET /jiggzyquick-startpackage/imagetest.php HTTP/1.1
Host: http://www.jiggzy.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cache-Control: max-age=0
HTTP/1.x 200 OK
Date: Thu, 11 Jun 2009 20:45:57 GMT
Server: Apache/2.0.63 (Unix) PHP/4.4.7 mod_ssl/2.0.63 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
X-Powered-By: PHP/5.2.6
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 20
Keep-Alive: timeout=2, max=100
Connection: Keep-Alive
Content-Type: text/html
LOCALHOST
Outputs nothing.
Code: Select all
http://www.jiggzy.com/jiggzyquick-start ... getest.php
GET /jiggzyquick-startpackage/imagetest.php HTTP/1.1
Host: http://www.jiggzy.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cache-Control: max-age=0
HTTP/1.x 200 OK
Date: Thu, 11 Jun 2009 20:45:57 GMT
Server: Apache/2.0.63 (Unix) PHP/4.4.7 mod_ssl/2.0.63 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
X-Powered-By: PHP/5.2.6
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 20
Keep-Alive: timeout=2, max=100
Connection: Keep-Alive
Content-Type: text/html