Trouble Displaying Images using PHP Script

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

slade27
Forum Newbie
Posts: 21
Joined: Tue Apr 24, 2007 3:49 am

Post by slade27 »

Please someone ban me so I don't accidentally show up here again. What a bastard: Doesn't have to answer the question so he takes time out to tell me he won't help me -- then when I tell him the time I've spent, he as much as calls me a liar
slade27
Forum Newbie
Posts: 21
Joined: Tue Apr 24, 2007 3:49 am

Post by slade27 »

Get a little more specific <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span> so i can sue youp
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

slade27.. please relax. Take a walk or do something you enjoy and then come back to the problem. Your issue is caused because the correct headers are not being sent to the browser. When you send an image you do not send HTML with it.

If you search these forums you will find that this question has been answered before.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

slade27 wrote:Please someone ban me so I don't accidentally show up here again.
Wish granted.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Whoa. Talk about advice gone wrong...
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

slade27 wrote:Sorry. I though this was a forum to find help. Seems it's just a forum to have one's integrity impugned and then condescendingly told to beat it.


MOROn!@J@JN:KLE'cb,./ xcvdb ZXVçΩ
Thanks for your kind words, it really makes me want to help you....

This forum is not for help.. it's for learning... we will teach you to tools you need to figure things out yourself...

but since you're obviously lazy, we'll solve the problem for you...

http://www.alistapart.com/d/randomizer/rotate.txt <-- EVERYTHING YOU WANT IS CONTAINED WITHIN THIS SCRIPT, YOU WILL HAVE TO USE YOUR BRAIN AND FIGURE IT OUT

It was the fourth link from the top using this simple google search...

http://www.google.ca/search?q=display+an+image+with+php

Have fun, good luck, go away now
Post Reply