Posted by Simon on 04/13/06 14:59
"sam" <slowcoachis@sbcglobal.net> wrote in message
news:pLg%f.65292$H71.61729@newssvr13.news.prodigy.com...
>I have two scripts that work fine separately, but together don't seem
> to. The first one is a random image rotator found here:
>
> http://alistapart.com/d/randomizer/rotate.txt
>
> the second was pulled from php.net Its the second example on the page
> below.
>
> http://www.php.net/imagecopyresampled
>
> what i'm trying to do is use rotate.php (the first one) as the input in
> the second one. the second script doesn't seem to like it though as I
> get nothing. I'm guessing it might have something to do with headers,
> but it's just a guess. Any thoughts?
>
> sam
What error(s) do you get?
Looking at the code, it looks like you are trying to send the header twice.
You will need to remove one of them.
But both are slightly different, (the content type), so it is up to you
really.
Simon
--
http://urlkick.com/
Free URL redirection service. Turns a long URL into a much shorter one.
[Back to original message]
|