PHP Image Weirdness (using POST variables from Flash)

So I've got the "save" button for the sprite generator pretty much
finished:

http://www.backwater-productions.net/_test_platform/Sprite_T est/index.php

....but uh...a strange thing happens when it creates the image. It
shows the image on the screen, but when you go to save it...nada as
far as any of the imagesetpixel st00f from the imported color codes
from Flash (transferred in via post variables). If I do any
imagesetpixel st00f OUTSIDE of the imported variables then they show
up.

At first I thought it was a speed/rendering issue, so I modified the
script to wait until after it had done all the calculation and pixel
color setting before it set the file header and such...but it didn't
work.

So I'm wondering if maybe it's just a bug in PHP regarding the use of
post variables or if there's something else I'm missing...I would use
get variables, but there's too much data and it crashes and says the
URI is too long.

It should also be noted that I originally tried to have it post the
variables to the same page itself rather than an external page,
however the problem with that is that the file header was already set
so if you tried to save the image it would have the all the original
HTML crap in it and wouldn't work...BUT...the saved images were WELL
over 500 bytes and seemed reflective of the actual nature of the image
data, so I think in that case it DID work, it's just the file header
was fubar and I don't know if there's anyway to rewrite it when there
are post variables involved.

I suppose one method I could try is using post variables to the same
page, but then rather than display the image in itself at that point,
I could have it launch another PHP file when it's done and send the
final image to that PHP file/script using get variables...not sure as
to the nature of the process though...presumably though the amount of
data for the completed PHP encoded image would be smaller than the raw
pixel RGB values.

Any thoughts on this? Or am I asking questions that are out of
everyone's league again (at least in A26...I dunno about the regs of
alt.php or alt.macromedia.flash)?

PS - To the fuckwits like Stevie, I have SPECIFIC reasons for xposting
to froups like ADG, mostly because there are SPECIFIC regs like Spacey
(Space Girl) who are like me in that they have a WIDE range of
expertise that spans into ALL web technologies...and coincidentally
the peeps like that are usually the ones with the knowledge and
understanding to answer my questions.

--

Onideus Mad Hatter
mhm ¹ x ¹
http://www.backwater-productions.net
http://www.backwater-productions.net/hatter-blog


Hatter Quotes
-------------
"You're only one of the best if you're striving to become one of the
best."

"I didn't make reality, Sunshine, I just verbally bitch slapped you
with it."

"I'm not a professional, I'm an artist."

"Your Usenet blinders are my best friend."

"Usenet Filters - Learn to shut yourself the fuck up!"

"Drugs killed Jesus you know...oh wait, no, that was the Jews, my
bad."

"There are clingy things in the grass...burrs 'n such...mmmm..."

"The more I learn the more I'm killing my idols."

"Is it wrong to incur and then use the hate ridden, vengeful stupidity
of complete strangers in random Usenet froups to further my art?"

"Freedom is only a concept, like race it's merely a social construct
that doesn't really exist outside of your ability to convince others
of its relevancy."

"Next time slow up a lil, then maybe you won't jump the gun and start
creamin yer panties before it's time to pop the champagne proper."

"Reality is directly proportionate to how creative you are."

"People are pretty fucking high on themselves if they think that
they're just born with a soul. *snicker*...yeah, like they're just
givin em out for free."

"Quible, quible said the Hare. Quite a lot of quibling...everywhere.
So the Hare took a long stare and decided at best, to leave the rest,
to their merry little mess."

"There's a difference between 'bad' and 'so earth shatteringly
horrible it makes the angels scream in terror as they violently rip
their heads off, their blood spraying into the faces of a thousand
sweet innocent horrified children, who will forever have the terrible
images burned into their tiny little minds'."

"How sad that you're such a poor judge of style that you can't even
properly gauge the artistic worth of your own efforts."

"Those who record history are those who control history."

"I am the living embodiment of hell itself in all its tormentive rage,
endless suffering, unfathomable pain and unending horror...but you
don't get sent to me...I come for you."

"Ideally in a fight I'd want a BGM-109A with a W80 250 kiloton
tactical thermonuclear fusion based war head."

"Tell me, would you describe yourself more as a process or a
function?"

"Apparently this group has got the market cornered on stupid.
Intelligence is down 137 points across the board and the forecast
indicates an increase in Webtv users."

"Is my .sig delimiter broken? Really? You're sure? Awww,
gee...that's too bad...for YOU!" `, )
Onideus Mad Hatter [ Mo, 15 Januar 2007 06:10 ] [ ID #1596019 ]

Re: PHP Image Weirdness (using POST variables from Flash)

"Onideus Mad Hatter" <usenet [at] backwater-productions.net> wrote in message
news:ku1mq2has0ntvfvl3c154shd3cb3omdkj0 [at] 4ax.com...
>
> I tinkle my diaper, *tee hee*
>
John Smith [ Mo, 15 Januar 2007 06:58 ] [ ID #1596022 ]

Re: PHP Image Weirdness (using POST variables from Flash)

On Mon, 15 Jan 2007 05:58:44 GMT, "MindBrain" <someone [at] microsoft.com>
wrote:

> I tinkle my diaper, *tee hee*

That's great, Dribbles...really.

*sigh*

It's lonely up here at the top...looking down at all the diaper
dribblers like "MindBrain"...sometimes I wonder why they even continue
to exist...I mean it's not like they're doing anything or producing
anything. They're just sort of...perpetuating pointlessness...wasting
oxygen...

Oh well, I should get to working on stuff that the vast majority in
these froups can't even remotely come close to comprehending.

--

Onideus Mad Hatter
mhm ¹ x ¹
http://www.backwater-productions.net
http://www.backwater-productions.net/hatter-blog


Hatter Quotes
-------------
"You're only one of the best if you're striving to become one of the
best."

"I didn't make reality, Sunshine, I just verbally bitch slapped you
with it."

"I'm not a professional, I'm an artist."

"Your Usenet blinders are my best friend."

"Usenet Filters - Learn to shut yourself the fuck up!"

"Drugs killed Jesus you know...oh wait, no, that was the Jews, my
bad."

"There are clingy things in the grass...burrs 'n such...mmmm..."

"The more I learn the more I'm killing my idols."

"Is it wrong to incur and then use the hate ridden, vengeful stupidity
of complete strangers in random Usenet froups to further my art?"

"Freedom is only a concept, like race it's merely a social construct
that doesn't really exist outside of your ability to convince others
of its relevancy."

"Next time slow up a lil, then maybe you won't jump the gun and start
creamin yer panties before it's time to pop the champagne proper."

"Reality is directly proportionate to how creative you are."

"People are pretty fucking high on themselves if they think that
they're just born with a soul. *snicker*...yeah, like they're just
givin em out for free."

"Quible, quible said the Hare. Quite a lot of quibling...everywhere.
So the Hare took a long stare and decided at best, to leave the rest,
to their merry little mess."

"There's a difference between 'bad' and 'so earth shatteringly
horrible it makes the angels scream in terror as they violently rip
their heads off, their blood spraying into the faces of a thousand
sweet innocent horrified children, who will forever have the terrible
images burned into their tiny little minds'."

"How sad that you're such a poor judge of style that you can't even
properly gauge the artistic worth of your own efforts."

"Those who record history are those who control history."

"I am the living embodiment of hell itself in all its tormentive rage,
endless suffering, unfathomable pain and unending horror...but you
don't get sent to me...I come for you."

"Ideally in a fight I'd want a BGM-109A with a W80 250 kiloton
tactical thermonuclear fusion based war head."

"Tell me, would you describe yourself more as a process or a
function?"

"Apparently this group has got the market cornered on stupid.
Intelligence is down 137 points across the board and the forecast
indicates an increase in Webtv users."

"Is my .sig delimiter broken? Really? You're sure? Awww,
gee...that's too bad...for YOU!" `, )
Onideus Mad Hatter [ Mo, 15 Januar 2007 07:03 ] [ ID #1596023 ]

Re: PHP Image Weirdness (using POST variables from Flash)

"MindBrain" <someone [at] microsoft.com> wrote in message
news:oKEqh.20050$yC5.10738 [at] newssvr27.news.prodigy.net...
|
| "Onideus Mad Hatter" <usenet [at] backwater-productions.net> wrote in message
| news:ku1mq2has0ntvfvl3c154shd3cb3omdkj0 [at] 4ax.com...
| >
| > I tinkle my diaper, *tee hee*
| >

why does this idiot keep posting php and flash questions to alt.2600? plus
were he so 'l33t', he'd be able to figure something so simple out. and, if
he were logical, he'd be able to debug his shit and identify his problem.
imo, the problem is that HE is trying to program it.
Steve [ Mo, 15 Januar 2007 16:45 ] [ ID #1596036 ]

Re: PHP Image Weirdness (using POST variables from Flash)

On 15 Jan 2007 I stormed the castle called alt.2600 and heard Steve cry
out in news:bkNqh.29$aW6.3 [at] newsfe06.lga...

>
> "MindBrain" <someone [at] microsoft.com> wrote in message
> news:oKEqh.20050$yC5.10738 [at] newssvr27.news.prodigy.net...
>|
>| "Onideus Mad Hatter" <usenet [at] backwater-productions.net> wrote in
>| message news:ku1mq2has0ntvfvl3c154shd3cb3omdkj0 [at] 4ax.com...
>| >
>| > I tinkle my diaper, *tee hee*
>| >
>
> why does this idiot keep posting php and flash questions to alt.2600?

Why do you care - it's not your group and you don't post here with any
regularity. If you did, you'd know that PHP questions are frequently
asked and answered in here.



> plus were he so 'l33t', he'd be able to figure something so simple
> out. and, if he were logical, he'd be able to debug his shit and
> identify his problem. imo, the problem is that HE is trying to program
> it.
>
>
>



--
ThePsyko
Public Enemy #7
ThePsyko [ Di, 16 Januar 2007 20:13 ] [ ID #1597320 ]

Re: PHP Image Weirdness (using POST variables from Flash)

On Tue, 16 Jan 2007 19:13:20 +0000, ThePsyko got out the hammer and chisel
and etched in the wall:

> On 15 Jan 2007 I stormed the castle called alt.2600 and heard Steve cry
> out in news:bkNqh.29$aW6.3 [at] newsfe06.lga...
>
>>
>> "MindBrain" <someone [at] microsoft.com> wrote in message
>> news:oKEqh.20050$yC5.10738 [at] newssvr27.news.prodigy.net...
>>|
>>| "Onideus Mad Hatter" <usenet [at] backwater-productions.net> wrote in
>>| message news:ku1mq2has0ntvfvl3c154shd3cb3omdkj0 [at] 4ax.com...
>>| >
>>| > I tinkle my diaper, *tee hee*
>>| >
>>
>> why does this idiot keep posting php and flash questions to alt.2600?
>
> Why do you care - it's not your group and you don't post here with any
> regularity. If you did, you'd know that PHP questions are frequently
> asked and answered in here.
>

He/she/it was looking for more information on gerbils and proper
insertion techniques.

--
kai - theperfectreign [at] yahoo.com
www.perfectreign.com || www.4thedadz.com
www.filesite.org || www.donutmonster.com

linux - because friends don't let friends use windows
PerfectReign [ Di, 16 Januar 2007 22:48 ] [ ID #1597344 ]

Re: PHP Image Weirdness (using POST variables from Flash)

On 16 Jan 2007 I stormed the castle called alt.2600 and heard
PerfectReign cry out in news:514vhnF1ibnohU2 [at] mid.individual.net...

> On Tue, 16 Jan 2007 19:13:20 +0000, ThePsyko got out the hammer and
> chisel and etched in the wall:
>
>> On 15 Jan 2007 I stormed the castle called alt.2600 and heard Steve
>> cry out in news:bkNqh.29$aW6.3 [at] newsfe06.lga...
>>
>>>
>>> "MindBrain" <someone [at] microsoft.com> wrote in message
>>> news:oKEqh.20050$yC5.10738 [at] newssvr27.news.prodigy.net...
>>>|
>>>| "Onideus Mad Hatter" <usenet [at] backwater-productions.net> wrote in
>>>| message news:ku1mq2has0ntvfvl3c154shd3cb3omdkj0 [at] 4ax.com...
>>>| >
>>>| > I tinkle my diaper, *tee hee*
>>>| >
>>>
>>> why does this idiot keep posting php and flash questions to
>>> alt.2600?
>>
>> Why do you care - it's not your group and you don't post here with
>> any regularity. If you did, you'd know that PHP questions are
>> frequently asked and answered in here.
>>
>
> He/she/it was looking for more information on gerbils and proper
> insertion techniques.
>

lol.. it's always amusing to watch these clowns, isn't it?

--
ThePsyko
Public Enemy #7
ThePsyko [ Mi, 17 Januar 2007 00:36 ] [ ID #1597358 ]

Re: PHP Image Weirdness (using POST variables from Flash)

ThePsyko tossed the following at the wall, and it stuck:

> On 16 Jan 2007 I stormed the castle called alt.2600 and heard
> PerfectReign cry out in news:514vhnF1ibnohU2 [at] mid.individual.net...
>
>> On Tue, 16 Jan 2007 19:13:20 +0000, ThePsyko got out the hammer and
>> chisel and etched in the wall:
>>
>>> On 15 Jan 2007 I stormed the castle called alt.2600 and heard Steve
>>> cry out in news:bkNqh.29$aW6.3 [at] newsfe06.lga...
>>>
>>>>
>>>> "MindBrain" <someone [at] microsoft.com> wrote in message
>>>> news:oKEqh.20050$yC5.10738 [at] newssvr27.news.prodigy.net...
>>>>|
>>>>| "Onideus Mad Hatter" <usenet [at] backwater-productions.net> wrote in
>>>>| message news:ku1mq2has0ntvfvl3c154shd3cb3omdkj0 [at] 4ax.com...
>>>>| >
>>>>| > I tinkle my diaper, *tee hee*
>>>>| >
>>>>
>>>> why does this idiot keep posting php and flash questions to
>>>> alt.2600?
>>>
>>> Why do you care - it's not your group and you don't post here with
>>> any regularity. If you did, you'd know that PHP questions are
>>> frequently asked and answered in here.
>>>
>>
>> He/she/it was looking for more information on gerbils and proper
>> insertion techniques.
>>
>
> lol.. it's always amusing to watch these clowns, isn't it?
>
And we all know squirrels (and duct tape) are the answer.
;-)
--
Q: What's tiny and yellow and very, very, dangerous?
A: A canary with the super-user password.

Froz...
FrozenNorth [ Mi, 17 Januar 2007 00:44 ] [ ID #1597361 ]

Re: PHP Image Weirdness (using POST variables from Flash)

On 16 Jan 2007 I stormed the castle called alt.2600 and heard FrozenNorth
cry out in news:3916737.UtNxrYZhmM [at] frozennorth.to...

> ThePsyko tossed the following at the wall, and it stuck:
>
>> On 16 Jan 2007 I stormed the castle called alt.2600 and heard
>> PerfectReign cry out in news:514vhnF1ibnohU2 [at] mid.individual.net...
>>
>>> On Tue, 16 Jan 2007 19:13:20 +0000, ThePsyko got out the hammer and
>>> chisel and etched in the wall:
>>>
>>>> On 15 Jan 2007 I stormed the castle called alt.2600 and heard Steve
>>>> cry out in news:bkNqh.29$aW6.3 [at] newsfe06.lga...
>>>>
>>>>>
>>>>> "MindBrain" <someone [at] microsoft.com> wrote in message
>>>>> news:oKEqh.20050$yC5.10738 [at] newssvr27.news.prodigy.net...
>>>>>|
>>>>>| "Onideus Mad Hatter" <usenet [at] backwater-productions.net> wrote in
>>>>>| message news:ku1mq2has0ntvfvl3c154shd3cb3omdkj0 [at] 4ax.com...
>>>>>| >
>>>>>| > I tinkle my diaper, *tee hee*
>>>>>| >
>>>>>
>>>>> why does this idiot keep posting php and flash questions to
>>>>> alt.2600?
>>>>
>>>> Why do you care - it's not your group and you don't post here with
>>>> any regularity. If you did, you'd know that PHP questions are
>>>> frequently asked and answered in here.
>>>>
>>>
>>> He/she/it was looking for more information on gerbils and proper
>>> insertion techniques.
>>>
>>
>> lol.. it's always amusing to watch these clowns, isn't it?
>>
> And we all know squirrels (and duct tape) are the answer.
> ;-)

and beer!

--
ThePsyko
Public Enemy #7
ThePsyko [ Mi, 17 Januar 2007 01:03 ] [ ID #1597365 ]

Re: PHP Image Weirdness (using POST variables from Flash)

On Wed, 17 Jan 2007 00:03:12 +0000, ThePsyko got out the hammer and chisel
and etched in the wall:

> On 16 Jan 2007 I stormed the castle called alt.2600 and heard FrozenNorth
> cry out in news:3916737.UtNxrYZhmM [at] frozennorth.to...
>
>> ThePsyko tossed the following at the wall, and it stuck:
>>
>>> On 16 Jan 2007 I stormed the castle called alt.2600 and heard
>>> PerfectReign cry out in news:514vhnF1ibnohU2 [at] mid.individual.net...
>>>
>>>> On Tue, 16 Jan 2007 19:13:20 +0000, ThePsyko got out the hammer and
>>>> chisel and etched in the wall:
>>>>
>>>>> On 15 Jan 2007 I stormed the castle called alt.2600 and heard Steve
>>>>> cry out in news:bkNqh.29$aW6.3 [at] newsfe06.lga...
>>>>>
>>>>>>
>>>>>> "MindBrain" <someone [at] microsoft.com> wrote in message
>>>>>> news:oKEqh.20050$yC5.10738 [at] newssvr27.news.prodigy.net...
>>>>>>|
>>>>>>| "Onideus Mad Hatter" <usenet [at] backwater-productions.net> wrote in
>>>>>>| message news:ku1mq2has0ntvfvl3c154shd3cb3omdkj0 [at] 4ax.com...
>>>>>>| >
>>>>>>| > I tinkle my diaper, *tee hee*
>>>>>>| >
>>>>>>
>>>>>> why does this idiot keep posting php and flash questions to
>>>>>> alt.2600?
>>>>>
>>>>> Why do you care - it's not your group and you don't post here with
>>>>> any regularity. If you did, you'd know that PHP questions are
>>>>> frequently asked and answered in here.
>>>>>
>>>>
>>>> He/she/it was looking for more information on gerbils and proper
>>>> insertion techniques.
>>>>
>>>
>>> lol.. it's always amusing to watch these clowns, isn't it?
>>>
>> And we all know squirrels (and duct tape) are the answer.
>> ;-)
>
> and beer!
>

Mmm...getting the warm fuzzies now....

squirrels, duct tape, beer....

....next you're gonna be mentioning wet t-shirts!


--
kai - theperfectreign [at] yahoo.com
www.perfectreign.com || www.4thedadz.com
www.filesite.org || www.donutmonster.com

linux - because friends don't let friends use windows
PerfectReign [ Mi, 17 Januar 2007 16:44 ] [ ID #1598886 ]

Re: PHP Image Weirdness (using POST variables from Flash)

On 17 Jan 2007 I stormed the castle called alt.2600 and heard
PerfectReign cry out in news:516ujhF1iuj9gU1 [at] mid.individual.net...

> On Wed, 17 Jan 2007 00:03:12 +0000, ThePsyko got out the hammer and
> chisel and etched in the wall:
>
>> On 16 Jan 2007 I stormed the castle called alt.2600 and heard
>> FrozenNorth cry out in news:3916737.UtNxrYZhmM [at] frozennorth.to...
>>
>>> ThePsyko tossed the following at the wall, and it stuck:
>>>
>>>> On 16 Jan 2007 I stormed the castle called alt.2600 and heard
>>>> PerfectReign cry out in news:514vhnF1ibnohU2 [at] mid.individual.net...
>>>>
>>>>> On Tue, 16 Jan 2007 19:13:20 +0000, ThePsyko got out the hammer
>>>>> and chisel and etched in the wall:
>>>>>
>>>>>> On 15 Jan 2007 I stormed the castle called alt.2600 and heard
>>>>>> Steve cry out in news:bkNqh.29$aW6.3 [at] newsfe06.lga...
>>>>>>
>>>>>>>
>>>>>>> "MindBrain" <someone [at] microsoft.com> wrote in message
>>>>>>> news:oKEqh.20050$yC5.10738 [at] newssvr27.news.prodigy.net...
>>>>>>>|
>>>>>>>| "Onideus Mad Hatter" <usenet [at] backwater-productions.net> wrote
>>>>>>>| in message news:ku1mq2has0ntvfvl3c154shd3cb3omdkj0 [at] 4ax.com...
>>>>>>>| >
>>>>>>>| > I tinkle my diaper, *tee hee*
>>>>>>>| >
>>>>>>>
>>>>>>> why does this idiot keep posting php and flash questions to
>>>>>>> alt.2600?
>>>>>>
>>>>>> Why do you care - it's not your group and you don't post here
>>>>>> with any regularity. If you did, you'd know that PHP questions
>>>>>> are frequently asked and answered in here.
>>>>>>
>>>>>
>>>>> He/she/it was looking for more information on gerbils and proper
>>>>> insertion techniques.
>>>>>
>>>>
>>>> lol.. it's always amusing to watch these clowns, isn't it?
>>>>
>>> And we all know squirrels (and duct tape) are the answer.
>>> ;-)
>>
>> and beer!
>>
>
> Mmm...getting the warm fuzzies now....
>
> squirrels, duct tape, beer....
>
> ...next you're gonna be mentioning wet t-shirts!
>
>

and boobies!

--
ThePsyko
Public Enemy #7
ThePsyko [ Mi, 17 Januar 2007 17:08 ] [ ID #1598887 ]
PHP » alt.php » PHP Image Weirdness (using POST variables from Flash)

Vorheriges Thema: Re: Pingy: Spacey Gurl
Nächstes Thema: Download a file once