|  | Posted by sam on 04/13/06 19:33 
Simon wrote:> "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
 >
 thats the odd thing, i don't get any errors. if i use a normal .jpg it
 works fine, when i replace 'whatever.jpg' with 'rotate.php' the browser
 just outputs the http address (eg http://wwww.site.com/resize.php) and
 the source of the page is completely blank.
 
 sam
 [Back to original message] |