Jump to content


Photo

image functions


  • Please log in to reply
2 replies to this topic

#1 dragongamer

dragongamer
  • Members
  • PipPip
  • Member
  • 11 posts

Posted 04 September 2006 - 11:20 AM

hi i want to load an aspx image from a another site to, my own the onlu proplem is that php will not support it, i looked at the image source code to find out
<b>Warning</b>:  imagecreatefromgif(): Circular redirect, aborting. in <b>****/weather/radimg.php</b> on line <b>6</b><br />
<br />
<b>Warning</b>:  imagecreatefromgif(http://www.meteox.com/images.aspx?jaar=-3&voor=&soort=loop3uur&c=uk&n=): failed to open stream: Success in <b>****/weather/radimg.php</b> on line <b>6</b><br />

<br />
<b>Warning</b>:  imagepng(): supplied argument is not a valid Image resource in <b>****/weather/radimg.php</b> on line <b>10</b><br />
<br />
<b>Warning</b>:  imagedestroy(): supplied argument is not a valid Image resource in <b>*****/weather/radimg.php</b> on line <b>12</b><br />

i know i can load images form other domains because i tryed the script to load another image from another site it works fine its just it wont load images that are not, gif in the end,  i know the aspx is an gif, due to the headers outputed by it so is there a work around?

#2 onlyican

onlyican
  • Members
  • PipPipPip
  • Advanced Member
  • 921 posts
  • LocationHants - UK

Posted 04 September 2006 - 11:37 AM

You want to load an ASPX?
ASPX is .NET
So the script is probs having trouble reading it
Tell me the problem, I will try tell you the solution

#3 dragongamer

dragongamer
  • Members
  • PipPip
  • Member
  • 11 posts

Posted 04 September 2006 - 11:40 AM

yes but it produces it as an image, http://www.meteox.co...oop3uur&c=uk&n=
if you view it with FF it says its a gif file.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users