You are here: Re: Combining scripts « All PHP « IT news, forums, messages
Re: Combining scripts

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация